xml.ocf.epub3-safe-uris.xpl Maven / Gradle / Ivy
Change all URIs in a fileset to EPUB-safe URIs.
The input fileset
The output fileset
href
attributes in the fileset manifest are changed to EPUB-safe
URIs. xml:base
and original-href
attributes are left
unchanged. It is assumed that the base URI of the d:fileset
document
corresponds with the root of the EPUB container and that the href
attributes are relative to it. The base URIs of the in-memory documents are updated
accordingly. Cross-references in HTML and SMIL documents are updated too.
A d:fileset
document that contains the mapping from the source files
(@original-href
) to the copied files (@href
).
px:fileset-apply
px:epub-rename-files
Because the renaming may have resulted in duplicate file names
© 2015 - 2025 Weber Informatics LLC | Privacy Policy