I have a large xml data. The format is given as following:
<person>
<name>Tom</name>
<age>18</age>
<address> London, xxx street, xxx building</address>
</person>
<person>
<name>John</name>
<age>22</age>
<address> Canberra, xxx street, xxx building, xxx floor, xxx room,
xxx bed</address>
</person>
be careful about the address!
I want to get the following result:
Tom^18^London, xxx street, xxx building
John^22^Canberra, xxx street, xxx building, xxx floor, xxx room,xxx bed
The data is fairly large, and I hope I can read line by line thus there will not be the problem of memory. Thanks.