Modules | Implementer Page: dyn.closure.html 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. ImplementationsThere are currently no XSLT processors that we know of that support There are currently no third-party implementations of |
http://www.exslt.org/dyn/functions/closure/index.html last modified 2001-11-25