ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Hoberman <>
Subject Specifying xslt source file with zipfileset
Date Wed, 04 Apr 2007 09:54:44 GMT
I want to transform an xml file that lives in a zip file.  I'm trying to 
  do this by nesting zipfileset within an xslt task.  I've also tried 
nesting a zipfile.

The xslt task seems to be looking for p.xml in the basedir rather than 
within the zip.

Any help appreciated.

Richard Hoberman

1.  Here is my build file:

<project name="" default="default" basedir=".">	
    <target name="default">
       <xslt style="odt2docbook.xsl" destdir="." excludes="*" 
          <zipfileset src="" includes="p.xml"/>
          <!-- zipentry zipfile="" name="p.xml" / -->
          <mapper type="glob" from="*.xml" to="*.1.xml" />

2.  Here is the result:

Buildfile: /home/rhoberma/workspace/spec-converter/build.xml
      [xslt] Transforming into /home/rhoberma/workspace/spec-converter
      [xslt] Processing /home/rhoberma/workspace/spec-converter/p.xml to 
      [xslt] Loading stylesheet 
      [xslt] Failed to process null

/home/rhoberma/workspace/spec-converter/p.xml (No such file or directory)

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message