Page 1 of 1

XML Output stage

Posted: Wed Sep 22, 2010 4:47 pm
by sri75
Hi , I am writing data to xml file. we get data from different tables and needs to append the different xml chuncks from different tables to final xml.


I have 2 records coming from the incoming process
2 records have same amount- the oout put from the xml is like this,
<CvrTypeInfo>
<CvrPlanName>DENTAL</CvrPlanName>
<CvrPlanName>MEDICAL</CvrPlanName>
<SubTotalAmt>20</SubTotalAmt>
<CvrMbrInfo>
<CvrMbr>SUB, SPOUSE</CvrMbr>
</CvrMbrInfo>
</CvrTypeInfo>

but I need like this

<CvrTypeInfo>
<CvrPlanName>DENTAL</CvrPlanName>
<SubTotalAmt>20</SubTotalAmt>
<CvrMbrInfo>
<CvrMbr>SUB, SPOUSE</CvrMbr>
</CvrMbrInfo>
</CvrTypeInfo>
<CvrTypeInfo>
<CvrPlanName>MEDICAL</CvrPlanName>
<SubTotalAmt>20</SubTotalAmt>
<CvrMbrInfo>
<CvrMbr>SUB, SPOUSE</CvrMbr>
</CvrMbrInfo>
</CvrTypeInfo>

Ccan you plese suggeste me how to achheive this. if the amounts are different I am getting what I want, but if the amounts are same. I am not

Thanks in advance

Posted: Thu Sep 23, 2010 3:35 pm
by arunkumarmm
What is the column that you have defined as key?

Posted: Tue Sep 28, 2010 2:27 am
by Pavan.daddhu
arunkumarmm wrote:What is the column that you have defined as key?


Hi,

Please Keep unique key column in xml file.

Unique key is like a Sequence number.

It will work..... 8)

Posted: Tue Sep 28, 2010 3:50 am
by ray.wurlod
Parallel job (as marked) or server job (as posted)?

Posted: Tue Sep 28, 2010 6:56 am
by chulett
We're going with "as marked". :wink: