XPath Abbreviated Syntax
Character | Description |
---|---|
| | Expresses alternatives; for example, (emph|b) |
. | Selects the current node |
/ | Used to compose a longer pattern |
// | Matches descendants instead of children |
.. | Selects the parent of the current node |
* | Wildcard character; matches with all elements |
@ | Selects an attribute |
Get Special Edition Using XSLT now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.