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

Apply rename actions defined in a mapping document

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

Input Ports

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

The input fileset

mapping

The mapping document is a d:fileset that maps files in the source fileset (@original-href) to files in the result fileset (@href).

Output Ports

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

The output fileset.

If the mapping document has a xml:base attribute, it will be used as the new base of the output fileset.

The base URI of in-memory documents are changed if needed, and "original-href"-attributes are added for files that exist on disk.