Solved it too: <delete> <fileset dir="splitted"> <patternset> <include name="*.xml"/> </patternset> <size value="0" units="Ki" when="equal"/> </fileset> </delete>
wbr, Roman > -----Ursprüngliche Nachricht----- > Von: Huditsch Roman [mailto:[EMAIL PROTECTED] > Gesendet: Dienstag, 12. April 2005 12:18 > An: Ant Users List > Betreff: AW: Problems with <xslt> > > Solved it in the meantime... > But as I take a step forward, I discovered another issue.... > I split my files using <xsl:result-document>, and for what > reason ever I get an empty source file within my result > folder beside the splitted documents. > Now I suppose that I have to delet those 0kb files. > How can I achieve that? > How to delete all files within a given directory whiches > files size is 0kb? > > Thanks a lot. > > wbr, > Roman > > > -----Ursprüngliche Nachricht----- > > Von: Huditsch Roman [mailto:[EMAIL PROTECTED] > > Gesendet: Dienstag, 12. April 2005 11:45 > > An: user@ant.apache.org > > Betreff: Problems with <xslt> > > > > Hi, > > > > I just tried to do a simple XSLT transformation with ant. > > I defined the transformation as follows: > > > > <xslt basedir="source" destdir="added" > > style="stylesheets/add_versioning_information.xslt" > > scanincludeddirectories="false" > classpath="net.sf.saxon.Transform" /> > > > > The problem is now, that it seems that the transformation > ignores my > > <xsl:output method="xml"> within my stylesheet since the process > > produces HTML files..... > > Another issue to solve is that I just want to transform > files directly > > within the "basedir". Files within subdirectories shoult be omitted. > > Is there a simple was to solve those two problems? > > Thank you very much! > > > > wbr, > > Roman > > > > > --------------------------------------------------------------------- > > 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]