Migrate from Xml to XmlService via http://googleappsdeveloper.blogspot.jp/2013/07/xml-changes-in-apps-script.html?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed:+GoogleAppsDeveloperBlog+(Google+Apps+Developer+Blog)