added functionality to xmlutils