W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2002

Re: How to create usable document fragments?

From: Joseph Kesselman <keshlam@us.ibm.com>
Date: Fri, 22 Feb 2002 12:50:41 -0500
To: Christopher Birkett <christopherbirkett@yahoo.com>
Cc: www-dom@w3.org
Message-ID: <OF9A3B5EDC.C248F3D3-ON85256B68.0061D93C@pok.ibm.com>

Nodes always belong to a specific document. The closest you can come to
creating nodes before creating the document is to create a temporary
document as a work area, build your nodes there, then use importNode() to
copy them into your final document when it's ready. See

Joe Kesselman  / IBM Research
Received on Friday, 22 February 2002 12:51:32 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:09 UTC