DVSL : Declarative XML Transformation and Templating

DVSL (Declarative Velocity Style Language) is a tool modeled after XSLT and is intended for general XML transformations using the Velocity Template Language as the templating language for the transformations. The key differences are that it incorporates easy access to Java objects and allows you to use the Velocity template language and it's features for expressing the transformation templates.

Similarities to XSLT

DVSL steals two of the best features of XSLT:

  • It uses a declarative syntax like XSLT.
  • Document control and selection is based on XPath.
Differences From XSLT

DVSL differs from XSLT in a few ways

  • DVSL's template language is Velocity, so conventional Velocity syntax is used to get and set data, to perform looping and flow control, etc. All features of VTL are available.
  • Because DVSL is based on Velocity, it offers a very tight binding to Java objects. This means that it's easy to access other data sources from within the DVSL stylesheet, using conventional method call syntax, allowing you to integrate, collect, and transform with and to outside data like databases, calculation libraries, etc

Current Status

DVSL is now mature and usable in production environments.

Nightly Snapshots

Nightly snapshots of the DVSL Subversion are available here.

Subversion Access

Access to the DVSL Subversion repository is available :