title: How, with javascript, can i read Childnode content on an XML file that contains html tags
body: <p>To read a child node content I use :</p>
  
  <pre><code>MYDATA = xhr.responseXML.getElementsByTagName("MenuItem")[INDEX].getElementsByTagName("PageContent")[0].childNodes[0].nodeValue;
  </code></pre>
  
  <p>sometimes when the childNode data contains an HTML tag (eg <code>&lt;b&gt;</code> or <code>&lt;br&gt;</code> tags), I have problems since they are counted like XML tags (like childnodes).</p>
  
  <p>My question is how to get the entire data from a child node even if it contains other html tags</p>
  
  <p>Example: </p>
  
  <pre><code>&lt;MenuItem&gt; 
      &lt;MenuText&gt;menu &lt;b&gt; text &lt;b&gt;&lt;MenuText&gt;
  &lt;/MenuItem &gt;
  </code></pre>
  
  <p>would return "menu", but I want it to return: <code>menu &lt;b&gt; text &lt;b&gt;</code></p>