Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 33031 invoked by uid 500); 18 Jul 2002 12:44:11 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 33018 invoked from network); 18 Jul 2002 12:44:11 -0000 Message-ID: From: Piroumian Konstantin To: "'cocoon-users@xml.apache.org'" Subject: RE: Modifying an xslt stylesheet before utilisation. Date: Thu, 18 Jul 2002 16:45:35 +0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="koi8-r" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > From: GB [mailto:guy.bobenrieth@neurosoft.fr] > > Dear Cocoon readers ! > > I need to transform a xslt stylesheet before using it over an > xml file. > > In fact, what I want to do is to modify the stylesheet so > that a parameter, > taken out of the http request, could be used as an xpath > string inside an > xsl:apply-templates' select attribute. > > The problem is that it isn't allowed to do that inside the > xslt directly by > using something like > > I thought of using XSP to replace the $value field by its > real value before > using this stylesheet. > > Well, I don't know how to specify the use of the a > transformed xsl as a > transfomer inside a sitemap. You two options here to solve your problem: 1) Use Xalan extension funcation: evaluate() 2) Setup a pipeline for your stylesheet transformation before applying and call it through: Konstantin > > Can you help me ??? > > Thanks a lot. > > Guy Bobenrieth > > > > > > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. > > To unsubscribe, e-mail: > For additional commands, e-mail: > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: