Return-Path: Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 54088 invoked from network); 10 Feb 2000 14:48:24 -0000 Received: from frontgate.intercommit.com (HELO ICITSERVER01.intercommit.nl) (195.114.230.73) by locus.apache.org with SMTP; 10 Feb 2000 14:48:24 -0000 Received: by icitserver01.intercommit.nl with Internet Mail Service (5.5.2448.0) id <1CXH32GT>; Thu, 10 Feb 2000 15:43:10 +0100 Message-ID: <61CA98C50559D2119C9C0008C74C26DE04513C@icitserver01.intercommit.nl> From: Richard Duim To: "'cocoon-users@xml.apache.org'" Subject: RE: Multiple XSL from 1 XML using DCP Date: Thu, 10 Feb 2000 15:43:09 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="iso-8859-1" Hi, I've got cocoon up and running (GREAT!!!) First thing is to start using Cocoon for serving web content. Same challenge: I have a single xml doc and an bunch of xsl's i want to apply. Depending on user action i want to apply different stylesheets, still using this 1 xml-doc Possible Sol. What i thought of was the following: write an XSP page that copies the source xml nodes and inserts the stylesheet element in the result-tree. a few ?'s: *how can i influence the processing order. i.e. xsp -> xml + xslt ->html (actually the xsp-result is reprocessed with the xslt being set in the the xsp itself) *how to use the built in xsp objects :request and the DOM Utility Class this way means no hassle with cocoon sources but using the standard functions.