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?. 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] xsl for each, Mike Brown | Thread | [xsl] selection for xsl:copy, Nyberg, Marcus |
[xsl] xsl for each, Carmelo Montanez | Date | Re: [xsl] Displaying grid of elemen, Jeni Tennison |
Month |