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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
I guess that setting pipeline stage config option splitAttributes to true should solve your problem.
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.