I'm relatively new to ePub format, but if I understand well, to make programmatically an ePub starting from XHTML or PDF content could mean:
- choose HTML or XHTML content and validate them with an XHTML validator (or clean them with Tydy)
- choose PDF file to insert in the ePub
- create the XML manifest or XML packing files and TOC file
- zip the whole files in a .epub file
- validate the ePub (I saw something in Google code)
So my question is if there is some sort of high level Java API to do these steps. Sure I can use API for ZIP, XML in Java, but does it exist higher tools?
thanks a lot
------ EDIT -------
I've developed an open source project to do that!