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>