Sorry for the absent-minded error, and thanks for the correction; util:include-expr is what I intended to write; xsp:include-expr wouldn't work in any release of cocoon. :)
Sreedhar -----Original Message----- From: Ludovic de Beaurepaire [mailto:ludovic.debeaurepaire@;axonie.com] Sent: Thu 11/7/2002 10:02 AM To: [EMAIL PROTECTED] Cc: Subject: Re: Insert XML String in XSP Thanks a lot, It didn't work with my version of cocoon (2.0.3), but was the good way to find solution in archives : <util:include-expr> <util:expr><xsp:expr> data </xsp:expr></util:expr> </util:include-expr> Ludovic ----- Original Message ----- From: "Chintalapaty, Sreedhar " <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, November 07, 2002 1:41 PM Subject: RE: Insert XML String in XSP Perhaps you could use <xsp:include-expr> <xsp:expr>yourMethodCallHere()</xsp:expr> </xsp:include-expr> HTH, Sreedhar -----Original Message----- From: Ludovic de Beaurepaire [mailto:ludovic.debeaurepaire@;axonie.com] Sent: Thu 11/7/2002 6:12 AM To: [EMAIL PROTECTED] Cc: Subject: Insert XML String in XSP Hi All, In an XSP I want an XML String data to be parsed into the event pipeline, but if I use <xsp:expr> element, my XML data is evaluated as a String (<hello/> becomes <hello/>). I looked at XSPObjectHelper apidoc, and two methods allowed the parsing of xml datas : - xspExpr(org.xml.sax.ContentHandler contentHandler, XMLizable v) -xspExpr(org.xml.sax.ContentHandler contentHandler, org.w3c.dom.Node v) But I did not find any XMLizable extending class allowing the usage of a String, and I think that using DOM is not optimized in the cocoon architecture if my string is too long. A solution to use XMLizable (or an example for org.w3c.dom.Node) ? Thanks, Ludovic --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]> --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]> --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>
<<winmail.dat>>
--------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>