Edit xml