On 24/04/2008, bgolman <[EMAIL PROTECTED]> wrote: > > Hello everyone! > > I need your help on running the ant task on Linux box. It might sound simple > (and so it was for me), however, things turned out to be rather ugly. Any > kind of help is appreciated. Now, here's what I'm trying to do: > > Suppose I have a build.xml script, which includes a following task: > > <xslt basedir="..." > destdir="..." > includes="*.*" > extension=".xml > style="ContentCleanup.xsl"> > > Basically, what it supposed to is to grab all the XML files from the base > directory, run it through the aforementioned XSL file and output the results > to the destination directory.
That isn't valid with XSLT engines according to the W3C rec. Needs an engine that supports it. It is viable with Saxon, maybe with Xalan I don't know. Slow transforms could be due to you running with the default installed java rather than Sun java, I found that slow. Another option would be to write an XML file which lists the files to be transformed, then use the document() xpath call to process them all. HTH -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]