Re: Append Dom Document

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 14, 2010 at 7:20 AM, Andrew Ballard <aballard@xxxxxxxxx> wrote:

> On Fri, May 14, 2010 at 12:04 AM, Nathan Nobbe <quickshiftin@xxxxxxxxx>
> 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.

-nathan

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux