XML File split
Posted: Wed Apr 13, 2005 1:53 pm
Hi ,
I have a XML output file in one string as below
"<student><Firstname>mike</firstname><lastname>brown</lastname></student><student><Firstname>rob</firstname><lastname>donty</lastname></student>"
I need to split the above file on basis of parent tag i.e. <Student> and have the o/p in below format i.e. for each record one row.
Row1<student><Firstname>mike</firstname><lastname>brown</lastname></student>
Row2<student><Firstname>rob</firstname><lastname>donty</lastname></student>
Thanks in Advance for help
Regards,
Munish
I have a XML output file in one string as below
"<student><Firstname>mike</firstname><lastname>brown</lastname></student><student><Firstname>rob</firstname><lastname>donty</lastname></student>"
I need to split the above file on basis of parent tag i.e. <Student> and have the o/p in below format i.e. for each record one row.
Row1<student><Firstname>mike</firstname><lastname>brown</lastname></student>
Row2<student><Firstname>rob</firstname><lastname>donty</lastname></student>
Thanks in Advance for help
Regards,
Munish