OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
XHTML - which MIME type do you use? (and how)
This page's ID:
26134
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
[quote]I used <meta http-equiv="Content-Type" content="application/xhtml+xml;" /> in the head, but that didn't work.[/quote]That would have no effect since the parser must know how to parse it before seeing that meta element. [quote]I also tried using an .htaccess file with AddType application/xhtml+xml .php in it, but that didn't work either.[/quote] I have no idea why, try again. [quote]I believe it's spelled 'Content-type', lower case t[/quote] It's case insesitive. [quote]That seems to send the correct header, although that now puts Firefox into whacky mode, causing it to display that page as XML[/quote] Then you're not sending it as application/xhtml+xml it seems. What content-type did you use? [quote]That's what I do on a site in XHTML1.1 [some code][/quote] That should really take q values into account. And to answer your first question, Pugzly: as reisio said, use application/xhtml+xml. text/html is brain dead since there would be no advantage by using XHTML then. IMO, XHTML shouldn't be used on the web today (modulo if you're using content negotiation) since the client support is not satisfactory. [small](Edited by [internallink=2269]HZR[/internallink] on 07-03-2005 00:17)[/small]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »