Re: Local-Global Variable help
> i need to create a variable in a template and call it in another > template how it can be done? variables have scope determined by the element in which they were bound so in particular if it is bound on one template it can not be used in another. > 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 Clearly you don't need a variable (as variables can not be used to pass information between templates). Perhaps you want to use a parameter and pass it when calling apply-templates, but it is hard to know without any information. David
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format