How to compare document objects in java with XERCES?
I am trying to compare two Document objects and try to make operation according to result. For example I will have a Document object like,
<head>
<value> </value>
</head>
and I will compare with another document object like,
<head>
</head>
If the two Document objects will not be in the same format, I want开发者_Python百科 to do some operation. Can you please help me about this situation ?
Thank you all
XMLUnit is designed to do this kind of comparison, specifically for unit testing. But it can surely be used for other uses as well.
精彩评论