Utility to write JUnit XML Documents