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

Re: Getting values from different templates

Subject: Re: Getting values from different templates
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 10 Jan 2006 10:40:09 GMT
getting values from email
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
________________________________________________________________________

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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

Buy Stylus Studio Now

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