The XML Hammer application is a free and open-source tool that simplifies elementary XML actions like checking for well-formedness, validation, transformation and xpath searches using any JAXP implementation.
A Pythonic binding for the libxml2 and libxslt libraries, lxml is "the most feature-rich and easy-to-use library for working with XML and HTML in the Python language".