copy of repo 'xmlparser' with boost smart pointers