| / |
is used to match child nodes. For example,
matches all last elements that are children of
the author element (beneath the current element).
|
| |
| |
| // |
matches descendant nodes. For example,
matches any last element appearing anywhere beneath
the writers element (not just immediately under it).
|
| | |
matches several types of nodes. For example,
matches any last element and any
first element beneath the current node.
|
| . |
matches the current node.
It is useful when used with //.
For example:
matches any descendant element named first.
|
| .. |
selects the parent of the current node. For example:
matches all author sibling elements
of the current element.
|
| * |
can be used as a wildcard. For example:
matches any element that has a author parent.
|
| id() |
matches elements with a unique ID.
For example:
matches the element with unique id 0001.
|