Roberto, PHP can go hand in hand with Content Negotiation! Check out this link: http://keystonewebsites.com/articles/mime_type.php Read through the article - it explains how it works very well. Since XHTML is merely a reformulation of HTML, you can use the HTTP_ACCEPT header to serve XHTML as application/xhtml+xml to browser that recognize it, and HTML as text/html to those that can't properly recognize XHTML. Also of note, is that the script properly replaces /> with > when serving HTML. Hope this helps,
Collin Davis Web Architect Stromberg Architectural Products 903.454.0904 e [EMAIL PROTECTED] w http://www.strombergarchitectural.com -----Original Message----- From: Roberto Gorjão [mailto:[EMAIL PROTECTED] Sent: Monday, June 27, 2005 4:31 PM To: Web Standards Group Subject: [WSG] Will HTML be nicer to PHP than XHTML? Olá a todos! Ive read Ian Hickson and Stuart Langridge objections to the use of XHTML without serving it as application/xhtml+xml. I also read the article WaSP Asks the W3C (http://www.webstandards.org/learn/askw3c/sep2003.html) and I decided that I sure am not going to create two versions of my sites just for the sake of serving XHTML as it should to browsers which can understand it, as suggested at the W3C tutorial about Content-Negotiation (http://www.w3.org/2003/01/xhtml-mimetype/content-negotiation). Anyway, I noticed that many of you use XHTML and I sure was beginning to enjoy using it myself, and it seemed to me a good way to practice for the inevitable future is it? I mean: a good way to practice, as I believe that XML is the inevitable future Im initiating now my study on PHP and MySQL and I read some objections about using XHTML with PHP Will XHTML interfere with my learning of PHP? Would it be a good idea to stick with good old plain HTML? Obrigado! Roberto ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ****************************************************** ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************
