- Axes:
- child::
- attribute::
@
- descendant::
//
and.//
in a predicate - self::
.
- parent::
..
- ancestor::
- preceding-sibling::
- following-sibling::
- preceding::
- following::
- Element
- Attribute
- Document node(s)
- Comment (yes, you can XPath to your
<!-- XML comments -->
- Processing-instruction (like your Relax NG schema line)
- //node()[@type="something" ]
- //element[descendant::something/@type]