Re: Create ZIPs of output

Nicholas Mucks

Hi Aliza,
Wow — beautiful. Thanks a lot.  Works fine!

Take care,
- Nick

Sent from mobile

On Dec 28, 2020, at 10:30 AM, Aliza Merzel <alizam@...> wrote:



You can create your own transtype, which calls (for example) html5 or pdf and afterwards has a target that zips up the output.


<target name="">
<zip file="${output.dir}/">
<zipfileset dir="${output.dir}">
<include name=”*.*"/>







Aliza Merzel

Senior Developer and XML Specialist

Phone: +972 8-976-0323

Email: alizam@...


Connect with us:  





From: [] On Behalf Of Nicholas Mucks via
Sent: Monday, December 28, 2020 8:16 PM
Subject: [dita-users] Create ZIPs of output




Has anyone created zip outputs from DITA-OT plugins? I’d like to create X number of zip files of a normalized DITA package based on a runtime parameter value. I’m currently doing this in a script after the DITA-OT, but it would be cool to bake this logic into the transform.


Thanks for any suggestions!


Take care,

- Nick


Sent from mobile

Join to automatically receive all group messages.