Visit Mozilla.org

EXSLT:set:leading

From MDC

XSLT/XPath Reference: XSLT elements, EXSLT functions, XPath functions, XPath axes

This article covers features introduced in Firefox 3

Contents


set:leading() returns the nodes in one node-set that come before the first node in the other node-set.

[edit] Syntax

set:leading(nodeSet1, nodeSet2)

[edit] Arguments

nodeSet1
The node set to find nodes in that precede the first node in the second node set.
nodeSet2
The node set to compare against.

[edit] Returns

A node-set containing the nodes from nodeSet1 whose values precede the first node in nodeSet2.

{{Note|If the first node in nodeSet2 isn't contained in nodeSet1, an empty set is returned. If nodeSet2 is empty, then the result is nodeSet1.

[edit] Defined

EXSLT - SET:LEADING

[edit] Gecko support

Supported in Gecko 1.9 and later.