Hello, For a project we are working on, we are implementing our own generator, which is supposed to combine multiple input sources (XML-FS, OODB, RDB, ...) and output one XML. We started out with the generator having all XML hardcoded in our generator, so it would look like this: public void generate() throws IOException, SAXException, ProcessingException { .... // xmlConsumerAdapter calls xmlConsumer this.xmlConsumerAdapter.startNSElement("info", "title"); this.xmlConsumerAdapter.characters("MuX [" + this.parameters.getParameter("OutputType", "NULL") + "]"); this.xmlConsumerAdapter.endNSElement("info", "title"); ...and so on We then copied a part of our xml output (The part containing the navigation) and moved it to a xml file on the filesystem. No matter what way we tried to include this file however and send it to the xml consumer, no xsl transformation of any elements below the included navigation occurred. We then implemented a way of turning compents in the xml output of, so cocoon/myproject?nav=0 would simply not include the nav file, then all other elements would be transformed. Is this a bug in cocoon? (We reported it as #3057) What would be the correct to send xml code from the filesystem to xmlConsumer? Here is what we tried: 1. //nav File is a String to the existing nav file Source is = resolver.resolve(navFile); is.toSAX(this.xmlConsumer); 2. XMLReader xr = XMLReaderFactory.createXMLReader(); xr.setContentHandler(super.xmlConsumer); xr.parse(new InputSource(new FileReader(navFile))); Thanks a lot for your help! martin --------------------------------------------------------------------- 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]>