Similar issue. Need to convert:
enter code here
<xd:xdiff xsi:schemaLocation="http://xmlns.oracle.com/xdb/xdiff.xsd http://xmlns.oracle.com/xdb/xdiff.xsd" xmlns:xd="http://xmlns.oracle.com/xdb/xdiff.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<?oracle-xmldiff operations-in-docorder="true" output-model="snapshot" diff-algorithm="global"?>
<xd:update-node xd:node-type="text" xd:xpath="/shiporder[1]/item[1]/Date[1]/text()[1]">
<xd:content>2025-10-08T17:10:21.000Z</xd:content>
</xd:update-node>
<xd:update-node xd:node-type="text" xd:xpath="/shiporder[1]/item[1]/Ref[1]/text()[1]">
<xd:content>ABCD00207511700</xd:content>
</xd:update-node>
<xd:update-node xd:node-type="text" xd:xpath="/shiporder[1]/item[1]/country[1]/text()[1]">
<xd:content>Norway</xd:content>
</xd:update-node>
</xd:xdiff>
the above one to:
enter code here
<Date>2025-10-08T17:10:21.000Z</Date>
<Ref>ABCD00207511700</Ref>
<country>Norway</country>
Can someone tell how to do it. The code snippets given in the answers do not work for my problem statement.