parse html and xml