Desmond D'Souza wrote: > I opened the "slides-demo.xml" document and it came up with a quite > reasonable styling in the editor. However when I look at the raw xml file I > see a <!DOCTYPE ...> declaration but no style/css info. > > How does this work? Do I not need both a DTD(or schema) and a stylesheet?
When you open XXE_install_dir/demo/slides-demo.xml, XMLmind XML Editor automatically uses the XXE_install_dir/config/slides/slides.xxe *configuration file*. This file specifies which style sheet to use for any document conforming to the Slides DTD (among many, many, other possible settings). Of course, XMLmind XML Editor can also open XML files for which there is no configuration file. For example: XXE_install_dir/demo/bugreport.xml. If you open bugreport.xml in a text editor, you'll find at the top of it: --- <?xml-stylesheet type="text/css" href="bugreport/bugreport.css"?> <?xml-stylesheet type="text/css" href="bugreport/xmldata.css" alternate="yes"?> --- which is a standard way of specifying style sheets. All this is detailed in http://www.xmlmind.com/xmleditor/_distrib/docs/poweruser/ar01s01.html

