Fixed XmlTidy to work with output from SOLR