I currently parse an xml document using the XmlTestReader class. The
xml doc contains several records, each of which contains about 10
elements. I then convert each element in a record into its equivalent
C# data type (e.g. for float values, I use float.Parse(elementVal) )
I then perform calculations using each of these converted values
before overwriting the values when the next xml record is parsed.
Is this the best technique?
<rec>
<val1>
<val2>
<val3>
</rec>
<rec>
<val1>
<val2>
<val3>
</rec>