[Yanel-commits] rev 38405 - public/yanel/contributions/resources/xopus3/htdocs/xslt

michi at wyona.com michi at wyona.com
Sat Sep 6 23:20:36 CEST 2008


Author: michi
Date: 2008-09-06 23:20:35 +0200 (Sat, 06 Sep 2008)
New Revision: 38405

Modified:
   public/yanel/contributions/resources/xopus3/htdocs/xslt/load-xopus-xhtml.xsl
Log:
config 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-06 20:20:00 UTC (rev 38404)
+++ public/yanel/contributions/resources/xopus3/htdocs/xslt/load-xopus-xhtml.xsl	2008-09-06 21:20:35 UTC (rev 38405)
@@ -7,6 +7,8 @@
   exclude-result-prefixes="xhtml"
 >
 
+<xsl:param name="yarep.back2realm" select="'BACK2REALM_IS_NULL'"/>
+
 <!--
 See http://xopus.com/Documentation/Developer%20Guide%5CHow%20To%5CUpgrade%20from%20Xopus%202%20to%203.new
 -->
@@ -15,30 +17,30 @@
 <xhtml:html>
   <head>
     <title>Load Xopus ...</title>
-    <!-- TODO: Back2Realm -->
-    <script language="JavaScript" src="yanel/resource-types/http%3a%2f%2fwww.wyona.org%2fyanel%2fresource%2f1.0%3a%3axopus3/Xopus-3.2.10/xopus/xopus.js"/>
+    <script language="JavaScript" src="{$yarep.back2realm}yanel/resource-types/http%3a%2f%2fwww.wyona.org%2fyanel%2fresource%2f1.0%3a%3axopus3/Xopus-3.2.10/xopus/xopus.js"/>
+<!--
+    <script language="JavaScript" src="{$yarep.back2realm}yanel/resource-types/http://www.wyona.org/yanel/resource/1.0::xopus3/Xopus-3.2.10/xopus/xopus.js"/>
+-->
   </head>
-  <body bgcolor="#FFFFFF">
+  <body bgcolor="#ffffff">
     <div xopus="true" autostart="true">
       ...Xopus hasn't started yet...
       <xml>
-        <config version="1.0" xmlns="http://www.xopus.com/xmlns/config">
-        <pipeline xml="sample.xml" xsd="sample.xsd">
-          <view name="Default View">
-            <transform xsl="sample.xsl"/>
-<!--
-            <transform xsl="/xopusPlugins/preparexinclude.xsl"/>
-            <resolveXIncludes/>
-            <transform xsl="?xslt">
-              <param name="some_param_name">some_param_value</param>
-            </transform>
--->
-          </view>
-          <view name="Tree View">
-            <treeTransform/>
-          </view>
-        </pipeline>
-        </config>
+        <x:config version="1.0" xmlns:x="http://www.xopus.com/xmlns/config">
+          <x:javascript src="js/save.js"/>
+          <x:pipeline xml="sample.xml" xsd="schema.xsd">
+            <x:view name="WYSIWYG View">
+              <x:transform xsl="sample.xsl"/>
+            </x:view>
+            <x:view name="Tags On View">
+              <x:transform xsl="tagson.xsl"/>
+            </x:view>
+            <x:view name="XML View">
+              <x:treeTransform/>
+            </x:view>
+          </x:pipeline>
+          <x:import src="config.xml"/>
+        </x:config>
       </xml>
     </div>
   </body>



More information about the Yanel-commits mailing list