I am trying to add new nodes to an existing XML file. i have this file with first test elements in it:
<
I have the same trouble, with root==null, but MSDN helped me.
root==null
You need to use // instead of /
//
/
XmlNode root = xmldoc.SelectSingleNode("//ns:Root//ns:profesori", nsMgr);