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]>