You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Echoes <ec...@free.fr> on 2000/06/06 16:00:37 UTC

Output escaping

  Hello,

 I'm using a java package inside an xsp page.
A class in the package has a method to ouput 
an XML stream describing the object. It looks
like :

 <object>
    <property1>value 1</property1>
    <property2>value 2</property2>
 </object>

 I'm trying to output it using <xsp:expr> :

 <xsp:content><xsp:expr>myObject.toXML()</xsp:expr></xsp:content>

 Unfortunately, <xsp:expr> converts < to &lt; and > to &gt;

 How can I circumvent this behavior ?

   Thanks

	Fabrice