Re: Re: XML_Serializer, XML_Tree working in PHP5.1 ?
| From: | Dan Rossi | Date: | Thu, 19 Jan 2006 09:43:01 +0000 |
| Subject: | Re: Re: XML_Serializer, XML_Tree working in PHP5.1 ? | ||
| References: | 1 2 3 4 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-22600@lists.php.net to get a copy of this message | ||
Ok well I read what was on the XML_Tree homepage and freaked so decided to go with this, they both interface with XML_Parser so cant see the difference ? Anyway this seems easier to use.
On 19/01/2006, at 7:20 PM, Lukas Smith wrote:
Dan Rossi wrote:Thanks Lukas, sorry i had to dig into the class i had to set a flag to true to parse a file function retrieveXML($url).. ah i only use the serializer not the unserializer .. regards, Lukas{ $this->_us = &new XML_Unserializer(); $this->_us->setOption('parseAttributes', true); $result = $this->_us->unserialize($url,true); if (PEAR::isError($result)) { return $result; } return $this->_us->getUnserializedData(); }