first post here and can't find exactly what I need.I have 2 XML documents which have a similar but slightly different structure, and possibly different values in the tags.I need to go through all leaf nodes in one XML, and if the same tag (by full XPath location only) is located in the other XML, I need to copy the value to the target XML.I need to do this automatically. Attributes are not used.For example, my base:\[code\]<root> <a>abc</a> <b>def</b></root>\[/code\]Target:\[code\]<root> <a>xyz</a> <c>ghi</c></root>\[/code\]Expected output:\[code\]<root> <a>abc</a> <c>ghi</c></root>\[/code\]The use of XSLT and simple Linux tools / shell script would be highly preferable to a third-party tool.Thank you!