Author: vsiveton
Date: Thu Aug 30 05:26:30 2007
New Revision: 571133
URL: http://svn.apache.org/viewvc?rev=571133&view=rev
Log:
o fixed potential transformer errors
Modified:
maven/doxia/doxia-sitetools/trunk/doxia-doc-renderer/src/main/resources/org/apache/maven/doxia/docrenderer/itext/xslt/TOC.xslt
Modified:
maven/doxia/doxia-sitetools/trunk/doxia-doc-renderer/src/main/resources/org/apache/maven/doxia/docrenderer/itext/xslt/TOC.xslt
URL:
http://svn.apache.org/viewvc/maven/doxia/doxia-sitetools/trunk/doxia-doc-renderer/src/main/resources/org/apache/maven/doxia/docrenderer/itext/xslt/TOC.xslt?rev=571133&r1=571132&r2=571133&view=diff
==============================================================================
---
maven/doxia/doxia-sitetools/trunk/doxia-doc-renderer/src/main/resources/org/apache/maven/doxia/docrenderer/itext/xslt/TOC.xslt
(original)
+++
maven/doxia/doxia-sitetools/trunk/doxia-doc-renderer/src/main/resources/org/apache/maven/doxia/docrenderer/itext/xslt/TOC.xslt
Thu Aug 30 05:26:30 2007
@@ -131,7 +131,6 @@
<xsl:template match="chapter/title/chunk|section/title/chunk"
mode="body">
<xsl:copy>
- <xsl:apply-templates select="@*" mode="body" />
<xsl:attribute name="localdestination">
<xsl:value-of select="generate-id(.)" />
</xsl:attribute>
@@ -157,7 +156,6 @@
<!-- Update depth and numberdepth -->
<xsl:template match="chapter" mode="body">
<xsl:copy>
- <xsl:apply-templates select="@*" mode="body" />
<xsl:attribute name="depth">1</xsl:attribute>
<xsl:attribute name="numberdepth">1</xsl:attribute>
<xsl:apply-templates select="text()|*" mode="body" />
@@ -166,7 +164,6 @@
<xsl:template match="section" mode="body">
<xsl:copy>
- <xsl:apply-templates select="@*" mode="body" />
<xsl:variable name="depth.from.context"
select="count(ancestor::*)" />
<xsl:attribute name="depth">