ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephane Bailliez <>
Subject RE: xslt task fatal error
Date Fri, 14 Jun 2002 15:19:19 GMT
> -----Original Message-----
> From: Shaw, Chris []
> I still have the same problem (as below) with the fatal error, but in
> addition there are 2 more (hopefully simpler?) questions.
> Firstly, it seems that the 'style' attribute has been 
> deprecated. How am I
> supposed to specify the location of the stylesheet in the xslt task?
> I have various different .xsl stylesheets all living in different
> directories, but they all are run over the same xml file.

It's not the attribute that has been deprecated it's the way to specify the
Previously the way to specify it was not very intuitive and was relative to
the value set in the 'basedir' attribute (ie <style basedir=''>), now as all
tasks it is set relative to the project basedir (ie <project basedir=''/>)

> Secondly, how do I stop the xslt task generating an output 
> file? I am using
> org.apache.xalan.xslt.extensions.Redirect within my 
> stylesheet to handle my file output.

What I usually do is to specify a temporary dummy file.
For example: ${}/style.tmp



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

View raw message