Hi,

StringXMLizable is a good starting point. Your missing a root element
for xml parsing.

in flow script try:

var mytext = 'an html <b>text <i>with</i> content</b>.';

call jx with
cocoon.sendPage('my.jx',{ mytext : new
Packages.org.apache.cocoon.xml.StringXMLizable('<div>'+mytext+'</div>') });

an an your jx simply include:
${mytext}

thats all

outside of flowscript create a simple Transformer for this.

regards
Thomas



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to