Re: How does Firefox recognize a xml-file?

"Nickolay Ponomarev" <[email protected]> Wed, 20 Dec 2006 12:30:34 +0300
Newsgroups gmane.comp.mozilla.devel.xml
Message-ID <[email protected]>
On 20 Dec 2006 01:19:05 -0800, Hermi <[email protected]> wrote:
>
> Nickolay Ponomarev schrieb:
>
> > [snip]
>
> > Check that the document is sent with the right Content-Type. This is
> > what matters when sending files over HTTP, not the URL.
>
> What is the right Content-Type?

http://www.google.com/search?q=xml%20content%20type

> text/html ?

No, this causes the HTML parser to be used.

> text/xhtml ?

Where did you find that?

> text/xml ?
>
text/xml will work, application/xml too, some say it's better. It's an
interesting story, but seriously search google.

Nickolay