on 08-24-2007 12:25 AM
Hi All,
I have a scenario where the XML structure coming in is:
<?xml version="1.0" encoding="utf-8" ?>
- <ns:MT_PositivePayCheckData xmlns:ns="urn:sce-com:xi:fi:PositivePay">
- <Recordset>
- <Header>
<RecordType>H</RecordType>
<BANKL>133000248</BANKL>
<NAME>Southern California Ediso</NAME>
<EXTRD>20070423</EXTRD>
<EXTRT>091846</EXTRT>
<DBUPD />
<VOID>00000003</VOID>
<UNVD>00000001</UNVD>
<TOTAL>00000004</TOTAL>
<AMNT>000000000000555</AMNT>
<DECM>000</DECM>
<FILLER />
</Header>
- <Detail>
<RecordType>D</RecordType>
<BANKN>4496893413</BANKN>
<CHECF>001003</CHECF>
<CHECT>001003</CHECT>
<ZNME1>ANDREW LLOYD</ZNME1>
<AMNT>000000000000000</AMNT>
<DECM>000</DECM>
<ZALDT>00000000</ZALDT>
<VOIDR>04</VOIDR>
<FILLER />
</Detail>
</Recordset>
</ns:MT_PositivePayCheckData>
The file content conversion parameters are :
Detail.fieldFixedLengths: 1,18,13,13,35,15,3,8,2,21
Detail.addHeaderLine: 0
Header.addHeaderLine: 0
Detail.endSeparator: 'nl'
Header.fieldFixedLengths: 1,15,25,8,6,1,8,8,8,15,3,31
Header.endSeparator: 'nl'
the output file is generated is :
H133000248 Southern California Ediso20070423091846 000000030000000100000004000000000000555000
D4496893413 001003 001003 ANDREW LLOYD 0000000000000000000000000004
Now I don't want H and D to come in the starting of the string
XIer
Hello,
If you don't want H & D then don't map the RecordType field in the target message. u won't get in the output XML. Now in conversion paramters remove the first length <b>1</b> ..
Best regards,
raj.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.