This article explains the sample C# code with XPathNavigator to select an XML element from an XML file which is having a default namespace.Consider the sample XML file with namespace(xmlns) defined , See the console application sample given below which selects all the City Elements of the State which is having Name attribute value ‘Karnataka’.XPathNavigator […]