Not that I'm aware of. Unless you want to take a look at calibre's source. It unpacks mobis into an oebps-type structure for viewing with it's internal viewer. I think it uses html5lib to serialize the markup unto xhtml. But I'm also pretty sure the very latest version of html5lib has removed its xhtml serializer... for what that's worth. The lxml module's serializer doesn't do a bad job of whipping mobi markup into shape (as long as you fix up the page-break tags and a few other things before-hand).
|