<!-- ==================================================================== -->
-<xsl:template match="anchor">
+<xsl:template match="anchor" name="anchor">
<fo:wrapper id="{@id}"/>
</xsl:template>
<!-- ==================================================================== -->
-<xsl:template match="xref">
+<xsl:template match="xref" name="xref">
<xsl:variable name="targets" select="id(@linkend)"/>
<xsl:variable name="target" select="$targets[1]"/>
<xsl:variable name="refelem" select="local-name($target)"/>
<!-- ==================================================================== -->
-<xsl:template match="link">
+<xsl:template match="link" name="link">
<xsl:variable name="targets" select="id(@linkend)"/>
<xsl:variable name="target" select="$targets[1]"/>
</fo:basic-link>
</xsl:template>
-<xsl:template match="ulink">
+<xsl:template match="ulink" name="ulink">
<fo:basic-link external-destination="{@url}"
xsl:use-attribute-sets="xref.properties">
<xsl:choose>
</xsl:if>
</xsl:template>
-<xsl:template match="olink">
+<xsl:template match="olink" name="olink">
<xsl:apply-templates/>
</xsl:template>