title: XPath to get only children in <UL> structure
body: <pre><code>...
      &lt;ul&gt;
         &lt;li&gt;A
             &lt;ul&gt;
                &lt;li&gt;B
                &lt;/li&gt;
             &lt;/ul&gt;
         &lt;/li&gt;
         &lt;li&gt;C
         &lt;/li&gt;
      &lt;/ul&gt;
  ...
  </code></pre>
  
  <p>What <code>XPath</code> expression will give only the child <code>&lt;li&gt;</code> elements of the outer <code>&lt;ul&gt;</code> element?  I don't want the grandchild <code>&lt;li&gt;</code> whose value is <code>B</code>.</p>
  
  <p>So far I have <code>//ul[1]/li</code> but this is giving me the grandchild as well.</p>