I have a service that I call that returns back a XmlNode type. I need to get
to an attribute value and would like to use the GetAttribute method (because
it takes a string). However, XmlNode (or XmlElement) does not have that
method. They have the attributes collection with the item method that takes
an number value performing an ordinal lookup. I can declare an Xml document,
load the returning Xml stream, and then use the method but I do not want
reload the document again. Is there a way to take the current document typed
as an XmlNode and get to the document element that has this method without
reloading the stream?
Thanks