You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by jo...@apache.org on 2006/02/10 10:07:07 UTC

svn commit: r376600 - /lenya/branches/BRANCH_1_2_X/src/webapp/lenya/xslt/util/page2xhtml.xsl

Author: josias
Date: Fri Feb 10 01:07:05 2006
New Revision: 376600

URL: http://svn.apache.org/viewcvs?rev=376600&view=rev
Log:
fixed and simplified copying of script elements: now works with multiple script elements.

Modified:
    lenya/branches/BRANCH_1_2_X/src/webapp/lenya/xslt/util/page2xhtml.xsl

Modified: lenya/branches/BRANCH_1_2_X/src/webapp/lenya/xslt/util/page2xhtml.xsl
URL: http://svn.apache.org/viewcvs/lenya/branches/BRANCH_1_2_X/src/webapp/lenya/xslt/util/page2xhtml.xsl?rev=376600&r1=376599&r2=376600&view=diff
==============================================================================
--- lenya/branches/BRANCH_1_2_X/src/webapp/lenya/xslt/util/page2xhtml.xsl (original)
+++ lenya/branches/BRANCH_1_2_X/src/webapp/lenya/xslt/util/page2xhtml.xsl Fri Feb 10 01:07:05 2006
@@ -35,9 +35,7 @@
       <link rel="stylesheet" type="text/css" href="{$contextprefix}/lenya/css/default.css" title="default css"/>
       <!-- the following line is a fix for an Internet Explorer incompatibility -->
       <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8"/>
-<xsl:if test="count(xhtml:script) &gt; 0">
- <script><xsl:copy-of select="xhtml:script/@*|xhtml:script/node()" /> </script>
-</xsl:if>
+      <xsl:apply-templates select="xhtml:script"/>
     </head>
     <body>
     



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org