What is the best way to parse html in google apps script

var page = UrlFetchApp.fetch(contestURL); var doc = XmlService.parse(page); The above code gives a parse error when used, however if I replace the XmlService class with the deprecated Xml class, w...