xalan:node-set() returns the root (document) node that is the parent of
the <tab> elements, it doesn't return the <tab> elements themselves.
Michael Kay
Software AG
home: Michael(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com
-----Original Message-----
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com] On Behalf Of
Al Byers
Sent: 07 December 2002 22:57
To: XSL-List
Subject: [xsl] nodeset namespace
If I have something like this in my stylesheet:
<xsl:variable name="formTabsFrag">
<tab title="abc" />
<tab title="efg" />
</xsl:variable>
<xsl:variable name="formTabs"
select="xalan:nodeset($formTabsFrag)"/>
then I do something like:
<xsl:for-each select="$formTabs[1]/*">
<tab>
<xsl:value-of select="@title"/>
</tab>
</xsl:for-each>
it doesn't find @title.
Why is that?
TIA
Al
Al Byers
Wasatch Automation Group, LLC
P.O. Box 1672
Orem, UT 84059
801.400.5111
byersa(_at_)automationgroups(_dot_)com http://automationgroups.com/na/wasatch
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list