XML library

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View


Could you please recommend a php xml library which is as simple as
SimpleXml but doesn't require the XML file to be loaded totally

I'm manipulating a huge file and I can't afford waiting for it to load
each time I make a change.

Thank you

Re: XML library

ammoun wrote:
Quoted text here. Click to load it

Nope.  For XML to be valid, ANY xml parser must have all the tags match
- including the outer tag.  So the parser must have the entire file

Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.

Re: XML library

On Sun, 28 Mar 2010 09:39:36 -0700, ammoun wrote:
Quoted text here. Click to load it

I doubt you'll find anything quite as simple as SimpleXML, but XMLReader
is built into PHP from version 5.1 onwards, and is a pull parser that
doesn't require the full XML file to be loaded to start reading it.


Site Timeline