EXSLT - exsl:node-set - Version 1

Version: 1
Status: new
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.

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

Submitted: 2001-03-28
Creator: Jeni Tennison(http://www.jenitennison.com)

Turns a result-tree fragment into a node set.

Copyright

http://www.exslt.org/exsl.node-set.1.html last modified 2001-03-28