Re: xml declaration not written

Jonas Sicking <[email protected]>
Newsgroups gmane.comp.mozilla.devel.layout.xslt
Message-ID <[email protected]>
Ivan Longhi wrote:
> [email protected] on Tuesday, July 11, 2006 at 6:32 PM +0000 wrote:
>> How do you know? At least in Mozilla's DOM the XML declaration does not 
>> show up as a node.
> 
> for two reasons:
> - first of all the document isn't rendered by mozilla as a xml document,
> that is I see only the content of the nodes, as if it is a html document
> with unknown tags...

What is it that you expect to see? Since you are just using generic XML 
without any stylesheets, you will only see:

testtest29153Invito a corte

Is that not what you are seeing?

> - second if I "save page as..." I see the "correctly" transformed xml file
> but without the xml declaration

Yeah, this sounds like a bug, but that will not affect rendering at all. 
Would be great if you could file a bug on the XSLT component though so 
that we can get it fixed.

/ Jonas
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.