You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by fe...@apache.org on 2005/10/01 09:23:45 UTC
svn commit: r292937 -
/forrest/trunk/main/webapp/resources/stylesheets/html2document.xsl
Author: ferdinand
Date: Sat Oct 1 00:23:36 2005
New Revision: 292937
URL: http://svn.apache.org/viewcvs?rev=292937&view=rev
Log:
Fixed table-template that swallowed attributes
Modified:
forrest/trunk/main/webapp/resources/stylesheets/html2document.xsl
Modified: forrest/trunk/main/webapp/resources/stylesheets/html2document.xsl
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/webapp/resources/stylesheets/html2document.xsl?rev=292937&r1=292936&r2=292937&view=diff
==============================================================================
--- forrest/trunk/main/webapp/resources/stylesheets/html2document.xsl (original)
+++ forrest/trunk/main/webapp/resources/stylesheets/html2document.xsl Sat Oct 1 00:23:36 2005
@@ -243,9 +243,10 @@
</xsl:template>
<xsl:template match="table">
- <table>
- <xsl:apply-templates select="node()"/>
- </table>
+ <xsl:copy>
+ <xsl:copy-of select="@*"/>
+ <xsl:apply-templates/>
+ </xsl:copy>
</xsl:template>