title: How compare Two XML Node Structures Delphi
body: <p>Is there a way to compare two xml nodes in Delphi?  </p>
  
  <p>I am using the MSXML parser and loading the xml into an IXmlDOMDocument2.  The nodes are stored in an IXmlDOMNode.  </p>
  
  <p>I would be ok using Delphi's TXMLDocument if it helps.  I do not want to download any third party components.  </p>
  
  <p>I just want to compare the structures of the nodes, not the values.</p>
  
  <p>I saw a similar post/utility for <a href="https://stackoverflow.com/questions/141993/best-way-to-compare-2-xml-documents-in-java">Java</a>, but nothing for Delphi.  </p>
  
  <p>Thank you!</p>