Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:12902 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 88102 invoked by uid 1010); 19 Sep 2004 18:37:24 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 88019 invoked from network); 19 Sep 2004 18:37:24 -0000 Received: from unknown (HELO devel.bitflux.ch) (212.71.98.108) by pb1.pair.com with SMTP; 19 Sep 2004 18:37:24 -0000 Received: from localhost (localhost [127.0.0.1]) by devel.bitflux.ch (Postfix) with ESMTP id D3D6699A18; Sun, 19 Sep 2004 20:37:23 +0200 (CEST) Received: from devel.bitflux.ch ([127.0.0.1]) by localhost (devel.bitflux.ch [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 20083-02; Sun, 19 Sep 2004 20:37:23 +0200 (CEST) Received: from [192.168.0.104] (217-162-112-113.dclient.hispeed.ch [217.162.112.113]) by devel.bitflux.ch (Postfix) with ESMTP id 55C1C999CE; Sun, 19 Sep 2004 20:37:23 +0200 (CEST) Message-ID: <414DD1DD.80205@bitflux.ch> Date: Sun, 19 Sep 2004 20:37:17 +0200 User-Agent: Mozilla Thunderbird 0.8 (Macintosh/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Sam Hobbs Cc: internals@lists.php.net References: <20040919183045.63473.qmail@pb1.pair.com> In-Reply-To: <20040919183045.63473.qmail@pb1.pair.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at bitflux.ch Subject: Re: [PHP-DEV] Copying HTML from a document to another document From: chregu@bitflux.ch (Christian Stocker) 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