You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2009/07/15 21:34:33 UTC

svn commit: r794374 - /lenya/branches/BRANCH_2_0_X/src/modules/resource/xslt/resource2xhtml.xsl

Author: andreas
Date: Wed Jul 15 19:34:33 2009
New Revision: 794374

URL: http://svn.apache.org/viewvc?rev=794374&view=rev
Log:
Render HTML document instead of <div> in resource module.

Modified:
    lenya/branches/BRANCH_2_0_X/src/modules/resource/xslt/resource2xhtml.xsl

Modified: lenya/branches/BRANCH_2_0_X/src/modules/resource/xslt/resource2xhtml.xsl
URL: http://svn.apache.org/viewvc/lenya/branches/BRANCH_2_0_X/src/modules/resource/xslt/resource2xhtml.xsl?rev=794374&r1=794373&r2=794374&view=diff
==============================================================================
--- lenya/branches/BRANCH_2_0_X/src/modules/resource/xslt/resource2xhtml.xsl (original)
+++ lenya/branches/BRANCH_2_0_X/src/modules/resource/xslt/resource2xhtml.xsl Wed Jul 15 19:34:33 2009
@@ -53,9 +53,11 @@
   <xsl:variable name="mediaUrl" select="concat(substring-before($documentUrl, '.html'), '.', $sourceExtension, $revisionSuffix)"/>
   
   <xsl:template match="/">
-    <xhtml:div id="body">
-      <xsl:apply-templates select="//meta:metadata" mode="media"/>
-    </xhtml:div>
+    <html>
+      <body>
+        <xsl:apply-templates select="//meta:metadata" mode="media"/>
+      </body>
+    </html>
   </xsl:template>
     
   <xsl:template match="meta:metadata" mode="media">



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