updated getContent to getRawXML for result-writing