1. za
przeglądarka od razu zgłasza błąd jeśli jakiś zrobiliśmy
2. przeciw
google nie obsługuje (google-bot?)
xhtml nie jest streamowany – strona zostanie wyświetlona po wczytaniu całości
nie ma obsługi innerhtml
3. Porównanie silników wyświetlających xhtml 1.1
http://en.wikipedia.org/wiki/Comparison_of_layout_engines_(XHTML)
Jaki mime przesyłać dla jakiej wersji xhtml
http://www.w3.org/TR/xhtml-media-types/#summary
4. dostosowanie do przeglądarek
4.1 typ mime rozwiążemy za pomocą content-negotiation
<?php
// http://blog.lepszyinternet.com/2006/11/06/dlaczego-xhtml-to-zly-pomysl/
if ( stristr($_SERVER["HTTP_ACCEPT"],"application/xhtml+xml") )
{
header("Content-type: application/xhtml+xml");
}
else
{
header("Content-type: text/html");
}
?>
Maksymilian Węcławski – Content Negotiation – raz a dobrze
2005-04-14 Aristotle Pagaltzis – XHTML for IE
4.2 cdata czyli javascript w innych klamrach
2006-11-12 John Resig – XHTML, document.write, and Adsense (polskie tłumaczenie)
5. Linki
2005-12-05 Lachlan Hunt – XHTML is not for Beginners
2005-12-15 Patryk Zawadzki – Uważaj na XHTML
2005-12-21 Brad Fults – Sending XHTML as text/html Considered Harmful to Feelings
2006-09-27 Emil Stenström – Why XHTML is a bad idea
(polskie tłumaczenie)
6. Książki
2008-04-28 Jon Duckett – Beginning Web Programming with HTML, XHTML, and CSS
2008-03-17 Steven M. Schafer – HTML, XHTML, and CSS Bible
2008-02-02 Terry Felke-Morris – Web Development and Design Foundations with XHTML (4th Edition)
2007-08-19 Dan Cederholm – Bulletproof Web Design: Improving flexibility and protecting against worst-case scenarios with XHTML and CSS (2nd Edition)
2006-08-16 Elizabeth Castro – HTML, XHTML, and CSS
2006-07-16 Jeffrey Zeldman – Designing with Web Standards, 2nd Edition
2006-05-02 Ian Lloyd – Build Your Own Web Site the Right Way Using HTML & CSS
2005-12-08 Eric Freeman – Head First HTML with CSS & XHTML