For those looking for the answer, I've discovered it.
Dim strFile As String = "mymovie.xml"
Dim xmlDoc As XDocument = XDocument.Load(strFile)
For Each Title As XElement In xmlDoc.Descendants("Title")
If Title.HasElements = True Then
lblLocalTitle.Text =...
Hi,
I've been searching high a low for a clear solution but cannot find one, so hope you can help me understand what I should do.
I have an xml file called mymovie.xml (below) which I want to load and pick out certain attributes. I then want to output the values into named labels...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.