Vadim Gritsenko wrote:
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".
what about @strip-root attribute? Is there an equivalent?

--
Leszek Gawron                                      [EMAIL PROTECTED]
IT Manager                                         MobileBox sp. z o.o.
+48 (61) 855 06 67                              http://www.mobilebox.pl
mobile: +48 (501) 720 812                       fax: +48 (61) 853 29 65

Reply via email to