epub:zip-package zip-package

epubtools/modules/zip-package/xpl/zip-package.xpl

Import URI: http://transpect.le-tex.de/epubtools/modules/zip-package/xpl/zip-package.xpl

This step expects a file manifest as input and creates a zip-package.

The file manifest should have been this form:

Output Ports

NameDocumentationConnections

result

files

Options

NameDocumentationDefault

base-uri

debug

'no'

debug-dir-uri

'debug'

Subpipeline

StepInputsOutputsOptions

letex:store-debug d152e20

source

opf-fileref on zip-package

result

pipeline-step = 'epubtools/zip-package/opf-filelist'

active = $debug

base-uri = $debug-dir-uri

p:sink d152e31

source

result on d152e20

letex:store-debug d152e32

source

ops-filerefs on zip-package

result

pipeline-step = 'epubtools/zip-package/ops-filelist'

active = $debug

base-uri = $debug-dir-uri

p:sink d152e43

source

result on d152e32

letex:store-debug d152e44

source

ocf-filerefs on zip-package

result

pipeline-step = 'epubtools/zip-package/ocf-filelist'

active = $debug

base-uri = $debug-dir-uri

p:sink d152e55

source

result on d152e44

p:pack d152e56

source

opf-fileref on zip-package

alternate

ops-filerefs on zip-package

result

wrapper = 'document'

wrapper-prefix = 'cx'

wrapper-namespace = 'http://xmlcalabash.com/ns/extensions'

p:pack d152e68

source

result on d152e56

alternate

ocf-filerefs on zip-package

result

wrapper = 'document'

wrapper-prefix = 'cx'

wrapper-namespace = 'http://xmlcalabash.com/ns/extensions'

p:filter d152e75

source

result on d152e68

result

select = '//c:file'

p:wrap-sequence wrap-file-uris

source

result on d152e75

result

wrapper = 'document'

wrapper-prefix = 'cx'

wrapper-namespace = 'http://xmlcalabash.com/ns/extensions'

letex:store-debug d152e77

source

result on wrap-file-uris

result

pipeline-step = 'epubtools/zip-package/merged-filelist'

active = $debug

base-uri = $debug-dir-uri

p:xslt generate-zip-manifest

source

result on d152e77

stylesheet

p:document../xsl/generate-zip-manifest.xsl

result

letex:store-debug d152e93

source

result on generate-zip-manifest

result

pipeline-step = 'epubtools/zip-package/zip-manifest'

active = $debug

base-uri = $debug-dir-uri

p:group d152e99

p:variable zip-file-uri

replace($base-uri, '\.(xhtml|html)$', '.epub')

cx:zip zip

source

p:empty

manifest

result on generate-zip-manifest

result

command = 'create'

href = $zip-file-uri

letex:store-debug d152e118

source

result on zip

result

pipeline-step = 'epubtools/zip-package/zip-result'

active = $debug

base-uri = $debug-dir-uri

Used by