Dim doc As New Xml.XmlDocument doc.Load("XML.xml") For Each node As Xml.XmlNode In doc.SelectNodes("anime/series/title") titleList.Items.Add(node.InnerText) Next
An example of the XML code:
<anime> <series> <title>Hidamari Sketch</title> <season>01</season> <episodes>12</episodes> <studio>SHAFT</studio> <trans>Spoon Subs</trans> <directory>O:\Videos\Anime\Hidamari Sketch\</directory> </series> </anime>
However, now I want to make it so that when one selects a specific title in the list box, it will show the data in the tags below the <series> tag that matches the item selected in a label. One thing I just thought of is than since the list box gets populated in the order that the series are in, it could be easier to go in order from first item equaling the first <series> and so on. The only problem is I have no idea how to do this. Does anyone have any reference material or some samples that could give me an idea of what to do?