Using toPrettyXML now; don't need this