]> granicus.if.org Git - docbook-dsssl/commitdiff
Added a template for article in mode="xref-to" that is similar
authorBob Stayton <bobs@sagehill.net>
Tue, 7 May 2002 07:42:32 +0000 (07:42 +0000)
committerBob Stayton <bobs@sagehill.net>
Tue, 7 May 2002 07:42:32 +0000 (07:42 +0000)
to the one for chapter.  Now you can use <xref> with a linkend
pointing to an article.

xsl/html/xref.xsl

index 4dd219951bbb3f8189e7bfc9cec2508ceef43c60..04257c12b3de4e9c2a30e44b6ff1e0c0e0227f5f 100644 (file)
   <xsl:apply-templates select="." mode="object.xref.markup"/>
 </xsl:template>
 
+<xsl:template match="article" mode="xref-to">
+  <xsl:apply-templates select="." mode="object.xref.markup"/>
+</xsl:template>
+
 <xsl:template match="chapter" mode="xref-to">
   <xsl:apply-templates select="." mode="object.xref.markup"/>
 </xsl:template>