Reading an XML using libxml2

Randyo

New Member
I'm using libxml2.so to parse XML file in C on LINUX platform. I have my XML in the format as mentioned below. I can have any number of accounts in the files. I'm using libxml for the first time after someone suggested me on forum. I'm able to parse the file I had only one account. I donot understand how do I implement if I have more than one account. Anyone implemented such thing before in C,libxml on Linux.\[code\]<ACCOUNT> <ACCOUNT_NO> 123 </ACCOUNT_NO> <NAME> XYZ </XYZ> <STATE> GA </STATE></ACCOUNT><ACCOUNT> <ACCOUNT_NO> 223 </ACCOUNT_NO> <NAME> ABC </XYZ> <STATE> FL </STATE></ACCOUNT>\[/code\]
 
Back
Top