Check the kind of node.
The following construct(s) refer to this construct:
A KindTest
is one of the two forms of a
NodeTest
. In a step expression it can test the selected nodes in
the following ways:
test whether the nodes are of a specific kind:
ProcessingInstructionTest
and CommentTest
,
select the text node children (TextTest
),
test for any kind of node (AnyKindTest
),
See the pages of the respective tests for examples.