Thank you for your answer ,

but I'm a little bit confused, would this methode also work, if the zip file contains not only xml-files but also pictures. For example ein Open Document Writer file. I would like to have a methode where I can unpack the full odt files.

Best regards,
H.

Geert Josten wrote:
Hi,

I extended the ZipSource component to accept zip-protocol patterns
without the addition of special files. But the Source is supposed to
produce content and you cannot produce the literal zip contents, so I
chose to produce a dir-listing of the zip. I use that to generate new
zip-url's that exhaustingly point to all files inside zip. Processing
that list with a component like savefiles or writesource should result
in extraction of a complete zip.

HTH,
Geert Drs. G.P.H. Josten
Consultant
Daidalos BV
Source of Innovation
Hoekeindsehof 1-4
2665  JZ  Bleiswijk
Tel.: +31 (0) 10 850 1200
Fax: +31 (0) 10 850 1199
www.daidalos.nl
KvK 27164984


De informatie - verzonden in of met dit emailbericht - is afkomstig van 
Daidalos BV en is uitsluitend bestemd voor de geadresseerde. Indien u dit 
bericht onbedoeld hebt ontvangen, verzoeken wij u het te verwijderen. Aan dit 
bericht kunnen geen rechten worden ontleend.
From: HGENTO [mailto:[EMAIL PROTECTED] Sent: vrijdag 25 mei 2007 13:52
To: [email protected]
Subject: unpack/unizp a complete zip file?

Hi,

how can I unzip a zip file with an sitemap instruction. I have access to a special file with zip:/file.zip!/file.xml but I would like to have an instruction to unzip the complete file.zip. Is there a easy way to do so in Cocoon 2.1.? I did't found a answer on wiki as well as apache cocoon homepage.

Regards,
Holger

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to