This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Parameters set by user
- From: "Macaulay,Malcolm (US)" <Malcolm dot Macaulay2 at cnare dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 29 Aug 2002 17:21:08 -0500
- Subject: RE: [xsl] Parameters set by user
- Reply-to: xsl-list at lists dot mulberrytech dot com
Hi Matthias,
XSLT is just XML so you can set a parameter/variable etc by loading the XSLT into your DOM of choice, locating the <xsl:variable name="theVariableYouWantToSet" ..../> element and changing the value.
Hope that helps.
cheers
Malcolm
-----Original Message-----
From: Technik [mailto:technik@nexus-solutions.de]
Sent: Thursday, August 29, 2002 4:40 PM
To: [LIST] XSL
Subject: [xsl] Parameters set by user
Hopefully I can articulate my earlier question in a more precise way:
I was trying to find information on how to pass a parameter from the HTML
page down to the XSL, do invoke portions of the stylesheet. From what
results to me, this depends on the transforming machine used. I found
information on how to pass parameter values to XALAN via the command line.
How would this be done instead from an HTML page when using Cocoon?
Matthias
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list