To obtain Latexml use http://dlmf.nist.gov/LaTeXML/ (gone) use instead https://github.com/brucemiller/latexml for current repository.
see https://www.arxiv-vanity.com/ for a web page which uses latexml to convert papers to html
See http://latexml.mathweb.org/editor?demo=xii to convert document on the fly to html. past code on the left side.
see http://jblevins.org/log/xml-tools for how to install and use latexml. And an online convertor
for binding see http://trac.mathweb.org/LaTeXML/browser/trunk/lib/LaTeXML/Package (gone)
See http://www.albany.edu/~hammond/demos/Html5/arXiv/lxmlexamples.html for examples of Math papers translated to HTML using Latexml (gone).