velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Bubna" <>
Subject Re: Converting Velocity based HTML templates to XSL/XML
Date Mon, 05 Jan 2009 21:16:51 GMT
Like Robert, i'm a bit skeptical, but if you want to try and automate
things, look into the RuntimeInstance class.  You can use the
parse(...) method to load and parse a template and get a SimpleNode
for the root of the AST.  You can then walk the tree however you like,
i think.

On Mon, Jan 5, 2009 at 12:47 PM, Mike McDonough
<> wrote:
> Hi, I'm scoping out a project that requires converting a numbe of Velocity
> HTML templates (50+) into XSL/XSLT/XML based templates. By conversion, I
> mean the templates themselves, not the rendered output. The XSL type
> templates would then be used going forward instead of Velocity.
> Are there any tools available or techniques that could be used to automate
> this task? As I've never personally used Velocity, this may be out of left
> field, but thought I would check to see what's available before I go down
> the road of doing it completely by hand.
> Thanks for your help!

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message