A tool to make it easy to generate XML or HTML on the fly. It uses a CSS-type syntax with a vaguely jQuery-ish API to help you generate the markup you need.
Example uses in a template: #set( $foospan = $markup.span.id($foo.id).body($foo) ) $markup.tag('table tr.bar td').body("This is $foospan") Output:
This is my first foo. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|