@finooiigee I have a
utility that attempts to convert HTML to XHTML. It's in no way comprehensive but seems to handle reasonably structured HTML. The result can then be passed to ⎕XML. There are other online and downloadable HTML to XHTML conversion tools.