Last active
October 17, 2015 15:05
-
-
Save gimsieke/ae28b94e38d867458bc9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<p:declare-step | |
xmlns:p="http://www.w3.org/ns/xproc" | |
xmlns:c="http://www.w3.org/ns/xproc-step" | |
xmlns:pxp="http://exproc.org/proposed/steps" | |
version="1.0" | |
name="zip-info" | |
exclude-inline-prefixes="#all"> | |
<p:documentation>Get zip file info. | |
Invocation: | |
java -jar path/to/xmlcalabash-1.1.5-96.jar zip-info.xpl zip=path/to.zip</p:documentation> | |
<p:output port="result" primary="true"/> | |
<p:serialization port="result" indent="true"/> | |
<p:option name="zip"> | |
<p:documentation>file: URI (may also be relative) of Zip file</p:documentation> | |
</p:option> | |
<p:import href="http://xmlcalabash.com/extension/steps/library-1.0.xpl"/> | |
<pxp:unzip name="unzip"> | |
<p:with-option name="href" select="resolve-uri($zip)"/> | |
</pxp:unzip> | |
</p:declare-step> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment