Please excuse my off-list response but I could help but suggest you take a look at NetKernel (www.1060.org) - I expect you're committed to using Cocoon but looking at things from another angle can sometimes offer insight.
The problem you have encountered is due to the strict linear pipeline model of cocoon. Using DPML (see http://www.1060research-server-1.co.uk/docs/1.3.0/book/xmldev/doc_guide_xml_technologies_menu_dpml.html) you could write a pipeline like such: <seq> <instr><type>generate-whatever</type> <target>var:original-xml</target> </instr> <instr><type>xslt</type> <operator>mytransform.xsl</operator> <operand>var:original-xml</operand> <target>var:transformed</target> </instr> <!-- render page with transformed xml and original for example by using xslt again --> <instr><type>xslt</type> <operator>render_page.xsl</operator> <operand>var:transformed</operand> <original>var:original-xml</original> <!-- passed to xslt as a named parameter --> <target>this:response</target> </instr> It should say that NetKernel has no struts support but has other technologies which are similarish - XRL (http://www.1060research-server-1.co.uk/docs/1.3.0/book/xmldev/doc_guide_xml_technologies_menu_xrl.html) Good luck with you development, Tony -- Tony Butterfield <[EMAIL PROTECTED]> 1060 Research --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
