app-text/
libxmlpatch

A set of tools to create and apply patch to XML files using XPath

http://xmlpatch.sourceforge.net/