[xsl] Re: return nodeset to xsl:variable

Subject: [xsl] Re: return nodeset to xsl:variable
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Wed, 7 Mar 2001 21:05:48 -0800 (PST)
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?.



Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread