You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by ne...@apache.org on 2008/01/01 22:40:39 UTC
svn commit: r607924 -
/lenya/trunk/src/modules/prettyprinting/xslt/xml2nicexml.xsl
Author: nettings
Date: Tue Jan 1 13:40:39 2008
New Revision: 607924
URL: http://svn.apache.org/viewvc?rev=607924&view=rev
Log:
don't prettyprint <script/> elements.
Modified:
lenya/trunk/src/modules/prettyprinting/xslt/xml2nicexml.xsl
Modified: lenya/trunk/src/modules/prettyprinting/xslt/xml2nicexml.xsl
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules/prettyprinting/xslt/xml2nicexml.xsl?rev=607924&r1=607923&r2=607924&view=diff
==============================================================================
--- lenya/trunk/src/modules/prettyprinting/xslt/xml2nicexml.xsl (original)
+++ lenya/trunk/src/modules/prettyprinting/xslt/xml2nicexml.xsl Tue Jan 1 13:40:39 2008
@@ -90,4 +90,10 @@
<xsl:copy-of select="."/>
</xsl:template>
-</xsl:stylesheet>
\ No newline at end of file
+<!--
+ leave the contents of script tags alone, since we don't know about script whitespace semantics
+-->
+ <xsl:template match="xhtml:script/node()">
+ <xsl:copy-of select="."/>
+ </xsl:template>
+</xsl:stylesheet>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org