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:
Input Ports
Name | Documentation | Connections |
---|---|---|
ocf-filerefs | ||
opf-fileref | ||
ops-filerefs |
Output Ports
Name | Documentation | Connections |
---|---|---|
resultⓅ | ||
files |
Options
Name | Documentation | Default |
---|---|---|
base-uriⓇ | ||
debug | 'no' | |
debug-dir-uri | 'debug' |
Subpipeline
Step | Inputs | Outputs | Options | |
---|---|---|---|---|
letex:store-debug d152e20 |
| result | pipeline-step = 'epubtools/zip-package/opf-filelist' active = $debug base-uri = $debug-dir-uri | |
p:sink d152e31 | ||||
letex:store-debug d152e32 |
| result | pipeline-step = 'epubtools/zip-package/ops-filelist' active = $debug base-uri = $debug-dir-uri | |
p:sink d152e43 | ||||
letex:store-debug d152e44 |
| result | pipeline-step = 'epubtools/zip-package/ocf-filelist' active = $debug base-uri = $debug-dir-uri | |
p:sink d152e55 | ||||
p:pack d152e56 |
| result | wrapper = 'document' wrapper-prefix = 'cx' wrapper-namespace = 'http://xmlcalabash.com/ns/extensions' | |
p:pack d152e68 |
| result | wrapper = 'document' wrapper-prefix = 'cx' wrapper-namespace = 'http://xmlcalabash.com/ns/extensions' | |
p:filter d152e75 | result | select = '//c:file' | ||
p:wrap-sequence wrap-file-uris | result | wrapper = 'document' wrapper-prefix = 'cx' wrapper-namespace = 'http://xmlcalabash.com/ns/extensions' | ||
letex:store-debug d152e77 |
| result | pipeline-step = 'epubtools/zip-package/merged-filelist' active = $debug base-uri = $debug-dir-uri | |
p:xslt generate-zip-manifest |
| result | ||
letex:store-debug d152e93 |
| 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 |
| result | command = 'create' href = $zip-file-uri | |
letex:store-debug d152e118 | result | pipeline-step = 'epubtools/zip-package/zip-result' active = $debug base-uri = $debug-dir-uri |