How to read a XML file

Hi all,

I want to read a XML file and insert the values into the map. Before this i've never written any program for reading XML files.

this is my xml file:

<STUcount level="3" />
<STUROWS count="3" />
<STUServer name="STU" IP="localhost" port="69" />
<Map>
<STU ID="12">
<NAME>Xxxx</NAME>
<STD>12</STD>
</STU>
<STU ID="13">
<NAME>yyyy</NAME>
<STD>10</STD>
</STU>
</Map>

I want to read that XML file and store it into the local strings and maps.

Can anyone help me in how to do this? also plase provide some useful links to learn how to program for reading and writing XML through C++ in unix.

Thanks in Advance..
you can use xml library, for example:
http://www.xmlsoft.org/
or Xerces.
closed account (S6k9GNh0)
Or TinyXML++ is also popular.
I know that Oracle (if you use that db) has one as well: 'Oracle Parser for C'.
closed account (S6k9GNh0)
I know more Oracle Parsers than I know types of cheese.
Topic archived. No new replies allowed.