Step epub3-safe-uris {http://www.daisy.org/ns/pipeline/xproc}

Change all URIs in a fileset to EPUB-safe URIs.

See Open Container Format 3.0 specification.

Defined in: http://www.daisy.org/pipeline/modules/epub-utils/library.xpl

Input Ports

Port Description
source.fileset primary
source.in-memory sequence

The input fileset

Output Ports

Port Description
result.fileset primary
result.in-memory sequence

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.

mapping

A d:fileset document that contains the mapping from the source files (@original-href) to the copied files (@href).