e-letter wrote:
> 
> I viewed an xml file in my text editor with the following first two lines:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <?xml-stylesheet type="text/xsl" href=".../filename.xsl"?>
> 
> However, when I view the xml file in xxe, I cannot see any reference
> to the second line, about the stylesheet to use, therefore no style is
> applied.

No, these facts are not related at all. See below.

(You cannot see the first two lines because XMLmind XML Editor cannot be
used to edit them. XMLmind XML Editor can only be used to edit the root
element of an XML document.)



> Why is the stylesheet not applied? How do I apply correctly the stylesheet?

With XMLmind XML Editor:

[1] Documents are styled using *CSS* style sheets and not *XSL* style
sheets.

[2] Though the <?xml-stylesheet?> processing instruction is supported,
this not the recommended way to associate a CSS style sheet to a
document opened in the editor.

Please take the time to read at least the first two chapters of this
document: http://www.xmlmind.com/xmleditor/_distrib/doc/configure/index.html



Reply via email to