I have written some code that loads an XML document using an XmlDocument object so as to count it\'s nodes. Here is the method:
XmlDocument
XmlDocument xml
If you do not have to Manipulate the XML, just read the XML using XMLReader, that is oneway and the fastest, with less memory intense operation.