sically I am getting System Configuration of two systems, Machine-1 and Machine-2 in individual XML files.
Such as BIOS_Machine1.xml, Installed_Softwares_machine1.xml, Windows_Updates_Machine_1.xml
BIOS_Machine2.xml, Installed_Softwares_machine2.xml, Windows_Updates_Machine_2.xml
Similarly I am extracting the same type of information from Machine2 as XML files.
I can compare the two XML files using xmldiff. But I need to show the output in a tree by visually highlighting the difference. That is why i went with treeview. From the XMLs, irrespective of which level of node the item appears. For example, I just need to find if "Microsoft Outlook" is present in XML of Machine2. In Installed_Softwares_machine1.xml it might be first in the list, but Installed_Softwares_machine2.xml it can be the 10th item. but the XMLDIFF still considers this as a diff when it is actually not. I understand it is because of the XML data format.
as long as the software is present in both the nodes it is not a difference.
If the "Microsoft Office" is present in the Installed_Softwares_machine2.xml, then the other properties like DisplayVersion,InstallDate,Publisher needs to be compared.