title: Adding text in tinyxml2
body: <p>I am trying to create an XML file using TinyXML2. While there are many examples and tutorials on loading, there seems to be very little on saving.</p>
  
  <p>I basically want to end up with:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;node&gt;text&lt;/node&gt;
  </code></pre>
  
  <p>I know I can get the "node" parts by adding an element, but how do I set the text part? Element has a <code>GetText</code> but I can find no <code>SetText</code>. There is also an <code>XMLText</code> class, but that has no methods for setting the text!</p>