Subject: RE: Assigning Values to Global Parameter
From: "Martinez, Brian" <brian.martinez@xxxxxxxxxxx>
Date: Tue, 23 Sep 2003 14:27:28 -0600
|
> From: James Paul [mailto:jpaul@xxxxxxxxxxx]
> Sent: Tuesday, September 23, 2003 1:32 PM
> Subject: Assigning Values to Global Parameter
>
>
> If I set up a global parameter and the value is blank, how do
> I assign a
> value later in my mapping? And if you can't is there a
> better way to do
> the above scenario.
VFAQ. The short answer is, you can't, at least not in the same stylesheet.
You can, however, create a stylesheet which defines global parameters and
variables, then import it into another stylesheet. Then it is possible to
override these values by re-declaring them locally.
http://www.dpawson.co.uk/xsl/sect2/N4738.html can tell you more about
xsl:import and the rules of precedence. Then bookmark the index page of
this Web site; it'll answer 90% of the questions you're likely to post here.
hth,
b.
| brian martinez brian.martinez@xxxxxxxxxxx |
| lead gui programmer 303.357.3548 |
| cheap tickets, part of trip network fax 303.357.3380 |
| 6560 greenwood plaza blvd., suite 400 englewood, co 80111 |
| cendant travel distribution services http://www.cheaptickets.com/ |
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|