[xsl] nodeSet, nodeList, and $fooo/@bar

Subject: [xsl] nodeSet, nodeList, and $fooo/@bar
From: "Marty McKeever" <marty.mckeever@xxxxxxxxxx>
Date: Wed, 26 Feb 2003 20:00:27 -0500
I was trying to use xalan:node-set() one day, with errors, and on a whim
just went ahead and did
<xsl:for-each select="$foo//*[@bar]">

and to my suprise it worked.

Now i may have gone overboard.  This are getting S-L-O-W and i'm not sure

Is there any difference bewteen "x:nodeset($foo)/@bar" and "$foo/@bar"

and what are the costs of using this trick?

any optimization tips?

i still occasionally get the "Cannot convert #STRING to a NodeList" error.
Not sure why.

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

Current Thread