[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Assigning Values to Global Parameter

Subject: Re: Assigning Values to Global Parameter
From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
Date: Tue, 23 Sep 2003 22:40:13 +0200
xsl parameter immutable
"James Paul" <jpaul@xxxxxxxxxxx> wrote in message
news:F78AE312483A2A46B76BF4D2D4842A650294AB5D@xxxxxxxxxxxxxxxxxxxxxxxx
> 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.


=====
Cheers,

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





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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.