]> granicus.if.org Git - docbook-dsssl/commitdiff
Removed redundant lang and title attributes on list element inside
authorBob Stayton <bobs@sagehill.net>
Mon, 4 May 2009 08:01:41 +0000 (08:01 +0000)
committerBob Stayton <bobs@sagehill.net>
Mon, 4 May 2009 08:01:41 +0000 (08:01 +0000)
div element for lists.

xsl/html/lists.xsl

index 18fd7aaa4e46d73bf6878477b703783b6dda4cb2..348f09dd0fb2e43336d38ab961dd03f169aa1678 100644 (file)
@@ -31,7 +31,7 @@
                 |processing-instruction()[not(preceding-sibling::listitem)]"/>
 
     <ul>
-      <xsl:call-template name="common.html.attributes"/>
+      <xsl:call-template name="generate.class.attribute"/>
       <xsl:if test="$css.decoration != 0">
         <xsl:attribute name="type">
           <xsl:call-template name="list.itemsymbol"/>
     <xsl:choose>
       <xsl:when test="@inheritnum='inherit' and ancestor::listitem[parent::orderedlist]">
         <table border="0">
-          <xsl:call-template name="common.html.attributes"/>
+          <xsl:call-template name="generate.class.attribute"/>
           <col align="{$direction.align.start}" valign="top"/>
           <tbody>
             <xsl:apply-templates 
       </xsl:when>
       <xsl:otherwise>
         <ol>
-          <xsl:call-template name="common.html.attributes"/>
+          <xsl:call-template name="generate.class.attribute"/>
           <xsl:if test="$start != '1'">
             <xsl:attribute name="start">
               <xsl:value-of select="$start"/>
     <xsl:choose>
       <xsl:when test="count(step) = 1">
         <ul>
-          <xsl:call-template name="common.html.attributes"/>
+          <xsl:call-template name="generate.class.attribute"/>
           <xsl:apply-templates 
             select="step
                     |comment()[preceding-sibling::step]
       </xsl:when>
       <xsl:otherwise>
         <ol>
-          <xsl:call-template name="common.html.attributes"/>
+          <xsl:call-template name="generate.class.attribute"/>
           <xsl:attribute name="type">
             <xsl:value-of select="substring($procedure.step.numeration.formats,1,1)"/>
           </xsl:attribute>
     <xsl:call-template name="common.html.attributes"/>
     <strong>
       <span>
-        <xsl:call-template name="common.html.attributes"/>
+        <xsl:call-template name="generate.class.attribute"/>
         <xsl:apply-templates/>
       </span>
     </strong>