Replaced TinyXML with RapidXml.