I have a little java program that returns a string that contains XML. In order to create a html output of it, I've used the following stuff:
<xsp:logic><![CDATA[ String s = "<foo>hello</foo>"; //of course, in real life, I call an external program that //generates s, like s = DataAccess.getLoginName.. ]]> </xsp:logic> <xsp:expr> this.xspParser.parse( new InputSource( new StringReader(s) ) ).getDocumentElement() </xsp:expr> How do I do the same stuff with cocoon 2? Yours, Marko --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>