Modules | Category: example This use case shows the result of using exsl:node-set() to convert a result tree fragment to a node-set. Use CaseSource (view)<doc> <one /> <two /> <three /> <four /> </doc> Stylesheet (view)<!-- Test exslt:node-set applied to a result tree fragment -->
<xsl:variable name="tree">
<a>
<b>
<c>
<d />
</c>
</b>
</a>
</xsl:variable>
<xsl:template match="/">
<out>
<xsl:value-of select="count(exslt:node-set(//*))" />
</out>
</xsl:template>Result (view)<out xmlns:exslt="http://exslt.org/common">5</out> Change HistoryPrevious Version: ..NaN.html
|
http://www.exslt.org/exsl/functions/node-set/exsl.node-set.use-case.1.html last modified 2001-04-28