got rid of the dom4j dependency, and instead replaced it with XOM