Update xmlio.cpp