|
The mime-type is not tricky, but the cross browser problems are.
JS DOM bindings are faster w/XHTML, but if I use createElementNS, it won't work in IE.
So I can use a branch:
if(createElementNS) {
}
else{
}
But this introduces overhead, especially in a lengthy loop of creating a table of many rows.
Also, document.write doesn't work with XHTML in Mozilla. document.write works with HTML in mozilla, but not properly (it is bugged).
|