I am trying to work with a simple XML file and Visual Basic (2017).
The xml file is as below. I have a form setup with some text boxes. First box, is where the user will enter the value 1, 2 or 3. I then need to write the xml data from world name, size and population into 3 separate text boxes based on what is inputted into the first text box. Hope that makes sense.
<worlddetails>
<worlds>
<code>1</code>
<worldname>Planet 1>
<size>36000</size>
<population>34000000</population>
</worlds>
<worlds>
<code>2</code>
<worldname>Planet 2>
<size>35000</size>
<population>24000000</population>
</worlds>
<worlds>
<code>3</code>
<worldname>Planet 3>
<size>46000</size>
<population>14000000</population>
</worlds>
</worlddetails>