xsl-list
[Top] [All Lists]

Re: [xsl] Modify Variable value

2007-04-25 17:16:11

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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>