I think tinyXml2 would be an awful IR. Have you looked at its APIs? Yuck! Half of the crappiness of the current parsing code comes from using tinyXml in the first place. If XML is your one true god, then something like http://www.codesynthesis.com/products/xsd/ would be vastly superior to tinyXml. 