unofficial clone of rapidxml from http://rapidxml.sourceforge.net