XML technologies / XPath / XPath 2.0: language reference / Path expressions: location steps
(Excerpt from "XSLT 2.0 & XPath 2.0" by Frank Bongers, chapter 4.)
The steps composing a path expression locate the desired sequence and are therefore called location steps.
Each step follows one of the axes described in the preceding section. A node test (node test) is then applied to all nodes on that axis to restrict the resulting node sequence. The node test can concern the node name (NameTest) or the node kind (KindTest). The part of a location step containing the axis identifier and node test is also called an axis step. The following sections first discuss node tests and their two subgroups.
The sequence resulting from this axis step can immediately be filtered by one or more predicates. The result therefore contains nodes satisfying both the axis step and all subsequent predicate conditions.
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