Edit XML data