I am trying to read some data from xml. below is my xml structure.
<Configuration>
<node1></node1>
<unity
xmlns=xmlns="http://schemas.microsoft.com/practices/2010/unity">
<namesapce name="somename"/> . . .
</unity>
</Configuration>
I have tried to read the node "unity" using below xpath
var nodelist=doc.SelectNodes("/configuration/unity[@xmlns='http://schemas.microsoft.com/practices/2010/unity']");
But it returns null. Whats wrong with my code?