
xml.xproc.step.epub3-to-daisy202.convert.xpl Maven / Gradle / Ivy
px:assert
px:set-base-uri
px:fileset-load
px:fileset-update
px:opf-spine-to-fileset
pxi:create-ncc
Extract and verify the OPF.
Convert from EPUB 3 SMIL to DAISY 2.02 SMIL.
Load SMIL files.
Convert from EPUB 3 HTML to DAISY 2.02 HTML.
Get spine.
Load content documents.
Normalize HTML5.
Downgrade to HTML4. This preserves all ID.
Create DAISY 2.02 fileset manifest.
- Delete package document (OPF).
- Delete table of contents (NCX).
- Delete original navigation document. It will be replaced with the generated NCC.
- Delete mimetype and META-INF/.
- Delete files outside of the directory that contains the OPF.
Create NCC file.
Rename content documents to .html.
Change base URI.
Update links to other HTML files.
Update links from SMIL to HTML.
Finalize DAISY 2.02 fileset manifest.
Combine DAISY 2.02 HTML, NCC and SMIL files with resources from input EPUB 3 fileset.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy