RE: [xsl] Saxon param to supress output

Subject: RE: [xsl] Saxon param to supress output
From: "Robert Soesemann" <rsoesemann@xxxxxxxxxxx>
Date: Mon, 6 Dec 2004 19:20:26 +0100
Thank, but I found a much easier way. I just use xslt's extension
parameter and mark each file with *.deleteme and use the <delete task
afterwards . ;-)

R.

-----Original Message-----
From: Michael Kay [mailto:mike@xxxxxxxxxxxx]
Sent: Montag, 6. Dezember 2004 19:05
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: [xsl] Saxon param to supress output


You can supply an OutputURIResolver to Saxon, but I'm not sure what you
would do with it. If the output isn't written to a file, what do you
want to happen to it?

(In any case, you probably can't do this via the Ant interface. You
might be better off treating the XSLT 2.0 transformation as a custom
user-written Ant task rather than as an XSLT task, since the ant XSLT
task seems to be designed with XSLT 1.0 in mind.)

Michael Kay
http://www.saxonica.com/

> -----Original Message-----
> From: Robert Soesemann [mailto:rsoesemann@xxxxxxxxxxx]
> Sent: 06 December 2004 17:52
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] Saxon param to supress output
>
> I am a XSLT2 feature from Saxon8 inside an Ant script. Ourput
> files will
> be specified insede the xsl with xsl:result-document.
>
> But the Ant xslt task forces me to provide @destdir and
> copies the input
> files there. Even if they are empty they get copied unnessecarily.
>
> Can I pass a parameter to Saxon or the XSLT task to not write xsl
> results to a file?
>
> Thanks,
> Robert

Current Thread