Forum Discussion

Szymon's avatar
Szymon
New Contributor II
5 years ago

Dynamic File Writer filename after XML Formatter possible?

Hello,

Is there a simple way, to pass filename to File Writer, after XML Formatter was executed?
In the Mapper:

  • filename shall be constructed into $filename. XML
  • JSON content for saving als XML shall be constructed into $content
    XML Formatter makes an XML out of JSON $content
    File Writer writes XML $content a file into $filename.

Can SL do such a sophisticated task?
I know that CSV Formatter e.g. can pass variables via header, but XML?

thank you & kind regards
Simon