Thanks, Hussein. That did the trick! And thanks for the info on your
source files for the DITA release. I'll be more than happy to use your
stylesheets, as I assume they won't cause a bunch of errors on loading,
like the OT ones do :-)

Mark



-----Original Message-----
From: Hussein Shafie [mailto:[email protected]] 
Sent: Wednesday, March 08, 2006 4:50 AM
To: Mark Fletcher
Cc: xmleditor-support at xmlmind.com
Subject: Re: [XXE] DITA support (was I LOVE your editor!)

Mark Fletcher wrote:
> I'm trying to test the DITA toolkit CSS stylesheets with XXE and can't

> get them to show up under my View menu. I've created an .xxe file. It 
> is valid and appears to be loaded by XXE because I can use File, New 
> to select the template defined in the .xxe. But the css stylesheet 
> I've defined doesn't show up as available in the View menu. I only get

> one View menu item: "0 (no style sheet)". Could you take a look at 
> this .xxe file and tell me if I'm doing something wrong?
> 

I think that the problem comes from your detect rule.

Something very simple like this should work:
---
<?xml version='1.0' encoding='ISO-8859-1'?> <configuration name="DITA"
  xmlns="http://www.xmlmind.com/xmleditor/schema/configuration";
  xmlns:cfg="http://www.xmlmind.com/xmleditor/schema/configuration";>

  <detect>
    <dtdPublicId substring="true">DITA</dtdPublicId>
  </detect>

  <css name="DITA style sheet"
       location="css/dita_shell.css" />

  <template name="DITA base"
            location="template/ditabase_template.xml" />

</configuration>
---

---
PS: The CSS style sheets included in the future configuration for DITA
are not those found in the Open Toolkit. In fact, in the initial release
of the configuration, nothing comes from the Open Toolkit. (Even the
DTDs and Schemas come from OASIS. The Schema included in the Open
Toolkit I've downloaded has a bug fixed in latest version from OASIS.
Unfortunately I don't remember what is this bug.)







Reply via email to