Check if nodes satisfy conditions on the kind or name.
A NodeTest
is used in a step expression and determines kind
or name of one or more nodes. You can either specify the name or the type of
nodes.
If you specify the name, then nodes of the principal node kind for the current axis will be selected for this step. For the attribute axis, attribute nodes will be selected, for all other axes element nodes will be selected.
If you specify node()
using KindTest
, then all
nodes on the current axis will be selected. Otherwise only the nodes of that
kind, if present on the current axis, will be selected.
See KindTest and NameTest for examples.
The following construct(s) refer to this construct: