Product Specialist, LCS Series
Meyer Sound Laboratories
<xsl code snip>
<xsl:template match="chapter|sect1|sect2|sect3|sect4|sect5|section"
mode="insert.title.markup">
<xsl:param name="purpose" />
<xsl:param name="xrefstyle" />
<xsl:param name="title" />
<xsl:choose>
<xsl:when test="$purpose =
'xref'">
<fo:inline
color="#002266" font-style="italic" font-weight="bold">
<!-- This sets attributes for the title on xrefs -->
<xsl:copy-of select="$title" />
</fo:inline>
</xsl:when>
<xsl:otherwise>
<xsl:copy-of
select="$title" />
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:attribute-set name="xref.properties">
<!-- This sets attributes for the page #
on xrefs -->
<xsl:attribute
name="color">black</xsl:attribute>
<xsl:attribute
name="font-style">normal</xsl:attribute>
<xsl:attribute
name="font-weight">normal</xsl:attribute>
</xsl:attribute-set>
<xsl:param name="local.l10n.xml" select="document('')"
/>
<l:l10n language="en">
<l:context
name="xref">
<l:template
name="appendix" text="%t (p. %p)" />
<l:template
name="chapter" text="%t (p. %p)" />
<l:template
name="sect1" text="%t (p. %p)" />
<l:template
name="sect2" text="%t (p. %p)" />
<l:template
name="sect3" text="%t (p. %p)" />
<l:template
name="section" text="%t (p. %p)" />
</l:context>
</l:l10n>
</l:i18n>
</xsl code snip>