cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From u..@apache.org
Subject svn commit: r76246 - cocoon/trunk/src/blocks/tour/samples/intro/presentation
Date Thu, 18 Nov 2004 16:08:39 GMT
Author: ugo
Date: Thu Nov 18 08:08:37 2004
New Revision: 76246

Modified:
   cocoon/trunk/src/blocks/tour/samples/intro/presentation/insert-toc.xsl
   cocoon/trunk/src/blocks/tour/samples/intro/presentation/page2html.xsl
Log:
Remove invalid HTML elements

Modified: cocoon/trunk/src/blocks/tour/samples/intro/presentation/insert-toc.xsl
==============================================================================
--- cocoon/trunk/src/blocks/tour/samples/intro/presentation/insert-toc.xsl	(original)
+++ cocoon/trunk/src/blocks/tour/samples/intro/presentation/insert-toc.xsl	Thu Nov 18 08:08:37
2004
@@ -125,7 +125,7 @@
     </xsl:template>
 
     <xsl:template match="line" mode="copyright">
-        <xsl:copy-of select="."/>
+        <xsl:copy-of select="text()"/>
         <br/>
     </xsl:template>
 </xsl:stylesheet>

Modified: cocoon/trunk/src/blocks/tour/samples/intro/presentation/page2html.xsl
==============================================================================
--- cocoon/trunk/src/blocks/tour/samples/intro/presentation/page2html.xsl	(original)
+++ cocoon/trunk/src/blocks/tour/samples/intro/presentation/page2html.xsl	Thu Nov 18 08:08:37
2004
@@ -30,6 +30,10 @@
         </xsl:copy>
     </xsl:template>
 
+    <xsl:template match="toc-and-content">
+      <xsl:apply-templates/>	
+    </xsl:template>
+    
     <!-- HTML page skeleton -->
     <xsl:template match="page">
         <html>

Mime
View raw message