Update XML tags using DOM and XPath