View Full Version : XML Parser

02-24-2003, 11:57 PM
Hello, I want to work with XML, so I took a look at expat, but it seems like it doesn't offer some of the fflexibility that I need. For instance, I need a way to parse only certain parts of a document or count the number of child tags that a tag has. Is there a parser that I would be able to access nodes in a more random order? Thanks a lot.

02-25-2003, 01:13 PM
Alternatively, you could try the DOMXML extension. Though as I understand, it also parses the complete tree into memory. Depending on the size of your document, that might be quite resource demanding.

There's also lot of stuff in the XML department of PEAR:

Maybe you find something of interest to you there. Good luck. :)