Write a function to compare two xml files
bool CompareXMLFiles(string fileName, string fileName);
Scenario
1. Path to files are given
2. We have to compare the content of xml files.
3. Xml with different element position would be same i.e.
<Tests>
<Test>UI<Test>
<Test>Functional<Test>
</Tests>
is same as
<Tests>
<Test>Functional<Test>
<Test>UI<Test>
</Tests>
4. Different position of attributes can be there e.g.
<Test Id="4" No="50">Functional<Test>
is same as
<Test No="50" Id="4">Functional<Test>
5. One Xml file can contain comments and other can/cannot but this is same
1