W3C home > Mailing lists > Public > xproc-dev@w3.org > April 2010

RE: Missing something basic . . ?

From: Christopher Ball <christopher.r.ball@gmail.com>
Date: Wed, 21 Apr 2010 13:12:21 -0400
To: "'Dave Pawson'" <dave.pawson@gmail.com>, "'Alex Muir'" <alex.g.muir@gmail.com>
Cc: <Toman_Vojtech@emc.com>, <xproc-dev@w3.org>
Message-ID: <009f01cae175$ce7ea530$0301a8c0@cgifederal.com>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 21 April 2010 17:22:42 GMT