I have a complex XML file with structure as follows (NOTE: namespace)\[code\] <?xml version="1.0" encoding="UTF-8"?><Document xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="xxx:xxx:xxx:xxx:xxxxx:xxx:xsd:xxxx.xxx.xxx.xx"> <Element1> <Element2> <Element2A>xxxxxx</Element2A> <Element2B>2012-08-29T00:00:00</Element2B> </Element2> .... .... etc\[/code\]Now I am using XmlReader to read this XML document and process information as follows\[code\]XmlReader xr = XmlReader.Create(filename);while (xr.Read()) { xr.MoveToElement(); XElement node = (XElement)XElement.ReadFrom(xr); Console.WriteLine(node.Name);}xr.Close();\[/code\]The problem I am facing is in the output the namespace is prefixed to the ElementName. E.g output\[code\]{xxx:xxx:xxx:xxx:xxxxx:xxx:xsd:xxxx.xxx.xxx.xx}Element1\[/code\]Is there any way I can remove/ handle this as I need to do further filtering using Element names and Child names.Help will be much appreciated. Thanks