The old code looks roughly like this:
Open "wiredata.txt" for Input as #1
For NN% = 0 to N%
Input #1,WireGauge,WireTurns
Next NN%
txtOutput.Text = "Wire Gage : " & WireGauge & " Turns: " & WireTurns
Close #1
Wiredata.txt looks like:
"3/16x63",1.25
"3/16x63",2.00
"3/16x5",3.00
...
wiredata.xml looks like:
<wires>
<wire>
<guage>3/16x63</gauge>
<turns>1.25</turns>
</wire>
...
</wires>
I was just wondering if there was a way to do code similar to the FOR statement listed above having the code scan the <wire> elements instead of each new line , is it possible ???