Add escribirXML() method on Save button pressed