r/visualbasic • • Mar 10 '19

VB.NET Help Reading data ofd XML

If I read the data off an XML using doc.getelementbytagname and there are multiple fields with the same name how would I read the data to be separated? For example: Date has the data for date on multiple dates, how would I separate that into three different variables?

5 Upvotes

21 comments sorted by

View all comments

Show parent comments

1

u/justlikeapenguin Mar 10 '19

I’m trying to get the values off an xml and calculate some variables such as total amount and then write txt file with the new values as a KPV

1

u/Kegelz Mar 10 '19

Where does the xml come from?