]> granicus.if.org Git - docbook-dsssl/commitdiff
Second half of fix for #628888: add template for <optional>.
authorJoe Orton <jorton@redhat.com>
Sun, 5 Jan 2003 22:22:43 +0000 (22:22 +0000)
committerJoe Orton <jorton@redhat.com>
Sun, 5 Jan 2003 22:22:43 +0000 (22:22 +0000)
xsl/manpages/docbook.xsl

index d9e995ca4bae08399b0f83ccbe926a9e6e7743a9..24a48fa117d87eea142df9e7820d37e5ebb474cf 100644 (file)
   <xsl:text>&#10;.fi&#10;</xsl:text>
 </xsl:template>
 
+<xsl:template match="optional">
+  <xsl:value-of select="$arg.choice.opt.open.str"/>
+  <xsl:apply-templates/>
+  <xsl:value-of select="$arg.choice.opt.close.str"/>
+</xsl:template>
+
 <xsl:template name="do-citerefentry">
   <xsl:param name="refentrytitle" select="''"/>
   <xsl:param name="manvolnum" select="''"/>