title: How do I get the inner html content in this xpath expression?
body: <p>I have some HTML code</p>
  
  <pre><code>&lt;li&gt;&lt;h3&gt;Number Theory - Even Factors&lt;/h3&gt;
      &lt;p lang="title"&gt;Number N = 2&lt;sup&gt;6&lt;/sup&gt; * 5&lt;sup&gt;5&lt;/sup&gt; * 7&lt;sup&gt;6&lt;/sup&gt; * 10&lt;sup&gt;7&lt;/sup&gt;; how many factors of N are even numbers?&lt;/p&gt;
      &lt;ol class="xyz"&gt;
          &lt;li&gt;1183&lt;/li&gt;
          &lt;li&gt;1200&lt;/li&gt;
          &lt;li&gt;1050&lt;/li&gt;
          &lt;li&gt;840&lt;/li&gt;
      &lt;/ol&gt;
      &lt;ul class="exp"&gt;
          &lt;li class="grey fleft"&gt;
              &lt;span class="qlabs_tooltip_bottom qlabs_tooltip_style_33" style="cursor:pointer;"&gt;
              &lt;span&gt;
                  &lt;strong&gt;Correct Answer&lt;/strong&gt;
                      Choice (A).&lt;/br&gt;1183
                  &lt;/span&gt; 
                  Correct answer
              &lt;/span&gt;
          &lt;/li&gt;
          &lt;li class="primary fleft"&gt;
              &lt;a href="factors_6.shtml"&gt;Explanatory Answer&lt;/a&gt;
          &lt;/li&gt;
          &lt;li class="grey1 fleft"&gt;Factors - Even numbers&lt;/li&gt;
          &lt;li class="orange flrt"&gt;Medium&lt;/li&gt;
      &lt;/ul&gt;       
  &lt;/li&gt;
  </code></pre>
  
  <p>In the HTML snippet above, I am trying to extract the <code>&lt;p lang="title"&gt; Notice how it has &lt;sup&gt;&lt;/sup&gt; and &lt;sub&gt;&lt;/sub&gt; tags being used inside.</code></p>
  
  <p>My Xpath expression .//p[@lang="title"]/text() does not retrieve the sub and sup contents. How do I get this output below</p>
  
  <p><strong>Desired Output</strong></p>
  
  <pre><code>Number N = 2&lt;sup&gt;6&lt;/sup&gt;*5&lt;sup&gt;5&lt;/sup&gt; * 7&lt;sup&gt;6&lt;/sup&gt; * 10&lt;sup&gt;7&lt;/sup&gt;; how many factors of N are even numbers?
  </code></pre>