title: To find delta difference between xmls and list the difference in Xquery
body: <p>I'm trying to find the difference between two xmls following the below steps.</p>
  <ol>
  <li>Get all distinct paths of inner child elements of both left and
  right xml.</li>
  <li>Loop through the left path and check if it matches any
  right path.</li>
  <li>If it is not matched,then it is a new element.</li>
  <li>If it matches,I'm doing map1-map2 of child elements.This gives me the
  changed child elements(both element and attribute changes).</li>
  </ol>
  <p>But I need to identify what has changed,whether element text or attribute value and list it.</p>
  <p>Please let me know an approach in Xquery to do this.</p>