Initial import of fork from http://github.com/kempchee/miamidecoded-xml-parser, with modification to get it fully functional.