Hussein, Thanks very much for your reply. The advice was exactly right; the difficulty had to do with the DTD declaration. Thanks again.
Chris -----Original Message----- From: Hussein Shafie [mailto:[email protected]] Sent: Wednesday, April 12, 2006 4:04 AM To: Woods, Christopher Cc: xmleditor-support at xmlmind.com Subject: Re: [XXE] CSS does not appear in view menu Woods, Christopher wrote: > > I followed the instructions found here to create a configuration file: > > http://www.xmlmind.com/xmleditor/_distrib/doc/configure/dtd_example.ht > ml > > The CSS does not appear in the VIEW menu and the document is displayed > in tree view. > > The catalog file is as follows: > > <?xml version="1.0" ?> > <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" > prefer="public"> > <public publicId="-//XMLmind//DTD keo//EN" > uri="keo.dtd"/> > </catalog> > > The configuration file is as follows: > > <?xml version='1.0' encoding='utf-8'?> <configuration name="keo" > xmlns="http://www.xmlmind.com/xmleditor/schema/configuration" > xmlns:cfg="http://www.xmlmind.com/xmleditor/schema/configuration"> > <detect> > <dtdPublicId>-//XMLmind//DTD keo//EN</dtdPublicId> > </detect> > > <css name="keo" location="keo.css" /> > > <template name="keo" location="keo.xml" /> </configuration> > > The xml and dtd are valid. What should I look for next? Thanks very > much. My guess is that XXE has not detected your document as being a keo one. You can check this as follows: --> Open a keo document, say C:\tmp\test.xml. Move your mouse over the tab of the document view. After a couple of seconds, you should see a tooltip looking like this: "C:\tmp\test.xml : keo". If you just see "C:\tmp\test.xml", then XXE is not associating your configuration to C:\tmp\test.xml. If this is the case (otherwise send us another email describing what you see -- preferably with a zip containing the whole configuration), I see two reasons for that: [1] C:\tmp\test.xml does not contain: <!DOCTYPE yyy PUBLIC "-//XMLmind//DTD keo//EN" "zzz/keo.dtd"> [2] OR you didn't create the directory containing the keo configuration (i.e. the directory containing keo.xxe, keo.css, keo.dtd, keo.xml) in the right place. Such directory should be found under: XXE_install_dir/addon/ OR under: XXE_user_preferences_dir/addon/ This one is easy to check: keo.xxe should be listed in the dialog box displayed by Help|About XMLmind XML Editor. In all cases, you probably did a little mistake. We really doubt that you have found a bug in XXE. =============================================================================================================================== This message (including any attachments) contains confidential and/or proprietary information intended only for the addressee. Any unauthorized disclosure, copying, distribution or reliance on the contents of this information is strictly prohibited and may constitute a violation of law. If you are not the intended recipient, please notify the sender immediately by responding to this e-mail, and delete the message from your system. If you have any questions about this e-mail, please notify the sender immediately. ===============================================================================================================================

