title: getting text from html document using HtmlAgilityPack via XPath
body: <p>I have following html in a file, I am loading this file into an <code>HTMLDocument</code> using <code>HtmlAgilityPack</code>.</p>
  
  <p>The problem is that I only want to get <code>Hello World!</code> using <code>XPath</code> and not the inner text. </p>
  
  <p>How do I achieve this?</p>
  
  <pre><code>&lt;ul&gt;
      &lt;li&gt;
          Hello world!
          &lt;ul&gt;
              &lt;li&gt;
                  Welcome to planet!
              &lt;/li&gt;
          &lt;/ul&gt;
      &lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>