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.
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl]Local-Global Variable help, m.core | Thread | Re: [xsl]Local-Global Variable help, Mukul Gandhi |
[xsl]Local-Global Variable help, m.core | Date | RE: [xsl]Local-Global Variable help, Colin Adams |
Month |