Static values in Rowset (XML to CSV)
Static values in Rowset (XML to CSV)
- Code: Select all
<xmlRead file="${currentFile}" version="1.0">
<rowset name="documentRows" nestedSharedValues="true">
<column index="1" value="/Entries/Row/@RebatePaymentID" name="Payment ID" />
<column index="2" value="/Entries/Row/@RebateProgramName" name="Program Name" />
<column index="3" value="/Entries/Row/@FOO" name="Created By" nullSubstitute="StaticValue" />
</rowset>
</xmlRead>
- SeanC
- Posts: 1
- Joined: Tue Feb 28, 2012 12:52 am
Re: Static values in Rowset (XML to CSV)
The only option I know of in this scenario is to put your Static value in the Write Segment, not the Read Segment. This can be done easily before an Insert into a DB or writing column formatting.
-Rick
- RElliott63
- Posts: 14
- Joined: Thu Jul 01, 2010 9:42 am
Who is online
Users browsing this forum: No registered users and 0 guests