Added get xml method