title: Getting text from between two html nodes using HtmlAgilityPack
body: <p>Suppose I have the following HTML</p>
  
  <pre><code>&lt;p id="definition"&gt;
      &lt;span class="hw"&gt;emolument&lt;/span&gt; \ih-MOL-yuh-muhnt\, &lt;i&gt;noun&lt;/i&gt;:
      The wages or perquisites arising from office, employment, or labor
  &lt;/p&gt;
  </code></pre>
  
  <p>I want to extract each part separately using HTMLAgilityPack in C#</p>
  
  <p>I can get the word and word class easily enough</p>
  
  <pre><code>var definition = doc.DocumentNode.Descendants()
      .Where(x =&gt; x.Name == "p" &amp;&amp; x.Attributes["id"] == "definition")
      .FirstOrDefault();
  
  string word = definition.Descendants()
      .Where(x =&gt; x.Name == "span")
      .FirstOrDefault().InnerText;
  
  string word_class = definition.Descendants()
      .Where(x =&gt; x.Name == "i")
      .FirstOrDefault().InnerText;
  </code></pre>
  
  <p>But how do I get the pronunciation or actual definition? These fall between nodes, and if I use <code>defintion.InnerText</code> I get the whole lot in one string. Is there a way to do this in <code>XPath</code> perhaps?  </p>
  
  <p>How do I select text between nodes in HtmlAgilityPack?</p>