Details
-
Task
-
Status: To Do
-
Minor
-
Resolution: Unresolved
-
None
-
None
Description
Something requested by our Users is a simple templating mechanism to provide an easy means of generating XML.
For e.g. the template could be
<a type="#
{type}">#{value}</a>where #{type}
and #
{value} are replaced by values provided as inputs.Before implementing and designed such an activity can be carried out, there is a need to investigate and evaluate libraries that can support this, rather than writing our own. An example is Apache velocity.
Its important that it is capable of handling XML nicely, e.g if in the above example #{value}
was "<b></b>" then it should replace this as a CDATA element to prevent breaking the XML.