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

Re: Local-Global Variable help

Subject: Re: Local-Global Variable help
From: "Mukul Gandhi" <gandhi.mukul@xxxxxxxxx>
Date: Wed, 30 Aug 2006 16:38:35 +0530
xslt variable help
Variables in XSLT behave a bit differently as compared to variables in
procedural languages (like Java or C). In XSLT, variables cannot
change state. There is only one time assignment, and nothing can be
done after that.

For your requirement, you can pass values from one template to another
as template parameters.

On 8/30/06, m.core@xxxxxxxxxxxxxxxx <m.core@xxxxxxxxxxxxxxxx> wrote:
Hi all,

i need to create a variable in a template and call it in another template how it can be done?

i need to create the variable in the first template because i put in it something that i match so i cannot simply create that variable as global

thx a lot for replies


--
Regards,
Mukul Gandhi

http://gandhimukul.tripod.com

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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

Buy Stylus Studio Now

Cast Your Vote

We need your help – Vote for DataDirect XML Products!

  • Best SOA or XML site

Winners and finalists announced at SOA World Conference in November.

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-2007 All Rights Reserved.