Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 1065

Re: Need help generating XML from a table

$
0
0

Hi Santhosh,

 

Thanks for replying. I'm loading into a template XML file so I don't have the xsd file. Please check the below output I'm getting. Since it has two records , the <PmtInf> is repeated twice.

 

<?xml version="1.0" encoding="UTF-8" ?>

- <Document xmlns:xsi="http://www.w3.org/2001/XMLSchema" >

- <CstmrDrctDbtInitn>

- <GrpHdr>

<MsgId>CAVAY1234</MsgId>

<CreDtTm>2013-06-02T14:25:00</CreDtTm>

<NbOfTxs>2</NbOfTxs>

<CtrlSum>1085</CtrlSum>

- <InitgPty>

<Nm>Smith</Nm>

</InitgPty>

</GrpHdr>

- <PmtInf>

<PmtInfId>CAVAY/88683</PmtInfId>

<PmtMtd>DD</PmtMtd>

- <DrctDbtTxInf>

<InstdAmt Ccy="GBP">985</InstdAmt>

<Ustrd>CAR INSURANCE PREMIUM</Ustrd>

</DrctDbtTxInf>

- <DrctDbtTxInf>

<InstdAmt Ccy="GBP">100</InstdAmt>

<Ustrd>Bike INSURANCE PREMIUM</Ustrd>

</DrctDbtTxInf>

</PmtInf>

<PmtInf>

<PmtInfId>CAVAY/88683</PmtInfId>

<PmtMtd>DD</PmtMtd>

- <DrctDbtTxInf>

<InstdAmt Ccy="GBP">985</InstdAmt>

<Ustrd>CAR INSURANCE PREMIUM</Ustrd>

</DrctDbtTxInf>

- <DrctDbtTxInf>

<InstdAmt Ccy="GBP">100</InstdAmt>

<Ustrd>Bike INSURANCE PREMIUM</Ustrd>

</DrctDbtTxInf>

</PmtInf>

</CstmrDrctDbtInitn>

</Document>


Viewing all articles
Browse latest Browse all 1065

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>