Location Path Examples
The following examples illustrate the use of location paths.
| Path | Description |
|---|---|
|
|
Select all the children of the context node, whatever their node type. |
|
|
Select the |
|
|
Select all the attributes of the context node. |
|
|
Select the |
|
|
Select all |
|
|
Select the |
|
|
Select the |
|
|
Select the context node if it is a |
|
|
Select the |
|
|
Select all |
|
|
Select the document root (which is always the parent of the document element). |
|
|
Select all the |
|
|
Select all the |
|
|
Select the first |
|
|
Select the last |
|
|
Select the next-to-last |
|
|
Select all the |
|
|
Select the forty-second |
|
|
Select the second |
|
|
Select all |
|
|
Select the fifth |
|
|
Select the fifth |
|
|
Select the |
|
|
Select the |
|
|
Select the |
|
|
Select the last |
Build Date: