using creatHTMLDocument when DOMParser failed.