[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Saxon param to supress output
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: 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: 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|