XML.com: XML From the Inside Out

XML.comWebServices.XML.comO'Reilly Networkoreilly.com
  Articles | Weblogs | Newsletter | Safari Bookshelf
advertisement

Article:
 The Road to XHTML 2.0: MIME Types
Subject: createElement
Date: 2003-05-03 06:42:07
From: Garrett Smith

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).


Previous Message Previous Message   Next Message Next Message

Sponsored By:


Contact Us | Our Mission | Privacy Policy | Advertise With Us | | Submissions Guidelines
Copyright © 2008 O'Reilly Media, Inc. | (707) 827-7000 / (800) 998-9938