httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n.@apache.org
Subject svn commit: r105903 - httpd/httpd/branches/2.0.x/docs/manual/style/xsl
Date Sat, 20 Nov 2004 00:10:41 GMT
Author: nd
Date: Fri Nov 19 16:10:40 2004
New Revision: 105903

Modified:
   httpd/httpd/branches/2.0.x/docs/manual/style/xsl/nroff.xsl
Log:
backport joe's fix of examples in dds.

It's not really perfect now, but better than showing format instructions in the
output.


Modified: httpd/httpd/branches/2.0.x/docs/manual/style/xsl/nroff.xsl
==============================================================================
--- httpd/httpd/branches/2.0.x/docs/manual/style/xsl/nroff.xsl	(original)
+++ httpd/httpd/branches/2.0.x/docs/manual/style/xsl/nroff.xsl	Fri Nov 19 16:10:40 2004
@@ -313,7 +313,11 @@
 <!-- ==================================================================== -->
 <!-- <example>                                                            -->
 <!-- ==================================================================== -->
-<xsl:template match="example">
+<xsl:template match="example[ancestor::dd]">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="example[not(ancestor::dd)]">
 &lf;
 <xsl:text>.nf</xsl:text>&lf;
 <xsl:apply-templates />&lf;

Mime
View raw message