title: MSXML2: How can I get text of a node if any child node in between parent node?
body: <p>I have this node:</p>
  
  <pre><code>MSXML2::IXMLDOMNodePtr node; 
  node-&gt;Getxml() returns  "&lt;para&gt;this is sample para which has newline&lt;b/&gt;coming&lt;/para&gt;"
  </code></pre>
  
  <p>but when i use <code>node-&gt;Gettext();</code> it returns </p>
  
  <blockquote>
    <p>this is sample para which has newlinecoming</p>
  </blockquote>
  
  <p>I want get this as </p>
  
  <pre><code>"this is sample para which has newline\ncoming"
  </code></pre>
  
  <p>here <code>&lt;b/&gt;</code> represent newline.</p>
  
  <ol>
  <li>List item</li>
  </ol>
  
  <p>How can I get this newline character inserted?</p>