forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ferdin...@apache.org
Subject svn commit: r292937 - /forrest/trunk/main/webapp/resources/stylesheets/html2document.xsl
Date Sat, 01 Oct 2005 07:23:45 GMT
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>
     
             



Mime
View raw message