What is the best way to parse (get a DOM tree of) a HTML result of XmlHttpRequest in Firefox?
EDIT:
I do not have the DOM tree, I want to acquire i
You can use the DOMParser to parse HTML - even tag soup:
var parser = new DOMParser() parser.parseFromString('hihelloworld', 'text/html')
helloworld
I don't know if it handles partial table markup well, but it should create the same DOM the browser itself does for pretty much any markup.