RE: Missing something basic . . ?

Dave,

Thank you.

As I understand it, not specifying a file to extract returns a summary of
the zip files contents.

Are you then able to extract a file from the zip?

C

-----Original Message-----
From: xproc-dev-request@w3.org [mailto:xproc-dev-request@w3.org] On Behalf
Of Dave Pawson
Sent: Wednesday, April 21, 2010 1:01 PM
To: Alex Muir
Cc: Toman_Vojtech@emc.com; xproc-dev@w3.org
Subject: Re: Missing something basic . . ?

On 21 April 2010 16:12, Alex Muir <alex.g.muir@gmail.com> wrote:
> Hi,
>
> I was having trouble with the unzip function as well.


<p:declare-step type="cx:unzip" name="uz">
  <p:output port="result"/>
  <p:option name="href" required="true"/>
  <p:option name="file"/>
  <p:option name="content-type"/>
</p:declare-step>


<cx:unzip  href='11620.epub' name='unravel' />

Worked for me with Calabash.

regards



-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk

Received on Wednesday, 21 April 2010 17:22:41 UTC