How do I use this XML reader?

I found a lightweight XML reader here which I would like to use over TinyXMLReader as it has the ability to parse attributes. The problem is that I have literally no idea how to use this parser. TinyXMLReader provided a working example but this doesn’t provide anything.

So does anyone here have any experience with this particular script? If you do, please provide a simple example of how to use and I’m sure I’ll quickly come to grasps with it.

Thanks.

There are two basic types of XML parser: those that traverse the logical tree as they parse and those that build a tree which you then traverse at your leisure. This is of the latter kind. Generally this is easier and more powerful too. It’s a DOM tree (sort of).