I am comparing two XML files input by the user, using SAX.
As of now, I am parsing the first XML file and storing the contents in variables.
Then, the second XML file is parsed and it's contents are compared with the stored variables.
Is there any other efficient way by which this comparison can be achieved?
I hope this makes sense.