First of all, check your XML for errors. It can be a copy-paste or site rendering issue, but the displayed document has a few errors in the values representing URLs and containing '&'. Ampersand is a special character and must be encoded as
If you want to use
, you can try XPath to quickly find the desired element. In this case you have to use a namespace manager, for your elements belong to a non-empty namespace. Below is one of the valid solutions:
XmlDocument doc = new XmlDocument();
XmlNamespaceManager xnm = new XmlNamespaceManager(doc.NameTable);
XmlElement el = (XmlElement) doc.SelectSingleNode("//m:UIObject[@Id='vTigerLoginPage']", xnm);
is the most popular option, I don't recommend to use it if you only need to read from a document. The better option would be to use
(in later versions of .NET).