There are some special functions that can be used as steps.
Function | Result |
---|---|
node() |
Matches any kind of node. |
text() |
Matches text. |
processing-instruction() |
Matches a processing-instruction. |
comment() |
Matches a comment. |
For example:
para/node()
matches all the children of a 'para' element including comments, text, and processing instructions.