added html/xml parsing