added prettyXML:w