note 96127 deleted from class.xmlreader by danbrown
| From: | danbrown@php.net | Date: | Wed, 10 Feb 2010 11:40:24 +0000 |
| Subject: | note 96127 deleted from class.xmlreader by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-165825@lists.php.net to get a copy of this message | ||
Note Submitter: careybaird at REMOVETHIS dot googlemail dot com
----
I am looking for a way to reset the XML reader. There does not appear to be a method to do this, so
at the moment I am opening the XML file again (which is not ideal as this is making another request
to an external server).
Does anyone know if this is possible?
e.g. something like:
$xml = new XMLReader();
$xml->open($url);
while ($xml->read())
{
#Â Do Stuff
}
$xml->reset();
It is the reset() method here that I am missing...