Manipulate XML working