stephen.deal at kodak.com wrote: > I'm a newbie with XXE and I have been testing it to see how well it > supports our complex W3C XML Schema before moving on to other requirements. > I have been making good progress in creating a configuration that uses our > schema but have run into a problem with CSS. > > I created a custom configuration (based on example2) and changed only the > references to the for <css> and <template> as follows: > <?xml version='1.0' encoding='ISO-8859-1'?> > <configuration name="GPP" > xmlns="http://www.xmlmind.com/xmleditor/schema/configuration" > xmlns:cfg="http://www.xmlmind.com/xmleditor/schema/configuration"> > <detect> > > <rootElementNamespace>http://myCompany.com/schemas/content/prod/gpp.xsd</rootElementNamespace> > </detect> > <css name="Style sheet" location="gpp.css" /> > <template name="GPP template" location="gpp.xml" /> > </configuration> > > This enables me to create new docs based on our gpp.xsd schema and that > part works well! > However I am only presented with the XML tree view and no styled view. > > When I start XXE there are no errors and I cannot find any log files that > indicate a problem. > How can I debug my XXE configuration and get the styled view to work?
[1] Start XXE and use "Help|About XMLmind XML Editor". Your gpp.xxe file should be listed there. [2] Open your gpp.xxe in XXE and use the "Tools|Check Validity". There should be no errors at all. [3] Use "File|New". The dialog box should list "GPP > GPP Template". Double-click on "GPP Template" to create a new GPP document. [4] Look at the title bar of the newly created document. It should display "gpp.xml : Style sheet : GPP". If it displays anything else it is certainly because your gpp.xml template document is *not* a GPP document. You probably forgot to properly declare the namespace of the root element.

