forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From diwa...@apache.org
Subject svn commit: r278925 - /forrest/trunk/main/webapp/skins/common/xslt/html/strip_namespaces.xsl
Date Tue, 06 Sep 2005 06:26:22 GMT
Author: diwaker
Date: Mon Sep  5 23:26:21 2005
New Revision: 278925

URL: http://svn.apache.org/viewcvs?rev=278925&view=rev
Log:
Fixes FOR-555


Modified:
    forrest/trunk/main/webapp/skins/common/xslt/html/strip_namespaces.xsl

Modified: forrest/trunk/main/webapp/skins/common/xslt/html/strip_namespaces.xsl
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/webapp/skins/common/xslt/html/strip_namespaces.xsl?rev=278925&r1=278924&r2=278925&view=diff
==============================================================================
--- forrest/trunk/main/webapp/skins/common/xslt/html/strip_namespaces.xsl (original)
+++ forrest/trunk/main/webapp/skins/common/xslt/html/strip_namespaces.xsl Mon Sep  5 23:26:21
2005
@@ -16,6 +16,12 @@
   limitations under the License.
 -->
 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+  <!-- Fixes FOR-555. This might not be the best solution though, but it sure works -->
+  <xsl:template match="comment()">
+    <xsl:copy>
+      <xsl:apply-templates select="@*|*|text()|processing-instruction()|comment()"/>
+    </xsl:copy>
+  </xsl:template>
     <xsl:template match="*">
       <!-- remove element prefix (if any) -->
       <xsl:element name="{local-name()}">



Mime
View raw message