Restricted Processing
If you only want to process certain children of an element, use the xsl:apply-templates element and then select the elements to be processed by their names. The following example could be used to process all the title elements to make a table of contents:
<xsl:template match="section">
<fo:block font-size="12pt">
<xsl:apply-templates select="title"/>
</fo:block>
</xsl:template>
Selection patterns can also be used in the same manner as the select value to be even more selective.