]> granicus.if.org Git - docbook-dsssl/commitdiff
fixed WF error and removed duplicate template
authorMichael Smith <xmldoc@users.sourceforge.net>
Wed, 4 Jul 2007 13:09:29 +0000 (13:09 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Wed, 4 Jul 2007 13:09:29 +0000 (13:09 +0000)
xsl/html/lists.xsl
xsl/html/pi.xsl

index 535bbafb83826ba819a21b64869a6fee1479b2e6..a6edfb9c21bd94dbe29b0945ceb4babbec8caa8f 100644 (file)
   </xsl:variable>
 
   <xsl:variable name="list-width">
-    <xsl:call-template name="pi.dbhtml_list-width">
+    <xsl:call-template name="pi.dbhtml_list-width"/>
   </xsl:variable>
 
   <xsl:apply-templates select="title"/>
index 6f5d230b9374b982faf3eb3947f731a5007bc70c..83be138fc4918fbd6d6bc47283252d209c1f1e1c 100644 (file)
   </xsl:call-template>
 </xsl:template>
 
-<doc:pi name="dbhtml_linenumbering.width" xmlns="">
-<refpurpose>Specifies the width set aside for line numbers in
-  output of verbatim environments</refpurpose>
-<refdescription>
-  <para>Use the <tag>dbhtml linenumbering.width</tag> PI as a child
-    of a “verbatim” element – <tag>programlisting</tag>,
-    <tag>screen</tag>, <tag>synopsis</tag> — to specify
-    the width set aside for line numbers.</para>
-</refdescription>
-  <refsynopsisdiv>
-    <synopsis><tag class="xmlpi">dbhtml linenumbering.width="<replaceable>width</replaceable>"</tag></synopsis>
-  </refsynopsisdiv>
-<refparameter>
-  <variablelist>
-    <varlistentry><term>linenumbering.width="<replaceable>width</replaceable>"</term>
-      <listitem>
-        <para>Specifies the width, in number of characters. Line
-          numbers appear right justified in a field
-          <replaceable>width</replaceable> characters wide.</para>
-      </listitem>
-    </varlistentry>
-  </variablelist>
-</refparameter>
-  <refsee role="params">
-    <para><parameter>linenumbering.width</parameter></para>
-  </refsee>
-</doc:pi>
-<xsl:template name="pi.dbhtml_linenumbering.width">
-  <xsl:param name="node" select="."/>
-  <xsl:call-template name="dbhtml-attribute">
-    <xsl:with-param name="pis" select="$node/processing-instruction('dbhtml')"/>
-    <xsl:with-param name="attribute" select="'linenumbering.width'"/>
-  </xsl:call-template>
-</xsl:template>
-
 <doc:pi name="dbhtml_list-width" xmlns="">
   <refpurpose>Specifies the width of a variablelist or simplelist</refpurpose>
   <refdescription>