parsing xml file with expat library in C



i have searched for how to parse xml file using expat library , but found nothing useful for a beginner all what i want is to read the three numbers 6, 7 and 8 from a configuration file. anyone could help me ,please ?!



<?xml version="1.0" encoding="UTF-8"?>
<Configuration>
<board_height> 6 </board_height>
<board_width> 7 </board_width>
<maximum_highscores> 8 </maximum_highscores>
</Configuration>

No comments:

Post a Comment