Focal Point
[CLOSED] inserting XML data as multiple records

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/1381057331/m/3807016576

April 15, 2015, 03:12 PM
Mary
[CLOSED] inserting XML data as multiple records
Hi Friends,

I have a requirement of storing a xml data as multiple records in oracle table.

Here is my sample input:


ABC
City

A-1
B-1
C-1

....
.
.
.


I want this to be inserted in my table
as follows
storename storelocation partnum
ABC City A-1
ABC City B-1
ABC City C-1

But this one is getting inserted like this
as I didn't use any iteration.

storename storelocation partnum
ABC City A-1|B-1|C-1


Can anyone suggest me a highlevel logic to insert as a separate row in the table.

Thanks in advance,
Mary Gerald...

This message has been edited. Last edited by: <Kathryn Henning>,


7.7.04M, Windows 7 , HTML, PDF,EXCEL
April 15, 2015, 03:16 PM
Mary
Sample input

 
<SEARCH>
<STORENAME>ABC</STORENAME>
<STORELOCATION>City</STORELOCATION>
<PRODUCT>
<PARTNUM> A-1 </PARTNUM>
<PARTNUM> B-1 </PARTNUM>
<PARTNUM> B-1 </PARTNUM>
</PRODUCT>
.
.
</SEARCH>



7.7.04M, Windows 7 , HTML, PDF,EXCEL
April 16, 2015, 11:29 AM
Clif
Save your sample as mary.xml and then from New, Synonym select the XML adapter and create a synonym using the xml as a source. Sample data returns separate rows. Then use DataMigrator to load.




N/A
April 16, 2015, 04:21 PM
Mary
Thanks for the reply clif.

But looks like the screen shot is for Iway DataMigrator.

I think I wasn't clear enough.

I need this in Iway Integration Tool.


7.7.04M, Windows 7 , HTML, PDF,EXCEL