title: how i can list out all the namespace in XML?
body: <p>My basic requirement is to get element value from the XML file, i have used XMLDoxument.SelectSingleNode. My XML file contains some Namespace in header, so i have used NameSpaceManager to add namespace-prefix and i have used prefix to get that particular element. Now in my XML files that namespaces are getting vary, i  don’t want to do any hard coding, is there any way that i can find out all the namespaces and i can add it to NameSpaceManager. </p>
  
  <p>Thanks.</p>