Version: 1 Status: stable User Page: index.html XML Definition: set.trailing.xml Function Package: set.trailing.zip Function Syntaxnode-set set:trailing(node-set, node-set) Template Syntax<xsl:call-template name="set:trailing">
<xsl:with-param name="nodes" select="node-set" />
<xsl:with-param name="node" select="node-set" />
</xsl:call-template>
The set:trailing function returns the nodes in the node set passed as the first argument that follow, in document order, the first node in the node set passed as the second argument. If the first node in the second node set is not contained in the first node set, then an empty node set is returned. If the second node set is empty, then the first node set is returned.
The set:trailing template applies templates to these nodes in set:trailing mode. By default, the nodes are copied by this template, so that a result tree fragment consisting of the nodes is returned.
An implementation of this extension
function
in the EXSLT set namespace must conform to the behaviour described in this document.
Implementations
Built-in support for set:trailing is available in the following XSLT processors:
The following implementations of set:trailing are available:
Use CasesUse Case Package: set.trailing.use-cases.zip
The following use cases illustrate the functionality of set:trailing .
Change HistorySubmitted: 2001-03-28 Creator: Jeni Tennison(http://www.jenitennison.com) Returns the nodes in one node set that come after a particular node. Version | Modified | By | Details |
---|
1.1 | 2001-05-08 | Jeni Tennison | Added a description of how the template-equivalent to the function works. | 1.2 | 2001-05-22 | Jeni Tennison | - Added vendor implementations in Saxon and 4XSLT
- Changed status to stable
| 1.3 | 2001-06-11 | Jeni Tennison |
Added vendor implementation in jd.xslt.
| 1.4 | 2001-08-23 | Jeni Tennison |
Added vendor implementation in libxslt.
| 1.5 | 2002-08-20 | Craig Stewart | Added Xalan-J implementation to the list. | 1.6 | 2002-11-12 | Craig Stewart | Updated 4XSLT version to 0.12.0a3. |
CopyrightThis material is in the public domain. |