My XML file format is as below.
<
You can do something like this to read your nodes.
Also you can find some explanation in this page http://www.compoc.com/tuts/