title: only text value of element through xslt
body: <p>I have a below XML. I want to get the text value of Title element. I have used <code>&lt;xsl:value-of select="Title/text()"/&gt;</code>,But it does not fetch the output.</p>
  
  <pre><code>XML-
  &lt;Section&gt;
  &lt;Chapter&gt;
  &lt;Title&gt;
  &lt;Marker&gt;MarkerText1&lt;/Marker&gt;some text1
  &lt;/Title&gt;
  &lt;/Chapter&gt;
  &lt;Chapter&gt;
  &lt;Title&gt;
  &lt;Marker&gt;MarkerText2&lt;/Marker&gt;sometext2
  &lt;Marker&gt;MarkerText3&lt;/Marker&gt;some text3
  &lt;/Title&gt;
  &lt;/Chapter&gt;
  &lt;/Section&gt;
  </code></pre>
  
  <p>I have used below XSL but it does not fetch any results. And when I used <code>Title/text()[last()]</code> then it gives the last value. I mean <code>text()[last()]</code> is working but not just <code>text()</code></p>
  
  <pre><code>&lt;xsl:template match="/Section/Chapter"&gt;                         
      &lt;xsl:value-of select="Title/text()"/&gt;
  &lt;/xsl:template&gt;
  </code></pre>
  
  <p>Output should contain:</p>
  
  <pre><code>&lt;Title&gt;some text1&lt;/Title&gt;&lt;Title&gt;some text2 sometext3&lt;/Title&gt; 
  </code></pre>