This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: return nodeset to xsl:variable
- To: pbell at syncsort dot com
- Subject: [xsl] Re: return nodeset to xsl:variable
- From: Dimitre Novatchev <dnovatchev at yahoo dot com>
- Date: Wed, 7 Mar 2001 21:05:48 -0800 (PST)
- Cc: xsl-list at lists dot mulberrytech dot com
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hi Paul,
Here's an example:
<xsl:variable name="myVar" select="//*[@*]"/>
As defined above, the value of the xsl:variable "myVar" is a node-set containing all elements in
the source xml document that have at least one attribute.
Hope this helped.
Dimitre Novatchev.
Paul Bell wrote:
Hi All,
I see how to set an xsl:variable by 'returning' a string from a called
template, but how do you return a node set to an xsl:variable?.
Cordially,
Paul
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list