Back to Content

set:trailing()

files/en-us/web/xml/exslt/reference/set/trailing/index.md

latest707 B
Original Source

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

Syntax

plain
set:trailing(nodeSet1, nodeSet2)

Parameters

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

Return value

A node-set containing the nodes from nodeSet1 whose values follow 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.

Specifications

EXSLT - SET:TRAILING