Version 8.2.2
 —  X-Query Reference Guide  —

NodeType

Restrict the type of a node in a NodeTest.


Syntax

NodeType

graphics/NodeType.jpg

Top of page

Description

A NodeType is used in a NodeTest and restrict the node-set to the specified type of node. See the description to NodeTest for more details.

Top of page

Compatibility

It corresponds to the expression NodeType defined in XPath, Section 3.7, Rule 38 with the exception that the XPath definition also includes a named processing instruction which in X-Query is subsumed in the definition of NodeTest. However, this difference is of no practical relevance.

Top of page

Examples

Top of page

Related Expression

Step

Top of page