Re: [xsl]Local-Global Variable help

Subject: Re: [xsl]Local-Global Variable help
From: "Mukul Gandhi" <gandhi.mukul@xxxxxxxxx>
Date: Wed, 30 Aug 2006 16:38:35 +0530
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

Mukul Gandhi

Current Thread