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 &lt;hello/&gt;).

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

Reply via email to