Step mediatype-detect {http://www.daisy.org/ns/pipeline/xproc}

Media type detect

Determine the media type of a file.

Authors:
Name:
Jostein Austvik Jacobsen
E-mail:
josteinaj@gmail.com
Organisation:
NLB
Defined in: http://www.daisy.org/pipeline/modules/mediatype-utils/library.xpl

Input Ports

Port Description
source primary

Fileset

A DAISY Pipeline 2 fileset document as described on http://code.google.com/p/daisy-pipeline/wiki/FileSetDocument.

in-memory sequence

In-memory documents

Output Ports

Port Description
result primary

Result fileset

The same d:fileset that arrived on the input port, but with "media-type"-attributes added to all d:file elements.

Options

Local Name Namespace URI Default Description
load-if-not-in-memory 'false'