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
Okay - I got it figured out. My <html> at the beginning of the document was <html lang="EN"> which would validate. But when I changed it to <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> the problem went away and the document is now correctly displayed. I also changed the Content-type to header('Content-type: application/xhtml+xml;charset=iso-8859-1'); I did notice that once it's served as application/xhtml+xml, the & # 1 4 9 ; doesn't display at all (it does when served as text/html). I can resolve that. I did notice that when I insert an XML declaration, I get an error. If I'm just serving up XHTML, and want to adhere to 1.1 Transitional, do I need an XML declaration? [url=http://www.justice4pat.com] [img]http://www.runningwolf.com/j4p_link.gif[/img] [/url]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »