getting the value of elements in a nodelist
i have an Xml document loaded and have used the folwing to get the nodelist for all elements with the tag "item".
each "item" contains a number of nodes.
XmlNodeList nodelist = Info.GetElementsByTagName("item");
how can i find out how many nodes exist in each element.
i can use
to iterate through the nodes but i need to determine the count of the nodes before i get to this foreach statement.
foreach(XmlNode N in nodelist)
note: i am using an XmlDocument not an XmlReader.