title: tinyXml how to add an element
body: <p>I have the following:</p>
  
  <pre><code>TiXmlDocument doc;
  TiXmlDeclaration * decl = new TiXmlDeclaration( "1.0", "utf-8", "");
  doc.LinkEndChild( decl );
  TiXmlElement * root = new TiXmlElement( "Value" );  
  TiXmlElement * element = new TiXmlElement( "number" );  
  root-&gt;LinkEndChild( element);  
  
  TiXmlText * text = new TiXmlText( "5" );  
  element-&gt;LinkEndChild( text ); 
  </code></pre>
  
  <p>IT IS OK LIKE THIS? I WOULD LIKE TO HAVE the .xml like:</p>
  
  <pre><code>&lt;Value&gt;
  &lt;number&gt;5&lt;/number&gt;
  &lt;/Value&gt;
  </code></pre>
  
  <p>THX!</p>
  
  <p>my question is if i can have a int value as a string. if it;s ok if i send in that way the xml file? or is there a way to specify that 5 is an int and not a text? </p>