cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gkossakow...@apache.org
Subject svn commit: r612528 - /cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/src/main/resources/COB-INF/common/style/xsl/html/simple-page2html.xsl
Date Wed, 16 Jan 2008 17:41:51 GMT
Author: gkossakowski
Date: Wed Jan 16 09:41:38 2008
New Revision: 612528

URL: http://svn.apache.org/viewvc?rev=612528&view=rev
Log:
Do NOT replace any root element with html because it breaks AJAX-based samples where this
stylesheet should act as identity transformation.

Modified:
    cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/src/main/resources/COB-INF/common/style/xsl/html/simple-page2html.xsl

Modified: cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/src/main/resources/COB-INF/common/style/xsl/html/simple-page2html.xsl
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/src/main/resources/COB-INF/common/style/xsl/html/simple-page2html.xsl?rev=612528&r1=612527&r2=612528&view=diff
==============================================================================
--- cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/src/main/resources/COB-INF/common/style/xsl/html/simple-page2html.xsl
(original)
+++ cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/src/main/resources/COB-INF/common/style/xsl/html/simple-page2html.xsl
Wed Jan 16 09:41:38 2008
@@ -27,14 +27,8 @@
 
   <xsl:param name="contextPath">servlet:/</xsl:param>
 
-
-  <xsl:template match="/">
-    <html>
-      <xsl:apply-templates/>
-    </html>
-  </xsl:template>
-
   <xsl:template match="page">
+   <html>
    <head>
      <title>
        <xsl:text>Apache Cocoon </xsl:text><xsl:value-of select="$version"/>
@@ -75,6 +69,7 @@
        <a href="http://www.apache.org/">The Apache Software Foundation</a>. All
rights reserved.
      </p>
    </body>
+   </html>
   </xsl:template>
 
   <xsl:template name="resources">



Mime
View raw message