cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Markus <>
Subject Re: from wysiwyg-editor to database and/or nice html-output
Date Fri, 28 May 2010 05:42:00 GMT

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'<div>'+mytext+'</div>') });

an an your jx simply include:

thats all

outside of flowscript create a simple Transformer for this.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message