John Mobbs wrote: > > I am running XXE Standard Edition V2.0p1 under Windows 98 Second Edition. I > have done the tutorial, examined both the Help and the Poweruser guide and > read the FAQs on your website. > > I have opened both poweruser example1 and example2 and, even thought the xxe > specifies a css, they still do not enable styled view. I have tried opening > files (which have stylesheets called using the <?xml-stylesheet PI) which > have been produced in other XML applications. They do not enable styled > view in XXE.
First, you should really turn on the option of Windows which displays the extension of file names in the Explorer. For example, you can open both example1.xxe and example1.xml using XXE and example1.xxe cannot be displayed using a styled view. This said, have you copied the example1/ and example2/ subdirectories of poweruser/samples/ to the config/ directory of XXE? For example, if you have installed XXE in C:\Program Files\XMLmind_XML_Editor, copy the example1 and example2 directories to C:\Program Files\XMLmind_XML_Editor\config If this is not the case, please do so and you'll see that menu item File|New... will display a dialog box having Example1/Template and Example2/Template entries. Clicking on either of these entries will open a styled view of a new Example1 or Example2 document. > I don't understand why some files (for example, userguide.xml) display in a > styled view when no CSS (or XSL) is called in the XML and there is no > userguide.xxe. Where is styled view getting its formatting information from > in this situation? userguide.xml is detected by XXE as being a XML file for which configuration docbook.xxe must be used. docbook.xxe is found in C:\Program Files\XMLmind_XML_Editor\config\docbook. Other example: userguide.xhtml is detected by XXE as being a XML file for which configuration xhtml.xxe must be used. xhtml.xxe is found in C:\Program Files\XMLmind_XML_Editor\config\xhtml. XXE configuration files are used to specify the behavior of XXE for a class of documents. These configuration files always begin with a detect clause. XXE uses the detect clause to check if the document being loaded belongs to the class of document for which the configuration file has been written. If this is not the case, XXE tries another configuration file until it finds the right one. > You say in both help and poweruser that styled view can be enabled by the > use of <?xml-stylesheet .......?> in the XML file. I am unable to find any > examples of this in the distribution. The string "<?xml-stylesheet" is not > present in any of the xml files supplied. This is true, because even if it works, using <?xml-stylesheet?> is not the recommended way to doing things. > If you could help me on this, perhaps supply a pair of XML and CSS which > correctly enable styled view and which I can use as templates, I should be > grateful. See attached zip file. PS: XXE is not supported on the Windows 9x platform, only on Windows NT/2000/XP. -------------- next part -------------- A non-text attachment was scrubbed... Name: example3.zip Type: application/x-zip-compressed Size: 932 bytes Desc: not available Url : http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20021203/e23a4e3a/attachment.bin

