R
Rumpa
Hi,
I have an XML file which has holds actual result. I have another XML file which has the expected result. I need to compare these two and see if they
are the same. Whitspaces and placement of the elements might be diferent. What is the best way to handle this?
Example:
Got this result:
<store>
<book>
<name>XYZ</name>
<author>ABC</author>
</book>
</store>
Expected result:
<store>
<book>
<author> ABC </author>
<name> XYZ </name>
</book>
</store>
Thanks,
Rumpa
I have an XML file which has holds actual result. I have another XML file which has the expected result. I need to compare these two and see if they
are the same. Whitspaces and placement of the elements might be diferent. What is the best way to handle this?
Example:
Got this result:
<store>
<book>
<name>XYZ</name>
<author>ABC</author>
</book>
</store>
Expected result:
<store>
<book>
<author> ABC </author>
<name> XYZ </name>
</book>
</store>
Thanks,
Rumpa