on 01-25-2009 6:44 PM
Hi, I'm trying to map a deep xml structure to a flat file structure. See this:
<SalesPoint>
<header>
<idTx></idTx>
<opCode></opCode>
</header>
<body>
<DataSet>
<codOperacion></codOperacion>
<codCanalDeVenta></codCanalDeVenta>
<cuitDeposito>
<docMinorista>
<fechaOperacion>
<codCC>
<Details>
<Dato>
<nroSerieEquipo></nroSerieEquipo>
<codNMU></codNMU>
<codOrigenEquipo></codOrigenEquipo>
<codConcepto></codConcepto>
<codSegmento></codSegmento>
<motivoSiniestro></motivoSiniestro>
</Dato>
</Details>
</DataSet>
</body>
</SalesPoint>
to:
<SalesPoint>
<idTx></idTx>
<opCode></opCode>
<codOperacion></codOperacion>
<codCanalDeVenta></codCanalDeVenta>
<cuitDeposito></cuitDeposito>
<docMinorista></docMinorista>
<fechaOperacion></fechaOperacion>
<codCC></codCC>
<nroSerieEquipo></nroSerieEquipo>
<codNMU></codNMU>
<codOrigenEquipo></codOrigenEquipo>
<codConcepto></codConcepto>
<codSegmento></codSegmento>
<motivoSiniestro></motivoSiniestro>
</SalesPoint>
Thanks in advance!!!!
I have used removeContext Function.
Best Regards!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I do not think this is a complex XML structure. All that you need to take care is about the contexts. How ever it is not possible to give u the complete mapping here. If you have tried mapping already and facing some issues.. please put it here.. so that some one can help you.
VJ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.