Leszek Gawron wrote:
Leszek Gawron wrote:

Daniel Fagerstrom wrote:

If you want to make it even simpler we could either have another instruction that parses strings to SAX, or have some attribute on jx:out for parsing the argument.


<jx:out value="${str}" xmlize="true"/> ? Almost one liner.. some users also asked about it long time ago.


or even better: <jx:out value="${str}" xmlize="true" strip-root="true"/>

xinclude has parse attribute:

  <jx:out value="${str}" parse="xml"/>

where parse is either "text" or "xml".

Vadim

Reply via email to