You are not logged in.
Announcement
Unanswered posts
|
Hi,
You can use a tFlowToIterate and a tFixedFlowInput.
[a component...]----rowX---->[ tFlowToIterate ]----Iteration---->[ tFixedFlowInput ]----rowY---->[ t FileOutputXML ]
In the tFixedFlowInput, set the correct schema you want to output in your xml. Then map the columns using tFlowToIterate.columnName. The autocompletion should change this to ((String)globalMap.get("rowX.columnName")).
In your tFileOutputXML, you can complete the filepathfield with those vars, such as "file" + rowX.id + "_" + rowX.beginDate + ".xml"
Regards,
Lie
Hello,
I have a first parameter P1 (begin date) and a second parameter P2 (duration).
I want to generate one XML file per day.
Example : P1 = 25/05/2010, P2 = 2
25/05/2010 - 1 - toto
25/05/2010 - 2 - titi
26/05/2010 - 3 - tata
I want 2 files :
file1_25052010.xml
file2_26052010.xml
How can I do ?
Thanks for your help.