Hi, I have been trying for several days to read XML files into my program. I have been following several good tutorials on the internet, but I am struggling because the particular XML files that I am reading have several nested fields:
<?xml version="1.0" encoding="UTF-8" ?>
<xml>
<records>
<record>
<database name="test.enl">test</database>
<contributors>
<authors>
<author>
<style font="default">Stéphane Chatty</style>
</author>
<author>
<style font="default">Patrick Lecoanet</style>
</author>
</authors>
</contributors>
<titles>
<title> ...etc
The actual information that I need out of it is just the values of the author, title.. etc fields. As you can see, they are very nested and the tutorials only help me find the values of fields one level deep.
Here are two of the tutorials I have been following.
http://www.kirupa.com/net/reading_xml_directly_pg1.htm
http://www.c-sharpcorner.com/UploadF...tMellli21.aspx
I would be very appreciative of any advice you could give me :)