title: Writing xml file on iPhone (Linq=to=Xml and MonoTouch)?
body: <p>I need to <strong>read</strong>, <strong>edit</strong> and <strong>save</strong> one xml file. In other words, I want to write again over the same file and not to create a new xml file. Reading and editing parts work, but not the saving.</p>
  
  <p>The Linq-to-Xml code for saving is simply:</p>
  
  <pre><code>doc.Save(this.Path);
  </code></pre>
  
  <p>This <strong>works</strong> in <strong>iPhone Simulator</strong> but throws <em>System.UnauthorizedAccessException</em> on the device. The xml file is decorated as "content" in MonoDevelop.</p>
  
  <p>Any help appreciated.</p>
  
  <p>/pom</p>