On Nov 6, 2008, at 10:02 AM, Ron Van den Branden wrote:

Hi,

Robert Koberg schreef:
I'm wondering if is it possible to specify I/O redirection for the <xslt> task? If not, are there workarounds to get STDOUT and STDERR from XSLT transformations?

If you can use XSL 2.0 then there is the xsl:result-document which lets you write where you want.

Thanks, actually I am using <xsl:result-document> in those XSLT 2.0 stylesheets without problems, but those can't redirect the STDOUT and STDERR from the transformation process, can they?

Oh, well you could:

$ ant mytask > some.txt

You could also implement your own:
http://www.saxonica.com/documentation/javadoc/net/sf/saxon/event/Emitter.html

best,
-Rob

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to