ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Huditsch Roman" <Roman.Hudit...@lexisnexis.at>
Subject AW: Problems with <xslt>
Date Tue, 12 Apr 2005 10:18:02 GMT
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:Roman.Huditsch@lexisnexis.at] 
> 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: user-unsubscribe@ant.apache.org For 
> additional commands, e-mail: user-help@ant.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message