Exemple XSLT
<xsl:value-of select='ancestor::part/title'/>
<xsl:template match='chapter'> <xsl:value-of select='count(section)'/> </xsl:template>
XPath/XSLT/XSLT 5/3/2004
29/53