The xmlReader API uses a reader object that progresses through
the file (advanced by xmlReaderRead()), stopping at points of
interest (start/end elements, text contents, sub-elements, etc). The
functions xmlReaderGetType() and xmlReaderGetName() are
essential for figuring out where the reader object is after each
xmlReaderRead() call.
See the sample xmlReader01_Example for examples of
working with the xmlReader API.