Re: Append Dom Document

From: Date: Fri, 14 May 2010 13:20:51 +0000
Subject: Re: Append Dom Document
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-305197@lists.php.net to get a copy of this message
On Fri, May 14, 2010 at 12:04 AM, Nathan Nobbe <quickshiftin@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(). Andrew

« previous php.general (#305197) next »