title: Getting child nodes using xpath?
body: <p>I have the following xml. I need to get all the child nodes of root node using an xpath query. how can i write the xpath expression?</p>
  
  <pre><code>&lt;rootElement&gt; 
  
    &lt;rootElementOne xmlns="http://some.com"&gt; 
      &lt;rootElementTwo&gt; 
        &lt;Id&gt;12345&lt;/balId&gt; 
        &lt;name&gt;Name1&lt;/businessName&gt; 
       &lt;/rootElementTwo&gt; 
    &lt;/rootElementOne&gt; 
  
    &lt;rootElementOne xmlns="http://some.com"&gt; 
      &lt;rootElementTwo&gt; 
        &lt;Id&gt;6789&lt;/balId&gt; 
        &lt;name&gt;Name2&lt;/businessName&gt; 
       &lt;/rootElementTwo&gt; 
    &lt;/rootElementOne&gt;  
  
  &lt;/rootElement&gt;
  </code></pre>
  
  <p>The expression should return the result below:</p>
  
  <pre><code>      &lt;rootElementOne xmlns="http://some.com"&gt; 
          &lt;rootElementTwo&gt; 
            &lt;Id&gt;12345&lt;/balId&gt; 
            &lt;name&gt;Name1&lt;/businessName&gt; 
           &lt;/rootElementTwo&gt; 
        &lt;/rootElementOne&gt; 
  
        &lt;rootElementOne xmlns="http://some.com"&gt; 
          &lt;rootElementTwo&gt; 
            &lt;Id&gt;6789&lt;/balId&gt; 
            &lt;name&gt;Name2&lt;/businessName&gt; 
           &lt;/rootElementTwo&gt; 
        &lt;/rootElementOne&gt;
  </code></pre>
  
  <p>I tried using <code>rootElement/rootElementOne/*</code> but no result. </p>
  
  <p>Thanks!</p>