[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Modify Variable value


Subject: Re: [xsl] Modify Variable value
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 26 Apr 2007 01:15:51 +0100

> I would like to know ,is there any way,I could modify the variable
> value in my XSLT?

a variable will always have the same value within a given scope,
variables that need to be passed different values as teh scope is
re-edered are called parameters and the value is passed in using
<xsl:with-param name="x" select="2"/>
which will bind $x to teh value 2 in the templates being called.

David


Current Thread