Hi all,
I need to compare two xml files.So far i tried using QDomDocument and QDomNode:perator() == but i failed since the book properties can be in any order.All i need to do is compare both file and say they are same or not.For example:-

File1.xml

Qt Code:
  1. <Book class="B1" name="ABC">
  2. <property name="Price">
  3. <int>85</int>
  4. </property>
  5. <property name="author">
  6. <string>Hypo</string>
  7. </property>
  8. </widget>
To copy to clipboard, switch view to plain text mode 

File2.xml

Qt Code:
  1. <Book class="B1" name="ABC">
  2. <property name="Price">
  3. <int>85</int>
  4. </property>
  5. <property name="author">
  6. <string>Hypo</string>
  7. </property>
  8. </widget>
To copy to clipboard, switch view to plain text mode 
Can anyone guide me on this.How can i proceed?