Re: merge two domDocuments
| From: | Arno Mittelbach | Date: | Fri, 21 May 2004 08:37:05 +0000 |
| Subject: | Re: merge two domDocuments | ||
| References: | 1 2 | Groups: | php.xml.dev |
| Request: | Send a blank email to php-xml-dev+get-374@lists.php.net to get a copy of this message | ||
> Pass true as the second parameter to importNode():
>
> $oToAppend = $oDomDocA->importNode( $oRootB, true );
Hey thanks.
I didn't thought that it would that easy :).
Arno