A good XML tokenizer. Check the DumpXML class.