Re: Re: XML_Serializer, XML_Tree working in PHP5.1 ?
| From: | Lukas Smith | Date: | Thu, 19 Jan 2006 08:20:22 +0000 |
| Subject: | Re: Re: XML_Serializer, XML_Tree working in PHP5.1 ? | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-22598@lists.php.net to get a copy of this message | ||
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)
{ $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();
}
.. ah i only use the serializer not the unserializer ..
regards,
Lukas