This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: return nodeset to xsl:variable


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]