Using application/xhtml+xml will boost performance of DOM methods (applies to Mozilla and Safari).
For applications that run in Internet Explorer, this technique should be avoided. Internet explorer does not support application/xhtml+xml or createElementNS. Mozilla and Safari require createElementNS (instead of createElement) when a document is served with one of the aforementioned content-types.
[] Instead of .item()innerHTML is faster than the DOMcloneNode(true) over multiple calls to createElement[] Instead of .item()Calling item is slightly more expensive and takes up more ascii characters.
In some very rare instances, it will not violate accessiblity problems to create additional navigational items. For those cases, innerHTML is the fastest.
innerHTML will not in an xml document in Mozilla or Safari.
cloneNode over multiple calls to createElement
Next in this tutorial: Summing it all up