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
I used, via a PHP header header('Content-type: application/xhtml+xml;'); Checking the headers that are sent, it DOES send correctly. Here are the headers: [code] Date: Sun, 03 Jul 2005 01:23:04 GMT Server: Apache/1.3.31 (Unix) DAV/1.0.3 mod_gzip/1.3.26.1a mod_fastcgi/2.4.2 PHP/4.3.10 mod_ssl/2.8.19 OpenSSL/0.9.6c X-Powered-By: PHP/4.3.10 Keep-Alive: timeout=15, max=100 Connection: Keep-Alive Content-Type: application/xhtml+xml; Content-Encoding: gzip Content-Length: 1050 200 OK [/code] In Firefox, it shows up as an XML page, instead of just XHTML (like when I use text/html). In IE, I get the prompt to download the page (which would be correct - I'll fix that later). FWIW, I ran the page through the WC3 validator, and it's valid XHTML 1.1 Transitional. I've usually just used XHTML 1.0, which can be sent as text/html. But I'm starting to move to 1.1, and need to figure out what the hell is wrong. Thanks for the help. [url=http://www.justice4pat.com] [img]http://www.runningwolf.com/j4p_link.gif[/img] [/url]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »