Re: [PHP] PHP5 DOM

2005-02-22 Thread Sergio Gorelyshev
On Tue, 22 Feb 2005 15:02:38 +0200 Sergio Gorelyshev <[EMAIL PROTECTED]> wrote: It's work!!! :-) Thanks. Here is a valid code: appendChild(($root = $dom->createElement("test1")));

Re: [PHP] PHP5 DOM

2005-02-22 Thread Sergio Gorelyshev
On Tue, 22 Feb 2005 06:58:12 -0500 Yann Larrivee <[EMAIL PROTECTED]> wrote: > Hi Sergio maybe you should have a look at importNode > http://ca3.php.net/manual/en/function.dom-domdocument-importnode.php I've been tried to use this function. There are no results. This function (as well as appendC

Re: [PHP] PHP5 DOM

2005-02-22 Thread Sergio Gorelyshev
Sorry. There is a mistake. Hi to all. I have a problem. I need to "glue" 2 or more DomDocument? objects to one. After hours of hard coding I've came to the conclusion that there is no possibility to use >>PHP 5.0.3<< to realize it. Is there anybody who could break this conclusion and give me

Re: [PHP] PHP5 DOM

2005-02-22 Thread Yann Larrivee
Hi Sergio maybe you should have a look at importNode http://ca3.php.net/manual/en/function.dom-domdocument-importnode.php I beleive this is what you need along with Normalize. Good luck. Yann On Tuesday 22 February 2005 06:54, Sergio Gorelyshev wrote: > Hi to all. I have a problem. I need to "g

Re: [PHP] PHP5: DOM->removeChild Problem

2005-01-25 Thread Christian Stocker
On Fri, 21 Jan 2005 12:02:51 +0100, Mike Blank <[EMAIL PROTECTED]> wrote: > Hi Guys! > > I've got a problem with Dom and php 5.0.2. I'm trying to access an xml > node with $item = $objDom->documentElement->childNodes->item(0);. That > seems to work, because on the next line I can output the node V

Re: [PHP] PHP5 DOM extension as a PECL package for PHP4?

2004-08-20 Thread Christian Stocker
Not at all possible PHP5/DOM uses a lot of ZendEngine 2 specific feature, you can't port it to PHP 4 chregu On Fri, 20 Aug 2004 10:56:41 +, libogen . <[EMAIL PROTECTED]> wrote: > Hi All, > > I was just wondering if there's any possibility that someone will port > PHP5's DOM extension to PHP