Step epub-load {http://www.daisy.org/ns/pipeline/xproc}

Create a fileset from a zipped or unzipped EPUB.

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

Output Ports

Port Description
result.fileset primary

The result fileset. If a .opf file was specified for the href option, the fileset does not contain the "mimetype" and "META-INF/container.xml" files. The navigation document is marked with a role="nav" attribute.

result.in-memory sequence
validation-report sequence

The validation report

The port is empty if the validation option is set to 'false' or if the input is a valid EPUB.

validation-status

The validation status document

'ok' if the input is a valid EPUB, 'error' otherwise.

Options

Local Name Namespace URI Default Description
href required

A zipped EPUB (.epub file), an EPUB package document (.opf file) or the mimetype file of an EPUB.

version

EPUB version: "2" or "3"

If not specified, the version will be detected automatically.

store-to-disk 'false'

Ensure that all files from the result fileset exist on disk. It is an error if this option is true and the value of the temp-dir option does not identify a directory.

validation false()

Whether to perform validation of the input.

temp-dir

Empty directory dedicated to this step. Mandatory when store-to-disk option is 'true' or when validation option is not 'off'.