|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: setting the variable value dynamically
> -----Original Message----- > From: Kotes Mogili > > Is it possible to set the variable value dynamically in XSLT?? If > yes , please let me know how can it be done... > Hi, What exactly do you mean by this? An xsl:variable, once created, cannot change its value within the same context. So if it's a variable global to the stylesheet, the value will remain the same throughout the entire transformation. OTOH: you can use an xsl:param, either global to the stylesheet (can be set e.g. via the command-line) or as parameter to a specific template (can be set by apply-templates/call-template accompanied by xsl:with-param). Cheers, Andreas XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








