Step epub3-add-prefix {http://www.daisy.org/ns/pipeline/xproc}

Add prefix declarations to the prefix attribute

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

Input Ports

Port Description
source primary

OPF or HTML document that may have a prefix (epub:prefix) attribute on the root element.

Output Ports

Port Description
result primary

The result document with the new prefix declarations added to the prefix (epub:prefix) attribute. If no attribute existed yet, one is created. The mappings are merged in such a way that every prefix is unique and no two prefixes are mapped to the same URI.

Options

Local Name Namespace URI Default Description
prefixes required

The prefix declarations to add