]> granicus.if.org Git - docbook-dsssl/commitdiff
Handles titleabbrev on itemizedlist, orderedlist, variablelist.
authorBob Stayton <bobs@sagehill.net>
Thu, 10 Jul 2003 23:34:22 +0000 (23:34 +0000)
committerBob Stayton <bobs@sagehill.net>
Thu, 10 Jul 2003 23:34:22 +0000 (23:34 +0000)
xsl/fo/lists.xsl

index e5be7cf040be19488689ecf1b8395032f0ae683d..6c991354d8c7195ad2ddc884a4cfbe531ee46a71 100644 (file)
@@ -32,7 +32,9 @@
     <xsl:apply-templates select="title" mode="list.title.mode"/>
   </xsl:if>
 
-  <xsl:apply-templates select="*[not(self::listitem or self::title)]"/>
+  <xsl:apply-templates select="*[not(self::listitem 
+                                  or self::title
+                                  or self::titleabbrev)]"/>
 
   <fo:list-block id="{$id}" xsl:use-attribute-sets="list.block.spacing"
                  provisional-label-separation="0.2em">
   <!--nop-->
 </xsl:template>
 
+<xsl:template match="itemizedlist/titleabbrev|orderedlist/titleabbrev">
+  <!--nop-->
+</xsl:template>
+
+<xsl:template match="variablelist/titleabbrev" mode="vl.as.list">
+  <!--nop-->
+</xsl:template>
+
+<xsl:template match="variablelist/titleabbrev" mode="vl.as.blocks">
+  <!--nop-->
+</xsl:template>
+
 <xsl:template match="itemizedlist/listitem">
   <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
 
     <xsl:apply-templates select="title" mode="list.title.mode"/>
   </xsl:if>
 
-  <xsl:apply-templates select="*[not(self::listitem or self::title)]"/>
+  <xsl:apply-templates select="*[not(self::listitem 
+                                  or self::title
+                                  or self::titleabbrev)]"/>
 
   <fo:list-block id="{$id}" xsl:use-attribute-sets="list.block.spacing"
                  provisional-label-separation="0.2em">