title: How to Write XML in c#?
body: <pre><code>&lt;Account nr="401" name="Wasser/Abwasser" income="0.00" expenditure="1,310.74" saldo="-1,310.74" resultText="Es wurden ausgegeben"&gt;
      &lt;Accounting date="15.02." refNr="....." description="I/2013"  income="" expenditure="1,310.74" vat="10%" pretax="131.07"/&gt;
    &lt;/Account&gt;
  </code></pre>
  
  <p>I can use XmlTextWriter but dont know how to continue with nr,name.....</p>
  
  <pre><code>myXmlTextWriter.WriteStartElement("Account");.....
  myXmlTextWriter.WriteElementString("Accounting",......
  </code></pre>
  
  <p>thx</p>