XML technologies / XPath / XPath 2.0: language reference / Path expressions: location steps / Node tests
(Excerpt from "XSLT 2.0 & XPath 2.0" by Frank Bongers, chapter 4.)
A node test (node test) is a test expression that must evaluate to true for every node in a step’s result set; otherwise, the node is discarded. Within an axis step, this test is applied to all nodes on the specified axis.
The requirement expressed by a node test can concern a node’s name (name test) or its node kind (kind test), meaning whether it is an element, attribute, text node, etc., rather than its data type. Its type annotation (type annotation) can also be evaluated separately or additionally, for element and attribute nodes only.
Copyright © Galileo Press, Bonn 2008
You may print the online version for private use.
Otherwise, this chapter from "XSLT 2.0 & XPath 2.0 ― Das umfassende Handbuch" is subject to the same terms as the bound edition: the work and all its parts are protected by copyright. All rights reserved, including reproduction, translation, microfilming, storage and processing in electronic systems.
Galileo Press, Rheinwerkallee 4, 53227 Bonn