On Fri, May 14, 2010 at 7:20 AM, Andrew Ballard <aball...@gmail.com> wrote:

> On Fri, May 14, 2010 at 12:04 AM, Nathan Nobbe <quickshif...@gmail.com>
> wrote:
> [snip]
> > having said that if you wanted to append
> > a new DOMNode to an existing one, you would use the appendChild() method.
> Usually, yes. In this case, since she would be importing nodes from
> one document into another document, she would need to use importNode()
> instead of appendChild().

right, if there was actually more than one document, which in this case
there isnt...  whether or not there should be multiple DOMDocuments here is
about as unclear as OPs original question.


Reply via email to