Hi Matthew,

> innerHTML is good because it's quite a bit faster than DOM methods; if
> you don't need to manipulate the output further,

But is it safe to assume that there will no such need?

> As to the article, I don't really understand what you're trying to do
> - doesn't cloneNode() do all that and more?

AFAIK, cloneNode() duplicates a node with its children or the element by
itself (shallow clone).
It does not help much when you want to nest/wrap all the children of that
node in/with a new element.

---
Regards,
Thierry | www.TJKDesign.com



*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to