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

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
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">
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.