You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by gr...@apache.org on 2004/12/02 02:54:22 UTC

svn commit: r109425 - /lenya/docu/src/documentation/content/xdocs/docs/1_2_x/components/editors/xopus.xml

Author: gregor
Date: Wed Dec  1 17:54:21 2004
New Revision: 109425

URL: http://svn.apache.org/viewcvs?view=rev&rev=109425
Log:
Expanded the Xopus integration documentation.
Modified:
   lenya/docu/src/documentation/content/xdocs/docs/1_2_x/components/editors/xopus.xml

Modified: lenya/docu/src/documentation/content/xdocs/docs/1_2_x/components/editors/xopus.xml
Url: http://svn.apache.org/viewcvs/lenya/docu/src/documentation/content/xdocs/docs/1_2_x/components/editors/xopus.xml?view=diff&rev=109425&p1=lenya/docu/src/documentation/content/xdocs/docs/1_2_x/components/editors/xopus.xml&r1=109424&p2=lenya/docu/src/documentation/content/xdocs/docs/1_2_x/components/editors/xopus.xml&r2=109425
==============================================================================
--- lenya/docu/src/documentation/content/xdocs/docs/1_2_x/components/editors/xopus.xml	(original)
+++ lenya/docu/src/documentation/content/xdocs/docs/1_2_x/components/editors/xopus.xml	Wed Dec  1 17:54:21 2004
@@ -32,6 +32,13 @@
 <body> 
 
 <section>
+<title>About Xopus</title>
+<p>Xopus is a browser based validating in-place wysiwyg XML editor. It uses Javascript, XML Schema and XSLT.
+    At this time, it only works on Internet Explorer. If you need a cross-platform solution, take a look at
+    BXE. Note that Xopus is not open source, but a commerical product by Q42.</p>
+</section>
+    
+<section>
 <title>Demo</title>
 <p>Try Xopus at:</p>
 <source>
@@ -43,13 +50,12 @@
 
 <section>
 <title>Configuration</title>
-<p>Lenya needs to know the prefix of Xopus:</p>
-<source>
-<![CDATA[
-src/webapp/lenya/usecase.xmap
-src/webapp/lenya/resources/misc/xopus/index.html
-]]>
-</source>
+<p>Lenya is expecting an <em>@XOPUS:CONTEXT@</em> (e.g. Xopus-2.1.66) directory 
+within your <em>@XOPUS:PATH@</em> (e.g. <em>webapps/ROOT</em>) directory. 
+<em>@XOPUS:CONTEXT@</em> and <em>@XOPUS:PATH@</em> are configured 
+within your <em>local.build.properties</em> (xopus.context resp. xopus.path). 
+The path is relative to <em>usecase.xmap</em>. 
+</p>
 </section>
 
 <section>
@@ -111,16 +117,21 @@
 ]]>
 </source>
 <p>
-whereas one might want to use <link href="http://www.thaiopensource.com/relaxng/trang.html">Trang</link> to generate XML Schemas.
+You might want to use <link href="http://www.thaiopensource.com/relaxng/trang.html">Trang</link> to generate XML Schemas.
 </p>
 <p>
 Editing with Xopus is implemented as a usecase. One can add a menu item as follows:
 </p>
 <source>
 <![CDATA[
-<item uc:usecase="xopus" href="?lenya.step=open&amp;doctype=$DOCTYPE">Edit&#160;with&#160;Xopus</item>
+<item uc:usecase="xopus" uc:step="open" href="?doctype=$DOCTYPE">Edit&#160;with&#160;Xopus</item>
 ]]>
 </source>
+<p>In addition, you may want to study the oscom publication which has an Xopus integration example, 
+    as well as the root xopus.xmap, the xopus.xmap in the oscom publication, and the section in 
+    usecase.xmap pertaining to xopus. This will help you understand how the integration was done
+    (which admittedly is a bit clunky as it predates many Lenya concepts).
+    </p>
 </section>
 </body>
 </document>

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