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

Creates a fileset document based on a DAISY 3 package file.

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

Input Ports

Port Description
source.fileset primary

Fileset containing the package file of the input DAISY 3 (marked with media-type="application/oebps-package+xml").

Will also be used for loading the other manifest items. When items are not present in this fileset, it will be attempted to load them from disk.

It is assumed that if files are already in memory, the doctype declarations are present as file attributes (see the "detect-serialization-properties" option of px:fileset-load).

source.in-memory sequence

Output Ports

Port Description
result.fileset primary

The fileset entries are ordered as the appear in the manifest element of the input OPF document, except for SMIL documents and their corresponding DTBook documents which are listed in the spine order.

Note: In the resulting fileset, the media type of SMIL documents will be application/smil+xml (as opposed to application/smil in DAISY 3) and the media type of the OPF document will be application/oebps-package+xml (as opposed to text/xml in DAISY 3). The media type of the NCX, DTBook and resources documents will always be application/x-dtbncx+xml, application/x-dtbook+xml and application/x-dtbresource+xml (even though in the 1.1.0 version of DAISY 3 it is text/xml).

All XML documents are loaded into memory.

result.in-memory sequence