Mark Derricutt wrote: > Hussein Shafie wrote: > >> * Support for <?xml-stylesheet?> will *not* be dropped from XXE V3. >> >> * In XXE, everything specified in the document has priority over what >> is specified in configuration files. This is true for DTDs, W3C XML >> Schemas and CSS style sheets. > > > Is there a way to specify somehow that the xml-stylesheet is for > 'editing' or 'displaying' at all? I notice Firefox now has the option > to toggle between multiple defined stylesheets for a website, maybe > theres something similar one could do for XXE and editing documents? >
Yes. XXE allows to specify several xml-stylesheet PIs in a document (or several <css> elements in a configuration file). By default, it will display the one not having pseudo-attribute alternate="yes". And the "Style" menu in XXE allows to switch from one style sheet to another. But to make this easier to use, you'll have to turn option "Change the style sheet rather than add a view" on. See http://www.xmlmind.com/xmleditor/_distrib/docs/help/ar01s01s05.html See http://www.xmlmind.com/xmleditor/_distrib/docs/help/ar01s06s01.html#windowOptions See also http://www.w3.org/TR/xml-stylesheet

