xml.ocf.load.xpl Maven / Gradle / Ivy
Create a fileset from a zipped or unzipped EPUB.
A zipped EPUB (.epub file), an EPUB package document (.opf file) or the mimetype file
of an EPUB.
EPUB version: "2" or "3"
If not specified, the version will be detected automatically.
Ensure that all files from the result fileset exist on disk. It is an error if this
option is true and the value of the temp-dir
option does not identify a
directory.
Whether to perform validation of the input.
Empty directory dedicated to this step. Mandatory when store-to-disk
option is 'true' or when validation
option is not 'off'.
The result fileset. If a .opf file was specified for the href
option,
the fileset does not contain the "mimetype" and "META-INF/container.xml" files. The
navigation document is marked with a role="nav"
attribute.
The validation report
The port is empty if the validation
option is set to 'false' or if the
input is a valid EPUB.
The validation
status document
'ok' if the input is a valid EPUB, 'error' otherwise.
px:message
px:assert
px:set-base-uri
px:fileset-create
px:fileset-unzip
px:fileset-from-dir
px:fileset-add-entry
px:fileset-add-entries
px:fileset-join
px:fileset-load
px:unzip
px:epub-validate
pxi:opf-manifest-to-fileset
{$version}
{$version}