Hi to everyone,
I am getting xml in the below format
123
FirstSecondThird
FirstSecondThird
FirstSecondThird
I have to store this xml in my table sample which contain the fields as
id,first,second,third,child1,child2 and
child3,all are string fields except id field
and my record structure to be
id first second third child1 child2
child3
1 1 2 3 First Second
Third
2 1 2 3 First Second
Third
3 1 2 3 First
Second Third
Can any One tell me how to acheive this
I tried with XMLSimple,Rexml or even with Hashs
With XMLSimple Some garbage getting inserted into the table along with
the
value
through hashes I can access each element and put in that table object
but I’m getting Hashes which includes array also So for 3 entries we
can do
but it is large process for more records (accessing each element). And
not a
feasible solution also
Please help me how can I acheive these