are you aware of the "-html" option of "dom parse" (http://tdom.github.io/dom.html)? it handles most html pages, and has no problems with "missing" end tags for LI
all the best -gustaf nejmann
I used "-html" parameter on "dom parse". Have a look
set doc [dom parse -html $result]
set doc [dom parse -simple -html $result]
Syntax errors still remains.