added web.parseHTML and web.xmlToEvents