Support \'xml\' attribute for JSP tag
Generates text that depends on changing data (like dynamic HTML).
Brought to you by:
revusky
The FreeMarker JSP tag is great but it would be very
powerful to be able to easily add an xml content source
to the context. For example:
<fm:template xml="foo/books.xml">
${xml.doc.book.title}
</fm:template>
This would allow a very easy to to transform things
like RSS feeds. There are XSL tags for this but the
syntax of FM is much cleaner & simpler.
Logged In: NO
But that's possible, just it is not the task of the template to
load data, since it's an MVC centric engine. The XML
document should be put into the data model before the
template is invoked. But if that's not good, you can still write a
TemplateTransfromModel that implements a such tag, and
dropt that into the data model.
As per above, it's solvable with custom directive, and is certainly not a core functionality, so I close this as rejected.