[xsl] Re: Assigning Values to Global Parameter

Subject: [xsl] Re: Assigning Values to Global Parameter
From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
Date: Tue, 23 Sep 2003 22:40:13 +0200
"James Paul" <jpaul@xxxxxxxxxxx> wrote in message
> If I set up a global parameter and the value is blank, how do I assign a
> value later in my mapping?

Not possible in a functional language -- by definition. An xsl:variable is
immutable -- once defined it doesn't change its value.

> And if you can't is there a better way to do
> the above scenario.

By using xsl:call-template or xsl:apply-templates and passing to them as
parameter the new value.


Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread