Re: XOpus
Michael Wechner <[email protected]> Thu, 10 Oct 2002 22:32:39 +0200
| Newsgroups | gmane.comp.cms.wyona.user |
|---|---|
| Message-ID | <[email protected]> |
Dear Sam
Sorry for not being more responsive, but I will go on vacation tomorrow
for one week and I had to finish some stuff (actually still finishing ...).
Well, here my quick hints for the moment ...
Samuel Schluep wrote:
> 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>
Have you actually copied the tree.xsl to the directory
Page/Brief/Authoring/tree.xsl
?
>
> - 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">)
Right, this is old stuff from Xopus1. We should remove that ...
>
> Did I miss something? The documentation for the integration of XOpus seems
> to be outdated with XOpus2.
I also had once a strange problem with Xopus, please see
http://groups.yahoo.com/group/xopus/message/30
The solution to it was in the end to start from scratch, which
means modifying an existing version to the one you actually want.
In the end I had a version which worked and one which did not work.
But I didn't really see any difference!!!
Well, we are ahead of our time (no pain no gain) ;-)
HTH
Michael
>
> Regards
> Sam
>
>
>
> _______________________________________________
> WyonaCMS-users mailing list
> [email protected]
> http://mail.wyona.org/cgi-bin/mailman/listinfo/wyonacms-users
>