i have an xml file. i need to extract some data from that file.i need to write a parser in C to obtain my data from an xml file. From where should i begin?
i have an xml file. i need to extract some data from that file.i need to write a parser in C to obtain my data from an xml file. From where should i begin?
Heh, start by coding. With the first thing being getting the file into memory. You can read a block of the file into memory at a time or -slower- a single character at a time.
If you're allowed to use an xml parsing library, search out libexpat.
Environment: OS X, GCC / G++
Codes: Java, C#, C/C++
AOL IM: neandrake, Email: neandrake (at) gmail (dot) com