xml.epub2-to-epub3.xpl Maven / Gradle / Ivy
The newest version!
The EPUB 2 fileset
The EPUB 3 fileset
Location of the result EPUB
In case of a unzipped EPUB this should point to the base directory of the EPUB, in
case of a zipped EPUB this should point to the EPUB file with '!/' added at the end.
px:error
px:fileset-copy
px:fileset-rebase
px:fileset-load
px:fileset-update
px:html-upgrade
px:epub3-ensure-core-media
px:epub-upgrade-package-doc
px:epub-guide-to-landmarks
px:epub3-add-navigation-doc
px:epub3-nav-from-ncx
px:epub-rename-files
Normalize input fileset: make sure that the base is the directory containing the mimetype file
Move to new location
Filter out resources that are not EPUB 3 core media types:
- application/x-dtbook+xml
- application/xml
- text/x-oeb1-css
- text/x-oeb1-document
Upgrade HTML
Update doctype
Rename files to .xhtml.
Upgrade package document
Create navigation document
Convert pageList to page-list
Convert guide to landmarks