I have 2 xml files. How can I compare both files are equal or not by using xslt? If not equal means where the changes havebeen occur in the second xml?
XSLT is best used for transforming one XML dialect to another.
To compare XML files, I would use an XML parser on your platform and compare the documents using it.
It is possible to compare the two, but I would advise against it, if you have other options.