i see what you are getting at and i guess you'll need to wrap your SAXSource into a XMLFragment first... but i don't really know because i cannot find anywhere xsp documentation except the little pieces of documentation for cocoon1.8.
This is pseudo code, i havent even tried to run it!!!! but it should give you an idea... <xsp:logic> public class myFragment implements XMLFragment { private SAXSource source = null; public myFragment(SAXSource source ) { this.source = source; } public void toSAX( ContentHandler handler ) { try { TransformerFactory factory = TransformerFactory.newInstance(); Transformer transformer = factory.newTransformer(); transformer.transform( this.source, new SAXResult(handler) ); } catch( Exception e ) { aaaaarrrrrggggg!!! } } } SAXSource msg = Controller.execute(); myFragment myfrag = new myFragment( msg ); </xsp:logic> <xsp:expr>myfrag</xsp:expr> mvh karl øie/gan media --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>