I have two xml config files, I need compare ONLY the structure of the two files and display the difference. Please note: when comparing, the values within the xml nodes should be ignored.
ex:
XML 1
----
<recipe>
<ingredients>
<ingredient1></ingredient1><ingredient2></ingredient2>
</ingredients>
<description></description>
</recipe>
XML 2
-----
<recipe>
<ingredients>
<ingredient1></ingredient1>
</ingredients>
<description></description>
<images></images>
</recipe>
The result should be a difference of the two xml files.
xml1 <ingredient2>
xml2 <images>
Help much appreciated.