changes to xmldocument.h