Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 5952 invoked by uid 500); 3 Jan 2003 14:33:33 -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 5904 invoked from network); 3 Jan 2003 14:33:31 -0000 Message-ID: From: Kavita Bansal To: "'cocoon-users@xml.apache.org'" Subject: Refer to request parameter in XSL Date: Fri, 3 Jan 2003 19:58:48 +0530 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C2B334.6E055FF4" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C2B334.6E055FF4 Content-Type: text/plain; charset="iso-8859-1" Hi I am trying to refer to the variables I pass in request query string in the XSL For achieving it I have done this setting in the sitemap true false I pass the request in browser as follows: http://localhost:8080/cocoon/home?name=mod2 If I refer to the parameter "name" in the XSL as $name , it gives the following exception Could not find variable with the name of mid Please tell, as to how to refer the request variable in the XSL Thanx ____________________________________________________ INTIQUA International Intelligent Solutions, Quality Execution ____________________________________________________ Note: The information and data contained in this message (and attachments) may be privileged and confidential and protected from disclosure to any party or parties apart from the intended recipient. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. ------_=_NextPart_001_01C2B334.6E055FF4 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi
 
I am = trying to refer=20 to the variables I pass in request query string in the XSL=20
 
For achieving=20 it I have done this setting in the sitemap
 
<map:transformer = logger=3D"sitemap.transformer.xslt"=20 name=3D"xslt" pool-grow=3D"2" pool-max=3D"32" pool-min=3D"8"=20 src=3D"org.apache.cocoon.transformation.TraxTransformer">
 &n= bsp;   =20 <use-request-parameters>true</use-request-parameters>
=
     =20 <use-browser-capabilities-db>false</use-browser-capabilities-db= >
   =20 </map:transformer>
 
I = pass the request=20 in browser as follows:
http://localhost:= 8080/cocoon/home?name=3Dmod2
 
If I = refer to the=20 parameter "name" in the XSL as $name , it gives the following=20 exception
Could=20 not find variable with the name of mid
 
Please tell, as=20 to how to refer the request variable in the XSL
 
Thanx

 
 

____________________________________________________

INTIQUA International =

Intelligent Solutions, Quality = Execution

____________________________________________________

Note: The information and data = contained in this message (and attachments) may be privileged and = confidential and protected from disclosure to any party or parties = apart from the intended recipient. If the reader of this message is not = the intended recipient, or an employee or agent responsible for = delivering this message to the intended recipient, you are hereby = notified that any dissemination, distribution or copying of this = communication is strictly prohibited. If you have received this = communication in error, please notify us immediately by replying to the = message and deleting it from your computer.



------_=_NextPart_001_01C2B334.6E055FF4--