On Wed, Apr 9, 2008 at 10:17 AM, Christoph Boget
<[EMAIL PROTECTED]> wrote:
> > DOM Nodes are specific to the document in which they were created, so
> > you can't just append a node from one document into another document.
> > The importNode function does what you want.
> > http://us2.php.n
> DOM Nodes are specific to the document in which they were created, so
> you can't just append a node from one document into another document.
> The importNode function does what you want.
> http://us2.php.net/manual/en/function.dom-domdocument-importnode.php
Interesting. Why is that, out of
On Wed, Apr 9, 2008 at 9:35 AM, Christoph Boget
<[EMAIL PROTECTED]> wrote:
> Could someone explain to me what I'm doing wrong?
>
> I'm trying to get an element from one DOMDocument and append it to a
> different DOMDocument. The (simplified) output of saveXML() from the
> first DOMDocument is a
Could someone explain to me what I'm doing wrong?
I'm trying to get an element from one DOMDocument and append it to a
different DOMDocument. The (simplified) output of saveXML() from the
first DOMDocument is as follows:
12
Here is a snippet of code:
createElement( 'menu' );
$oRootNode->setAt
4 matches
Mail list logo