XMLUnit extends JUnit and NUnit to enable unit testing of XML.
It compares a control XML document to a test document or the result of a transformation, validates documents, and compares the results of XPath expressions.
Download
xmlunit for Java - XMLUnit for Java 1.2
Last Update: Jun 11 2008