LaTeXML fails with many documents.
PlasTeX, https://github.com/plastex/plastex/
appears to be able to parse and convert much more latex documents. It is a python parser with templated output.
IMHO, it should be tried first, and latexml only as fallback option if it fails.