Menu

backing up xml

Help
vanstalle
2005-05-31
2013-04-16
  • vanstalle

    vanstalle - 2005-05-31

    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

     
    • Sherman Wood

      Sherman Wood - 2005-05-31

      Use a callStage to do steps 2-4 and set discardResults=true.

      Sherman

       
    • vanstalle

      vanstalle - 2005-06-01

      Sherman,

      it works; I have put steps 2-4 in a separate pipeline which I called with CallStage + discardResults=true.

      Thanks,

      Jan

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.