Modules | Version: 1 Function Syntaxnode-set dyn:closure(node-set, string)
The dyn:closure(., '*') returns all the descendant elements of the node (its element children, their children, their children's children and so on).
The expression is thus evaluated several times, each with a different node set acting as the context of the expression. The first time the expression is evaluated, the context node set is the first argument passed to the
The result for a particular iteration is the union of the node sets resulting from evaluting the expression for each of the nodes in the source node set for that iteration. This result is then used as the source node set for the next iteration, and so on. The result of the function as a whole is the union of the node sets generated by each iteration. If the expression string passed as the second argument is an invalid XPath expression (including an empty string) or an expression that does not return a node set, this function returns an empty node set. An implementation of this extension function in the EXSLT dyn namespace must conform to the behaviour described in this document. ImplementationsNo XSLT processors that we know of have built-in support for There are currently no third-party implementations of Change HistorySubmitted: 2001-11-25 |
http://www.exslt.org/dyn/functions/closure/dyn.closure.html last modified 2001-11-25