XOpus

"Samuel Schluep" <[email protected]> Tue, 8 Oct 2002 11:11:29 +0200
Newsgroups gmane.comp.cms.wyona.user
Message-ID <[email protected]>
I am creating new content types, which I want to integrate in Wyona. I took
"unipublic" as a basis. Now I try to get XOpus to work with my xml-files and
schemas and I got quite far. XOpus is loading the correct xml-file, parsing
it with the correct schema, and rendering it with the xsl-stylesheet. But
XOpus does not let me edit my file!

What I have done so far. Well I mainly looked at the "Article" document type
and modified some things to a "brief" doctype:

- authoring-sitemap.xmap: I added a new pipeline, which maches
"xopus2/briefe/*/index.html" and uses
"stylesheets/publication/Page/Brief/Authoring/main_xopus2.xsl"

- stylesheets/publication/Page/Brief/Authoring/main_xopus2.xsl:
  <div id="brief_xopus" xopus="true" autostart="true">
   <xml>
   <pipeline xml="/{$doctype_id}/{$document_id}/index.xml" xsd="brief.xsd">
    <view id="defaultView" default="true">
     <transform xsl="Page/Brief/Authoring/xopus_canvas.xsl"></transform>
    </view>
    <view id="treeView">
     <transform xsl="Page/Brief/Authoring/tree.xsl"></transform>
    </view>
   </pipeline>
     </xml>
  </div>

- Page/Brief/Authoring/xopus_canvas.xsl: xsl:includes "../page.xsl" which
will apply the template "brief", defined in "../brief.xsl" (also
xsl:included in xopus_canvas.xsl)

- brief.xsl: Does nothing special for XOpus
(I think, the following line which I copied from "articles.xsd" has no
meaning to XOpus2. Is this correct?:
<td valign="top" bgcolor="white" width="393" class="art-text"
id_xopus="body" xml_xopus="magazin/gesundheit/articles/2002/0508/forum.xml"
xsl_xopus="Page/Brief/Authoring/xopus.xsl" xsd_xopus="brief.xsd">)

Did I miss something? The documentation for the integration of XOpus seems
to be outdated with XOpus2.

Regards
Sam