A quick research pointed out that you were very close, but yet so far. There's no
value child of the Node object, you should use the
nodeValue property instead!
Even better: the return value of
selectSingleNode is in your case an Element object (which is an extension of Node), so you can simply use
D.getAttribute("Name") which is simpler, cleaner, more efficient and does the same thing.
code:
D = XmlParser.selectSingleNode(NodeName);
Notification.Name = D.getAttribute("Name");