Author: nettings
Date: Tue Jul 24 09:55:19 2007
New Revision: 559100
URL: http://svn.apache.org/viewvc?view=rev&rev=559100
Log:
pass on xml comments (we used to eat those).
thanks to phillip green for the patch!
Modified:
lenya/trunk/src/webapp/lenya/xslt/util/strip_namespaces.xsl
Modified: lenya/trunk/src/webapp/lenya/xslt/util/strip_namespaces.xsl
URL: http://svn.apache.org/viewvc/lenya/trunk/src/webapp/lenya/xslt/util/strip_namespaces.xsl?view=diff&rev=559100&r1=559099&r2=559100
==============================================================================
--- lenya/trunk/src/webapp/lenya/xslt/util/strip_namespaces.xsl (original)
+++ lenya/trunk/src/webapp/lenya/xslt/util/strip_namespaces.xsl Tue Jul 24 09:55:19 2007
@@ -36,6 +36,11 @@
</xsl:element>
</xsl:template>
+ <!-- fixme: this might be generalized to also pass on processing instructions etc...-->
+ <xsl:template match="comment()">
+ <xsl:copy/>
+ </xsl:template>
+
<!--
Workaround to prevent the serializer from collapsing these
elements, since browsers currently can not handle things like
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.