Re: Getting values from different templates
The code you posted has three parameters all with default value of "" so when you use value-of you will get nothing unless you pass in some values using three <xsl:with-param elements on te hxsl:call-template. You said that you got no value displayed which presumably means that you passed in no values for these parameters (or passed in the value "") but sonce you didn't show any code it's impossible for anyone to say. It may be that you have used variables with the same name in different templates and somehow expect to see those values appear here. That never happens: the scope of a variable declaration is the element containing the xsl:variable binding and in particular variables 9and parameters) in different templates are in different scopes and totally unrelated to each other, even if they have the same name. David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________
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