Re: Troubles with importing a node from another DOMDocument
From: Stanislav Sazonov Date: Thu, 17 Jul 2008 12:54:19 +0000 Subject: Re: Troubles with importing a node from another DOMDocument References: 1 2 3 4 Groups: php.xml.dev Request: Send a blank email to [email protected] to get a copy of this message
I think it is conceptually wrong. If i wanna clone a node with its owner i would use cloneNode() method. Operator clone() should make _independent_ objects instead, thus should behave like importNode(). > > using the clone keyword is the same as using the cloneNode() method > doing a deep copy on the node in question. > > Rob
Thread (6 messages)
| « previous | php.xml.dev (#613) | next » |
|---|