]> granicus.if.org Git - docbook-dsssl/commitdiff
Added names to the link templates
authorNorman Walsh <ndw@nwalsh.com>
Mon, 8 Oct 2001 11:35:30 +0000 (11:35 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Mon, 8 Oct 2001 11:35:30 +0000 (11:35 +0000)
xsl/fo/xref.xsl

index c7228500b6f32bcb61c1bf3b35100cc6a1e2bcf9..dc28457e5ede2366eb3ab4965eca40ce51b5fd19 100644 (file)
 
 <!-- ==================================================================== -->
 
-<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>