1<xsl:stylesheet
2  version="1.0"
3  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4  xmlns:fo="http://www.w3.org/1999/XSL/Format">
5
6<xsl:template match="title">
7  <fo:block>
8    <xsl:number level="multiple"
9                count="chapter|section|subsection"
10                format="1.1 "/>
11    <xsl:apply-templates/>
12  </fo:block>
13</xsl:template>
14
15<xsl:template match="appendix//title" priority="1">
16  <fo:block>
17    <xsl:number level="multiple"
18                count="appendix|section|subsection"
19                format="A.1 "/>
20    <xsl:apply-templates/>
21  </fo:block>
22</xsl:template>
23
24</xsl:stylesheet>
25