<
p:declare-step xmlns:p=
"http://www.w3.org/ns/xproc" xmlns:px=
"http://www.daisy.org/ns/pipeline/xproc" xmlns:pxi=
"http://www.daisy.org/ns/pipeline/xproc-internal" version=
"1.0" type=
"pxi:epub3-ocf-zip" name=
"main">
<
p:input port=
"source"/>
<
p:output port=
"result">
<
p:pipe step=
"store" port=
"result"/>
</
p:output>
<
p:option name=
"target" required=
"true"/>
<
p:import href=
"http://www.daisy.org/pipeline/modules/fileset-utils/library.xpl">
<
p:documentation>
px:fileset-add-entry
</
p:documentation>
</
p:import>
<
p:import href=
"http://www.daisy.org/pipeline/modules/odf-utils/library.xpl">
<
p:documentation>
px:odf-store
</
p:documentation>
</
p:import>
<
px:fileset-add-entry media-type=
"application/epub+zip" href=
"."/>
<
px:odf-store skip-manifest=
"true" name=
"store">
<
p:input port=
"source.in-memory">
<
p:empty/>
</
p:input>
<
p:with-option name=
"href" select=
"$target"/>
</
px:odf-store>
</
p:declare-step>