What does SelectSingleNode have to do with Attributes.GetNamedItem? I don't understand your question.
If you want to find the first element where the name attribute has the value 1 then use
XmlElement el = xmlDocumentInstance.SelectSingleNode("//*[@name = 1]") as XmlElement;
If you want to find the first int element where the name attribute has the value 1 then use
XmlElement el = xmlDocumentInstance.SelectSingleNode("//int[@name = 1]") as XmlElement;
If that does not help then you need to elaborate why you think you need Attributes.GetNamedItem with SelectSingleNode or what exactly you want to achieve.
Martin Honnen --- MVP XML
My blog