Hi Shelly, Interesting. I have recently been experimenting with the problem of presenting XHTML1.1 as application/xhtml+xml without blowing up IE, and I came across the excellent work outlined at :
http://www.workingwith.me.uk/articles/scripting/mimetypes/ This uses PHP to check the http_accept and insert the DTD header/mimetype as appropriate. You can see it working on my site at the signature below. It's very easy to implement and seems to work fine. Decent browsers display 'proper' xhtml 1.1 and IE produces HTML4.01 strict. HTH, Bob McClelland www.gwelanmor-internet.co.uk Design Groups wrote: >I have a project coming up in the very near future. It's for a company that >is some kind of investment firm, and they have a *ton* of data that is >tabular in form. They want to use tables *only* for the tabular data, and >that's it - the rest is supposed to be in XHTML. > >Now, I've been told my *my* boss that the client eventually wants to move >the site into complete XML - not necessarily now, but in the next couple of >years. So they want me to code the site in as strict XHTML as I possibly >can. > >I have no problem doing this - I am aware, though, that if you use the XHTML >1.1 documentation, you should really serve the page up as an XML document >using "application/xml" or something like that, and that many people who use >XHTML 1.1 incorrectly serve up the document (I'm guilty of this in the >past). I'm not sure what the exact semantics are on this, so pardon my >"iffyness" here! > >Anyway, I'd like to have this site function and work properly with CSS and >XHTML 1.1 - if I can even go as far as XML, I'd love to. Or, would you all >stick with XHTML 1.0 Strict and let them work it up to XML themselves? I >know when I've *tried* to do XHTML 1.1 (and serve it up as an XML doc) I get >all kinds of weird errors and code things - it just seems so difficult. >Have any of you done an XML site and had it display CSS (and HTML code) >successfully? Where can I read up on this kind of thing? Everything I find >when trying to Google it is either foggy in this area, or complete >techno-babble and I can't make heads or tails of it. > >Any suggestions or advice would be appreciated! It's kind of exciting to >actually have a client that understands some of this stuff for once, and I'd >like to make the transition as easy as possible for them. Plus, I've been >wanting to try it out *seriously* but haven't had a real chance to yet. I >think this is a cool opportunity. > >~Shelly > > >______________________________________________________________________ >css-discuss [EMAIL PROTECTED] >http://www.css-discuss.org/mailman/listinfo/css-d >IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 >List wiki/FAQ -- http://css-discuss.incutio.com/ >Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ > > > > > ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
