title: Writing formatted XML with XmlWriter
body: <p>I'm trying to write to an XML file to the isolated storage but I would like to format it like this:-</p>
  
  <pre><code>&lt;SampleData&gt;
    &lt;Item Property1="AliquaXX" /&gt;
    &lt;Item Property1="Integer" /&gt;
    &lt;Item Property1="Quisque" /&gt;
    &lt;Item Property1="Aenean" /&gt;
    &lt;Item Property1="Mauris" /&gt;
    &lt;Item Property1="Vivamus" /&gt;
    &lt;Item Property1="Nullam" /&gt;
    &lt;Item Property1="Nam" /&gt;
    &lt;Item Property1="Sed" /&gt;
    &lt;Item Property1="Class" /&gt;
  &lt;/SampleData&gt;
  </code></pre>
  
  <p>but I'm buggered if I can work it out, can anyone help?</p>