Your
MsgBox(xmlContactNodeList.Item(i).Item("id").InnerText)
There is no "id" node under the Name node so that is where the error is coming from. If you change it to
MsgBox(xmlContactNodeList.Item(i).Item("Path").InnerText)
You will get the messagbox with the Path information.
Edit
But then I reread the question and realized that you want to get the id. The id is an Attribute.
MsgBox(xmlContactNodeList.Item(1).Attributes(0).OuterXml)
shows a message box with id="2"