Re: [PHP-DEV] Re: Question on XMLReader

2013-10-02 Thread John Stokes
UPDATE: I figured out number 2. Maybe I had an extra text node in there, but now it's working. Can someone help with the others? -John On 9/26/2013 8:12 PM, John Stokes wrote: Well, fine then. I'm trying to understand the mechanics behind XMLReader::next() and XMLReader::read() Given an X

Re: [PHP-DEV] Re: Question on XMLReader

2013-09-26 Thread John Stokes
Well, fine then. I'm trying to understand the mechanics behind XMLReader::next() and XMLReader::read() Given an XML file like this: $library = ' Of Mice and Men A Tale of Two Cities '; $XMLdoc = XMLReader::XML($library); It seems to me that the XMLReader