I'm using cocoon 2.0.4 and having difficulties with the xsp-util:include-expr and xsp:expr tags.
I have a method in a class that returns a XML Document as a String which I want to utilize within an xsp page. However, I don't want the string to come back as text because the '<' tag (and others) will be escaped as <. I want the returned xml string to become part of the SAX stream. Originally, I was using: <xsp:logic> String testDoc = WebServiceClient.getDocument("testDoc.xml"); <content> <xsp:expr> testDoc </xsp:expr> </content> </xsp:logic> Then, I went to using: <xsp:logic> String testDoc = WebServiceClient.getDocument("testDoc.xml"); <content> <util:include-expr> <util:expr> testDoc </util:expr> </util:include-expr> </content> </xsp:logic> All this was doing was printing out XML with util:include-expr and util:expr as tags. The tag processor seems to not be processing my util namespace tags. I'm not sure what I'm doing wrong. I see from reading documentation that there was a "fix" in version 2.0.4 where <xsp-util:include-expr/> includes any object, converting it to string. The real problem is can I use XSP to get a XML Document as a String and still have it put into the SAX stream as a Node or do I need to just write my own custom generator to do this instead? Thanks in advance! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]