Re: Copying HTML from a document to another document

From: Date: Sun, 19 Sep 2004 18:37:17 +0000
Subject: Re: Copying HTML from a document to another document
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-12902@lists.php.net to get a copy of this message
On 19.9.2004 20:30 Uhr, Sam Hobbs wrote:
Please see: Copying HTML from a document to another document http://marc.theaimsgroup.com/?l=php-general&m=109419037409980&w=2 It has been more than two weeks without a reply. I suspect there is a bug in PHP. I assume the people looking at that list can't answer the question. Am I supposed to ask questions such as that in this list instead.?
Nope, file a bug report, if you think, it's a bug ;) But don't bother, it's not a bug. You have to use $DomDocuemnt->importNode(), if you want to copy a node from one document to another. See http://ch.php.net/manual/en/function.dom-domdocument-importnode.php and the W3C docs. chregu
-- christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich phone +41 1 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71 http://www.bitflux.ch | chregu@bitflux.ch | gnupg-keyid 0x5CE1DECB

« previous php.internals (#12902) next »