Check for any kind of node.
The following construct(s) refer to this construct:
An AnyKindTest
is one of a number of node tests that are
used in a step expression. The test node()
is true for any kind of
node.
Select all nodes:
input()/node()
This test is true for all nodes found in the documents of the current
collection. More precisely, since this query expression is equivalent to
input()/child::node
, it returns the sequence of children of
document root nodes, i.e., root element nodes, comment nodes and processing
instruction nodes.