title: Pull specific xml tag in a xml file using XmlDocument
body: <p>I have an xml file, what I am trying to do is to parse the complete file and search for a specific xml tag (in my case I am searching for <code>queryString</code>) and when the tag is encountered pull out the inner text corresponding to it. I am using <code>XmlDocument</code> and using <code>XmlDocument.SelectNodes("/stringList")</code>. </p>
  
  <p>While doing so a <code>null</code> value is being returned. Am I missing out on something? </p>
  
  <pre><code>XmlDocument xml = new XmlDocument();
  Jrxml.Load(file_path);
  XmlNodeList xml_nodes = xml.SelectNodes("/stringList");
  foreach (XmlNode jr_node in xml_nodes)
  {
      XmlNode query_node = jr_node.SelectSingleNode("queryString");
  }
  </code></pre>
  
  <p>While execution it does not enter the for loop as <code>xml_nodes</code> value is <code>null</code></p>
  
  <p>Xml File looks like this.</p>
  
  <pre><code>&lt;stringList&gt;
      &lt;property1/&gt;
      &lt;property2/&gt;
         &lt;style&gt;
           &lt;queryString&gt;
           &lt;/queryString&gt;
         &lt;/style&gt;
      &lt;queryString&gt;
      &lt;/queryString&gt;
  &lt;/stringList&gt;
  </code></pre>