Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 7909 invoked by uid 500); 11 May 2003 00:27:57 -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 7892 invoked from network); 11 May 2003 00:27:57 -0000 Received: from smtp.netcabo.pt (212.113.174.9) by daedalus.apache.org with SMTP; 11 May 2003 00:27:57 -0000 Received: from duploclique.com ([81.84.19.91]) by smtp.netcabo.pt with Microsoft SMTPSVC(5.0.2195.5329); Sun, 11 May 2003 01:24:23 +0100 Received: from golias (81.84.19.91) by duploclique.com with MERCUR Mailserver (v4.02.10 Mjk4MzUtNjE0Ni0xNzE2NQ==) for ; Sun, 11 May 2003 13:25:18 +0100 Message-ID: <002a01c31754$2b624ca0$0300a8c0@golias> From: "=?ISO-8859-15?B?Sm/jbyBD6XNhcg==?=" To: References: <000801c3173e$29a1b2e0$d9784fcb@insurgentes.local> <001401c31752$2b6ac300$0300a8c0@golias> Subject: Re: How to access the querystring in XSL? Date: Sun, 11 May 2003 01:27:56 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-OriginalArrivalTime: 11 May 2003 00:24:23.0588 (UTC) FILETIME=[AC3C8E40:01C31753] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N It's working :) I was not initializing the param outside the templates... Thanks all :) Joao Cesar joaocesar@duploclique.com Computer Science Student @ Universidade de Lisboa, PORTUGAL ----- Original Message ----- From: "Jo�o C�sar" To: Sent: Sunday, May 11, 2003 1:13 AM Subject: Re: How to access the querystring in XSL? > I've used both techniques and I'm getting : > > description org.apache.cocoon.ProcessingException: Exception during > processing of file:/C:/Program Files/Apache Group/Tomcat > 4.1/webapps/cocoon/pubmed/xsl/reports.xsl: > org.apache.xml.utils.WrappedRuntimeException: Could not find variable with > the name of query > - > > In the sitemap i have: > > in components: > > src="org.apache.cocoon.transformation.TraxTransformer" pool-max="32" > pool-min="16" pool-grow="4"> > true > false > > > in pipeline: > > > > > > In the reports.xsl i have: > > > > What's wrong ? > > Thanks > > Joao Cesar > joaocesar@duploclique.com > > Computer Science Student @ Universidade de Lisboa, PORTUGAL > > -- Original Message ----- > From: "Conal Tuohy" > To: > Sent: Saturday, May 10, 2003 10:50 PM > Subject: RE: How to access the querystring in XSL? > > > > Jako Praher wrote: > > > > > Am Sam, 2003-05-10 um 20.44 schrieb Jo�o C�sar: > > > > Hi all, > > > > > > > > We're getting the querystring in the sitemap, using {request:query} > > > > but inside a XSL transformation is it possible to simply access the > > > > querystring value and put it inside a variable? > > > > > > > > > > > > > > > > > > > > Alternatively, you can pass individual parameters to your stylesheet using > > the "request-param" input module, like this: > > > > > > > > > > > > > > There are some advantages to passing parameters individually: > > 1) it better documents what parameters the xslt actually uses > > 2) the cache validity depends only the parameters you actually use > > > > Cheers > > > > Con > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org > > For additional commands, e-mail: cocoon-users-help@xml.apache.org > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org > For additional commands, e-mail: cocoon-users-help@xml.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org For additional commands, e-mail: cocoon-users-help@xml.apache.org