edit delete and xml