possible to get DOM of a poor formed html url?
| Newsgroups | gmane.comp.mozilla.devel.dom |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <[email protected]> |
I have the text of a poorly formed html document (EG www.engdaget.com), is it possible to make a DOM obj from it, even though it is poorly formed? Using a DOMParser returns a parsererror, saying it is not well-formed. Is there any other way? I'm trying to extract link tags and examine the attributes but would hate to resort to regular expressions and string parsing... Thanks!!