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 /> 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($tree)//*)" /> </out> </xsl:template> Result (view)<out xmlns:exslt="http://exslt.org/common">4</out> Change HistoryPrevious Version: ..NaN.html
|
http://www.exslt.org/exsl/functions/node-set/exsl.node-set.use-case.2.html last modified 2001-04-28