Step fileset-unzip {http://www.daisy.org/ns/pipeline/xproc}

Unpack a ZIP archive.

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

Output Ports

Port Description
result primary

Fileset manifest that lists all the entries in the ZIP, optionally extracted to unzipped-basedir. If the entries were stored to disk, the original-href attributes have the same value as the href attributes. If the entries were not stored to disk, the original-href attributes point to the entries inside the ZIP file.

Options

Local Name Namespace URI Default Description
href required

The value of the "href" option must be an IRI. It is a dynamic error if the document so identified does not exist or cannot be read.

unzipped-basedir

If specified, the ZIP archive is unpacked to this location. It is a dynamic error if the "store-to-disk" option is true and the value of the "unzipped-basedir" option does not identify a directory.

store-to-disk false()

Whether to store the ZIP entries to disk, or only list them in the fileset manifest on the "result" port.

overwrite false()

Whether existing directories and files will be overwritten when "store-to-disk" is set to true.