Chris Wilkes wrote: > Figured out my problem. A Serializer takes as inputs SAX events: > http://wiki.cocoondev.org/Wiki.jsp?page=Serializer > And I wasn't giving it that, rather some straight text. The solution > was to put take my XML string and use the xsp:util logicsheet: > <util:include-expr expr="xmlString"/> > > It would be nice if I could feed it a DOM or JDOM variable and have it > do it for me, since that's what I have in the first place. Is there > such a construct?
Have you considered upgrading your XSP into a Transformer or Generator? You could extend the AbstractDOMTransformer, or just use the DOMStreamer to "stream" your DOM objects as SAX events. Rather than generate a DOM and then stream it (as SAX), you may be able to stream it as you generate it. Just a thought. Con --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
