| Example 4 Previous Next |
| /AAA/BBB[1] |
|---|
| Select the first BBB child of element AAA |
|
<AAA> <BBB/> <BBB/> <BBB/> <BBB/> </AAA> |
| Open the example in XLab. | Tree view (PNG) |
| /AAA/BBB[last()] |
|---|
| Select the last BBB child of element AAA |
|
<AAA> <BBB/> <BBB/> <BBB/> <BBB/> </AAA> |
| Open the example in XLab. | Tree view (PNG) |