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="chapter/heading"> 7 <fo:block quadding="start" xsl:use-attribute-sets="title-style"> 8 <xsl:apply-templates/> 9 </fo:block> 10</xsl:template> 11 12<xsl:attribute-set name="title-style"> 13 <xsl:attribute name="font-size">12pt</xsl:attribute> 14 <xsl:attribute name="font-weight">bold</xsl:attribute> 15</xsl:attribute-set> 16</xsl:stylesheet> 17