Project

Profile

Help

Delete of Sucessfully processed file

Added by Anonymous almost 18 years ago

Legacy ID: #4063307 Legacy Poster: smilwicz (smilwicz)

Hello All, I'm using Saxon 6.5.5 to perform a batch XSLT transformation on a directory of files, which outputs to another directory. Is there a way to delete/ or move a file after it is successfully processed. The command I am using is: java -jar saxon.jar -ds -o E:/TranslatedData E:/input work.xslt 2> run_saxon.log Thanks


Replies (1)

RE: Delete of Sucessfully processed file - Added by Anonymous almost 18 years ago

Legacy ID: #4063347 Legacy Poster: Michael Kay (mhkay)

No, there's no such option on the Saxon command line. I'd suggest you take a look at the source code for the Transform command (com.icl.saxon.Transform) and use it as a starting point for writing your own Java application which calls Saxon via the Java API: this will give you much more flexibility than using the command line.

    (1-1/1)

    Please register to reply