This subject is a little offtopic :) Ok I will try to return a SAX tree to C2 instead of a stream of XML. I found the following link that talks about this: http://www.aoindustries.com/docs/cocoon-1.8.2/faqs.html#faq-xspinsertxml
Now I'm not a XML shark, so I could need some help doing this. I guess I will be using this API to create a SAX tree: http://java.sun.com/xml/jaxp/dist/1.1/docs/api/, but what object should I return? What is it excactly C2 accepts as input? Is it a "javax.xml.transform.sax.SAXSource"? Please just give a few pointers :) Med venlig hilsen/Best regards Søren Neigaard System Architect ................................ Mobilethink A/S Arosgaarden Åboulevarden 23, 5.sal DK - 8000 Århus C Telefon: +45 86207800 Direct: +45 86207810 Fax: +45 86207801 Email: [EMAIL PROTECTED] Web: www.mobilethink.dk ................................ --------------------------------------------------------------------- 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]>