What I need to do is check each DPDP_ID and if its value is D0230
then I leave the Count alone, all else I change the Count to 1.

What I have so far:

node = doc.DocumentElement;
nodeList = node.SelectNodes("/FacetsData/Collection/SubCollection");
for (int x = 0; x < nodeList.Count; x++) {
if (nodeList[x].HasChildNodes) {
for (int i = 0; i < nodeList[x].ChildNodes.Count; i++) {
//This part I can't figure out how to get the name="" part of the xml
//MessageBox.Show(oNodeList[x].ChildNodes[i].InnerText); get the "D0230","1"
//part but not the "DPDP_ID","Count" part.
}
}
}