Unnecessary XmlNode assignment