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/14 23:22:47 UTC
svn commit: rev 65635 - cocoon/branches/BRANCH_2_1_X/src/blocks/tour/samples/intro/presentation
Author: ugo
Date: Sun Nov 14 14:22:46 2004
New Revision: 65635
Modified:
cocoon/branches/BRANCH_2_1_X/src/blocks/tour/samples/intro/presentation/insert-toc.xsl
cocoon/branches/BRANCH_2_1_X/src/blocks/tour/samples/intro/presentation/page2html.xsl
Log:
Eliminate non-HTML elements from output
Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/tour/samples/intro/presentation/insert-toc.xsl
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/tour/samples/intro/presentation/insert-toc.xsl (original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/tour/samples/intro/presentation/insert-toc.xsl Sun Nov 14 14:22:46 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/branches/BRANCH_2_1_X/src/blocks/tour/samples/intro/presentation/page2html.xsl
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/tour/samples/intro/presentation/page2html.xsl (original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/tour/samples/intro/presentation/page2html.xsl Sun Nov 14 14:22:46 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>