I have the following pipeline:
1. start with xml which contains file references (images)
2. transform to xsl-fo
3. render xsl-fo to pdf-file using the file references
4. save the pdf-file
5. delete the files referenced in the original xml-file
Normally the original xml is not present anymore in the babeldoc document after step 2 (?); is there a way to backup the original xml-file and get it back again at the end in stage 5, in order to parse it and get the file references ?
Thanks for any hints,
Jan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I have the following pipeline:
1. start with xml which contains file references (images)
2. transform to xsl-fo
3. render xsl-fo to pdf-file using the file references
4. save the pdf-file
5. delete the files referenced in the original xml-file
Normally the original xml is not present anymore in the babeldoc document after step 2 (?); is there a way to backup the original xml-file and get it back again at the end in stage 5, in order to parse it and get the file references ?
Thanks for any hints,
Jan
Use a callStage to do steps 2-4 and set discardResults=true.
Sherman
Sherman,
it works; I have put steps 2-4 in a separate pipeline which I called with CallStage + discardResults=true.
Thanks,
Jan