]> granicus.if.org Git - docbook-dsssl/commitdiff
Exempted titleabbrev from preamble processing in lists,
authorBob Stayton <bobs@sagehill.net>
Tue, 4 Feb 2003 17:42:04 +0000 (17:42 +0000)
committerBob Stayton <bobs@sagehill.net>
Tue, 4 Feb 2003 17:42:04 +0000 (17:42 +0000)
and fixed variablelist preamble code to use the same syntax
as the other lists.

xsl/html/lists.xsl

index ab356b567d8b3ae3e7e4e9db1d2af6f5caed8039..6ccc4dfe0f7c067f83482d5dd0b9b766109e13c1 100644 (file)
@@ -21,7 +21,9 @@
       <xsl:call-template name="formal.object.heading"/>
     </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)]"/>
 
     <ul>
       <xsl:if test="$css.decoration != 0">
       <xsl:call-template name="formal.object.heading"/>
     </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)]"/>
 
     <ol>
       <xsl:if test="$start != '1'">
 
     <xsl:choose>
       <xsl:when test="$presentation = 'table'">
-       <xsl:apply-templates select="*[not(local-name(.) = 'varlistentry')]"/>
+        <xsl:apply-templates select="*[not(self::varlistentry
+                                           or self::title
+                                           or self::titleabbrev)]"/>
         <table border="0">
           <xsl:if test="$list-width != ''">
             <xsl:attribute name="width">
         </table>
       </xsl:when>
       <xsl:otherwise>
-        <xsl:apply-templates select="*[not(local-name(.) = 'varlistentry')]"/>
+        <xsl:apply-templates select="*[not(self::varlistentry
+                                           or self::title
+                                           or self::titleabbrev)]"/>
         <dl>
           <xsl:apply-templates select="varlistentry"/>
         </dl>
   </xsl:variable>
 
   <xsl:variable name="preamble"
-                select="*[not(self::step or self::title)]"/>
+                select="*[not(self::step
+                              or self::title
+                              or self::titleabbrev)]"/>
 
   <div class="{name(.)}">
     <xsl:call-template name="anchor"/>