Path: blob/main/files/en-us/web/exslt/set/trailing/index.md
6546 views
------{{XSLTRef}}{{QuickLinksWithSubpages("/en-US/docs/Web/EXSLT")}}
set:trailing() returns the nodes in one node-set that come after the first node in the other node-set.
Syntax
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.
Returns
A node-set containing the nodes from nodeSet1 whose values follow the first node in nodeSet2.
Note: If the first node in
nodeSet2isn't contained innodeSet1, an empty set is returned. IfnodeSet2is empty, then the result isnodeSet1.