Converts web pages html structure into an xml doc.