You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by ug...@apache.org on 2004/11/18 17:08:39 UTC

svn commit: r76246 - cocoon/trunk/src/blocks/tour/samples/intro/presentation

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>