You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by sj...@apache.org on 2013/01/24 21:44:18 UTC

svn commit: r1438174 - /forrest/trunk/main/webapp/resources/stylesheets/html-to-document.xsl

Author: sjur
Date: Thu Jan 24 20:44:17 2013
New Revision: 1438174

URL: http://svn.apache.org/viewvc?rev=1438174&view=rev
Log:
Simplified the identity template. Content is equivalent.

Modified:
    forrest/trunk/main/webapp/resources/stylesheets/html-to-document.xsl

Modified: forrest/trunk/main/webapp/resources/stylesheets/html-to-document.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/main/webapp/resources/stylesheets/html-to-document.xsl?rev=1438174&r1=1438173&r2=1438174&view=diff
==============================================================================
--- forrest/trunk/main/webapp/resources/stylesheets/html-to-document.xsl (original)
+++ forrest/trunk/main/webapp/resources/stylesheets/html-to-document.xsl Thu Jan 24 20:44:17 2013
@@ -280,9 +280,9 @@
       </xsl:otherwise>
     </xsl:choose>
   </xsl:template>
-  <xsl:template match="@*|*|text()|processing-instruction()|comment()">
+  <xsl:template match="@*|node()">
     <xsl:copy>
-      <xsl:apply-templates select="@*|*|text()|processing-instruction()|comment()"/>
+      <xsl:apply-templates select="@*|node()"/>
     </xsl:copy>
   </xsl:template>
 </xsl:stylesheet>