[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: "Martinez, Brian" <brian.martinez@xxxxxxxxxxx>
Date: Tue, 23 Sep 2003 14:27:28 -0600
html global parameter
> 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


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.