[Yanel-commits] rev 38398 - in public/yanel/contributions/resources/xopus3: htdocs/xslt yanel-htdocs/doc

michi at wyona.com michi at wyona.com
Sat Sep 6 00:43:52 CEST 2008


Author: michi
Date: 2008-09-06 00:43:52 +0200 (Sat, 06 Sep 2008)
New Revision: 38398

Modified:
   public/yanel/contributions/resources/xopus3/htdocs/xslt/load-xopus-xhtml.xsl
   public/yanel/contributions/resources/xopus3/yanel-htdocs/doc/index.html
Log:
xhtml namespace and mime type fixed

Modified: public/yanel/contributions/resources/xopus3/htdocs/xslt/load-xopus-xhtml.xsl
===================================================================
--- public/yanel/contributions/resources/xopus3/htdocs/xslt/load-xopus-xhtml.xsl	2008-09-05 22:37:25 UTC (rev 38397)
+++ public/yanel/contributions/resources/xopus3/htdocs/xslt/load-xopus-xhtml.xsl	2008-09-05 22:43:52 UTC (rev 38398)
@@ -2,10 +2,13 @@
 
 <xsl:stylesheet version="1.0"
   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+  xmlns="http://www.w3.org/1999/xhtml"
+  xmlns:xhtml="http://www.w3.org/1999/xhtml"
+  exclude-result-prefixes="xhtml"
 >
 
 <xsl:template match="/">
-<html>
+<xhtml:html>
   <head>
     <title>Load Xopus ...</title>
     <script language="JavaScript" src="/xopus/xopus.js"/>
@@ -32,7 +35,7 @@
       </xml>
     </div>
   </body>
-</html>
+</xhtml:html>
 </xsl:template>
 
 </xsl:stylesheet>

Modified: public/yanel/contributions/resources/xopus3/yanel-htdocs/doc/index.html
===================================================================
--- public/yanel/contributions/resources/xopus3/yanel-htdocs/doc/index.html	2008-09-05 22:37:25 UTC (rev 38397)
+++ public/yanel/contributions/resources/xopus3/yanel-htdocs/doc/index.html	2008-09-05 22:43:52 UTC (rev 38398)
@@ -59,7 +59,7 @@
     &lt;yanel:resource-config xmlns:yanel="http://www.wyona.org/yanel/rti/1.0">
       &lt;yanel:xml name="xopus3" namespace="http://www.wyona.org/yanel/resource/1.0"/>
 
-      &lt;yanel:property name="mime-type" value="application/xml+xhtml"/>
+      &lt;yanel:property name="mime-type" value="application/xhtml+xml"/>
 
       &lt;yanel:property name="xslt" value="rthtdocs:/xslt/load-xopus-xhtml.xsl"/>
     &lt;/yanel:resource-config>



More information about the Yanel-commits mailing list