I have an xml file that contains its element like
<ab:test>Str</ab:test>
When i am trying to access it using the code
XElement tempElement = doc.Descendants(XName.Get("ab:test")).FirstOrDefault();
Its giving me error
System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Xml.XmlException: The ':' character, hexadecimal value 0x3A, cannot be included in a name.
How shld i access it?