]> granicus.if.org Git - docbook-dsssl/commitdiff
add support for simpara
authorMartijn van Beers <lotr@users.sourceforge.net>
Fri, 10 May 2002 15:23:06 +0000 (15:23 +0000)
committerMartijn van Beers <lotr@users.sourceforge.net>
Fri, 10 May 2002 15:23:06 +0000 (15:23 +0000)
contrib/xsl/db2man/db2man.xsl

index 648bd3a8fff2d293accc5e0f93a2ea7e8523d263..e82bcfe7a9d3309e878a692562033b4d471e0149 100644 (file)
        </xsl:if>
       </xsl:when>
       <xsl:otherwise>
-        <xsl:variable name="foo">
+        <xsl:variable name="content">
           <xsl:apply-templates select="."/>
         </xsl:variable>
-        <xsl:value-of select="normalize-space($foo)"/>
+        <xsl:value-of select="normalize-space($content)"/>
       </xsl:otherwise>
     </xsl:choose>
   </xsl:for-each>
   <xsl:text>&#10;</xsl:text>
 </xsl:template>
+
+<xsl:template match="simpara">
+  <xsl:variable name="content">
+    <xsl:apply-templates/>
+  </xsl:variable>
+  <xsl:text>&#10;&#10;</xsl:text>
+  <xsl:value-of select="normalize-space($content)"/>
+  <xsl:text>
+</xsl:text>
+</xsl:template>
+
   
 <xsl:template match="refentry">
   <xsl:variable name="section" select="refmeta/manvolnum"/>