Re: Pb to read a XML page
Cédric <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.xml |
|---|---|
| Organization | INOVA (INSERM) |
| Message-ID | <[email protected]> |
kriss wrote: > Hello, Hello, > > I use MOZILLA 1.6 French Version. When I go to a site (https://...) I > get this message (in french) : > > "Ce fichier XML ne semble pas avoir d'information de style associé avec > lui. L'arbre du document est montré ci-dessous." > > The english translation should be something like that : > > "This file XML seems to contain no associated style information. The > document tree is shown here below." > In fact, the english message is : "This XML file does not appear to have any style information associated with it. The document tree is shown below." This means that you try to display an XML page without specified CSS File .(ie : there isn't this line in the XML document : <?xml-stylesheet type="text/css" href="file.css"?>). The css file "says" to mozilla how to display it. So without this informations mozilla can't display it and displays only the document structure. > What can I do to correctly read the page? You have to create a css file and link it in the XML document by adding: <?xml-stylesheet type="text/css" href="file.css"?> Cédric