RE: [xsl] Parameters set by user

Subject: RE: [xsl] Parameters set by user
From: "Macaulay,Malcolm (US)" <Malcolm.Macaulay2@xxxxxxxxx>
Date: Thu, 29 Aug 2002 17:21:08 -0500
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@xxxxxxxxxxxxxxxxxx]
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


Current Thread