Menu

HTTP Client stage loses former attributes

Alain
2004-01-22
2004-01-23
  • Alain

    Alain - 2004-01-22

    I have a pipeline configured to process an XML document that holds every data I need as query parameters in an HTTP request.

    Request works fine and I get desired response, but problem is that I wish to use one data from original document to build the filename under which I wish to store HTTP response using FileWriter stage at the end.
    I store this filename data in an attribute before calling HTTP Client stage, but it gets lost by this HTTP Client stage.

    Is there a way I could keep my former attributes ?

    Thanks

     
    • Dejan Krsmanovic

      I guess that setting pipeline stage config option splitAttributes to true should solve your problem.

       
      • Dejan Krsmanovic

        It seems that splitAttributes option left undocumented in current Babeldoc version. This will be fixed in new version.
        In short - 'true' means that attributes from the old pipeline document should be copied to the new one. By default, splitAttributes is false.

         

Log in to post a comment.