EXSLT - exsl:node-set - Version 2

Version: 2
Status: stable
User Page: index.html
XML Definition: exsl.node-set.xml
Function Package: exsl.node-set.zip

Function Syntax

node-set exsl:node-set(object)

The purpose of the exsl:node-set function is to convert a result tree fragment into a node set. If the argument is a node set already, it is simply returned as is. It is an error if the argument to exsl:node-set is not a node set or a result tree fragment.

An implementation of this extension function in the EXSLT exsl namespace must conform to the behaviour described in this document.

Implementations

Built-in support for exsl:node-set is available in the following XSLT processors:

ProcessorProcessor VersionImplemented Version
Fourthought Inc.0.11.12
SAXON 6.3 from Michael Kay6.32
Johannes Döbler1.0.82

There are currently no third-party implementations of exsl:node-set.

Use Cases

Use Case Package: exsl.node-set.use-cases.zip

The following use cases illustrate the functionality of exsl:node-set.

DetailsCalling StylesheetXML DataExpected ResultCategoryTemplate
1exsl.node-set.1.xslexsl.node-set.data.1.xmlexsl.node-set.result.1.xmlexampleN
2exsl.node-set.2.xslexsl.node-set.data.2.xmlexsl.node-set.result.2.xmlexampleN

Change History

Previous Version: exsl.node-set.1.html

VersionModifiedByDetails
22001-04-29Jeni Tennison

Changed treatment of strings, booleans and numbers - they are now converted to node sets rather than treated as an error.

2.12001-05-22Jeni Tennison
  • Added vendor implementations in Saxon 6.3 and 4XSLT
  • Changed status to stable
2.22001-06-02Jeni Tennison

Added vendor implementation in jd.xslt

Copyright

http://www.exslt.org/exsl/functions/node-set/exsl.node-set.2.html last modified 2001-06-02