[PHP] PHP5 DOM Problem

2008-12-05 Thread Craig Whitmore
Hi there. I don't kno id this is the correct place to post but... I am using the PHP5 DOM to make up RSS Feeds .. A Problem I have is I want to make this up for itunes.. http://www.itunes.com/dtds/podcast-1.0.dtd";> etc.. I use.. $p_dom = new DOMDocument('1.0','UTF-8'); $p_rss = $p_dom-

[PHP] PHP5 DOM & compressed xml

2005-05-04 Thread Jared Williams
Hi, Has anyone got the DOM extension to load compressed XML transparently? libxml2 apparently has this feature, but it appears not present in PHP build. Jared -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP5 DOM & compressed xml

2005-05-04 Thread Jared Williams
Hi, Has anyone got the DOM extension to load compressed XML transparently? libxml2 apparently has this feature, but it appears not present in PHP. Jared -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP5 DOM - DomDocumentFragments empty

2005-03-02 Thread Tobias Tom
Hi, I've a Problem with the DOM Extension in PHP5. I simply want to create a DocumentFragment which can be used in ImportNode for Example. I now that the code beyond may look a little bit strange, but I've simplyfied it as much as it was possible. The Code should print the Contents of the the Fra

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

[PHP] PHP5 DOM

2005-02-22 Thread Sergio Gorelyshev
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.3.0 to realize it. Is there anybody who could break this conclusion and give me an appropriate solution? P.S. I

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

[PHP] PHP5: DOM->removeChild Problem

2005-01-21 Thread Mike Blank
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 Value with echo $item->nodeValue. But when I use the command $objDom->removeChild($it

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

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

2004-08-20 Thread libogen .
Hi All, I was just wondering if there's any possibility that someone will port PHP5's DOM extension to PHP4, maybe making it available as a PECL package? I'm not even sure if it can be done! This would make the better DOM functions available to users maybe a year earlier on shared webhost's ser