You can be more precise by using selectNodes or selectSingleNode methods, combined with XPath selection.
xml.selectSingleNode("/ROOT/TEST/D0").text gives value of the D0
xml.selectNodes("/ROOT/TEST/*") gives you a nodelist object containing all elements D0...D7 - u can use this like an array by accessing items by index number or using For Each varChildNode in theNodeList
Finally Microsoft.XMLDOM is very old version. Try one of these later versions instead: