cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ovidiu Predescu <ovi...@cup.hp.com>
Subject [PATCH] faq2document.xsl fix
Date Fri, 12 Oct 2001 07:20:55 GMT

The following patch fixes problems displaying the source examples on
the FAQ page.

diff -u -r1.1 faq2document.xsl
--- faq2document.xsl	2001/10/12 05:18:52	1.1
+++ faq2document.xsl	2001/10/12 07:14:35
@@ -47,4 +47,12 @@
     <xsl:apply-templates/>
   </xsl:template>
 
-</xsl:stylesheet>
\ No newline at end of file
+  <xsl:template match="@*|*|text()|processing-instruction()|comment()">
+    <!-- Catch all template. Just pass along unmodified everything we
+         don't handle. -->
+    <xsl:copy>
+      <xsl:apply-templates select="@*|*|text()|processing-instruction()|comment()"/>
+    </xsl:copy>
+  </xsl:template>
+
+</xsl:stylesheet>


Greetings,
-- 
Ovidiu Predescu <ovidiu@cup.hp.com>
http://orion.nsr.hp.com/ (inside HP's firewall only)
http://sourceforge.net/users/ovidiu/ (my SourceForge page)
http://www.geocities.com/SiliconValley/Monitor/7464/ (GNU, Emacs, other stuff)

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message