<xsl:number count="foilgroup" level="any" format="01"/>
</xsl:variable>
- <xsl:text>foilgroup</xsl:text>
+ <xsl:text>foilgrp</xsl:text>
<xsl:number value="$foilgroupnumber" format="01"/>
<xsl:value-of select="$html.ext"/>
</xsl:when>
</xsl:choose>
</xsl:template>
+<!-- ====================================================================== -->
+<!-- Handling of xrefs -->
+
+<xsl:template match="foil|foilgroup" mode="xref-to">
+ <xsl:param name="referrer"/>
+ <xsl:param name="xrefstyle"/>
+
+ <xsl:apply-templates select="." mode="object.xref.markup">
+ <xsl:with-param name="purpose" select="'xref'"/>
+ <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+ <xsl:with-param name="referrer" select="$referrer"/>
+ </xsl:apply-templates>
+</xsl:template>
+
<!-- ====================================================================== -->
<xsl:template match="@*" mode="copy">