Sub StartElement(name as String, attributeList as XmlAttributeList)
Select Case name
Case "billingdata"
sD.Append = attributeList.Value("address")
End Select
End Sub
Because I need to handle files greater than 150 Mb and read only certain sections of each file to extract useful data.
I used XMLDocument but performance is slightly better with XMLReader.
Last week, I have generated large XML files for testing, placing values inside properties instead of the node text and as I stated, the performance apparently is better with XMLReader.
Unfortunately, files that must finally be processed, are not created by me and come from different sources.