Easy peasy in C#:
Code:
assuming 'doc' is the System.Xml. XmlDocument containing the XML data.
XmlNode row = doc.ChildNodes[596102 - 1];
See? XML docs can be referenced as arrays, objects, the lot. The node 'row' now contains the properties Attributes, ChildNodes and InnerText. Easy, eh?