title: How to add  a node to an existing xml file using iphone?
body: <p>In my application I need to add new element to parent node.</p>
  
  <p>for Example My Xmlfile:</p>
  
  <pre><code> &lt;person&gt;  
      &lt;Name&gt;Thrinath&lt;/Name&gt; 
      &lt;Add&gt;Hyd&lt;/Add&gt;   
   &lt;/person&gt;
  </code></pre>
  
  <p>Now I need to add new element named sal to person parent node </p>
  
  <pre><code> &lt;person&gt;   
        &lt;Name&gt;Thrinath&lt;/Name&gt;  
        &lt;Sal&gt;50000&lt;/Sal&gt;  
        &lt;Add&gt;Hyd&lt;/Add&gt; 
   &lt;/person&gt;  
  </code></pre>
  
  <p>I know that to read XML file we have XML parser,but I dont know how to write into the XML file like my requirement.</p>