templated fork of the excellent tinyxml2 library