Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:12911 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 71666 invoked by uid 1010); 20 Sep 2004 03:58:58 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 71608 invoked by uid 1007); 20 Sep 2004 03:58:58 -0000 Message-ID: <20040920035858.71607.qmail@pb1.pair.com> To: internals@lists.php.net References: <20040919183045.63473.qmail@pb1.pair.com> <414DD1DD.80205@bitflux.ch> <20040919193821.25574.qmail@pb1.pair.com> <414DF200.30409@bitflux.ch> <20040919212958.63036.qmail@pb1.pair.com> Date: Sun, 19 Sep 2004 20:58:56 -0700 Lines: 19 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original X-Posted-By: 24.165.85.87 Subject: Re: [PHP-DEV] Copying HTML from a document to another document From: SoCalSam@GMail.com ("Sam Hobbs") "Adam Maccabee Trachtenberg" wrote in message news:Pine.LNX.4.58.0409191856080.16894@miranda.org... > > foreach ($ContentsDocument->childNodes as $Node) { > $n = $Document->importNode($Node, true); > $Cell->appendChild($n); > } Wow! Wonderful! That sure seems to work. That seems to be all I needed. I sure don't understand why I was not able to get that to work; I am sure I tried it, but perhaps I made a mistake that I overlooked. It sure is easy enough; I should have figured it out myself. Again, I really don't know why I did not figure it out myself. I am sorry for all the trouble.