You're on the right track!
SelectSingleNode[
^] is proper method to get single
XmlNode[
^].
Note: you're using wrong name of node. There's no
TelephoneNumber
, but
phoneNumber
.
If you would like to make several comparisons, you have to firstly check if XmlNode is not Nothing and if it's not, then check out its
Value[
^].
Dim n As XmlNode = objXMLInputDoc.DocumentElement.SelectSingleNode("phoneInternationDirectDialID")
If n IsNot Nothing Then
If n.Value = "011" Then
End If
End If
In the same way, you have to do the rest of your comparisons...