Select the section of the third chapter of doc: |
/doc/chapter[3]/section
|
Selects all "para" grandchildren of the context: |
*/para
|
Select an a style which has svg as an ancestor: |
//svg//style
|
From the para nodes that are children of the context node
with attribute type set to main , select the third one: |
para[@type="main"][3]
|
An example for usage in XSL:
<xsl-foreach select="./*/para[@type='main'][3]">
- - -
</xsl-foreach>
26 of 91 |