title: Adding to XML file
body: <p>I am making a WPF that searches through an XML file pulling out restaurant information. The XML is in this format:</p>
  
  <pre><code>    &lt;FoodPhoneNumbers&gt;
        &lt;Restaurant Name="Pizza Place"&gt;
          &lt;Type&gt;Pizza&lt;/Type&gt;
          &lt;PhoneNumber&gt;(123)-456-7890&lt;/PhoneNumber&gt;
          &lt;Hours&gt;
            &lt;Open&gt;11:00am&lt;/Open&gt;
            &lt;Close&gt;11:00pm&lt;/Close&gt;
          &lt;/Hours&gt;
        &lt;/Restaurant&gt;
      &lt;/FoodPhoneNumbers&gt;
  </code></pre>
  
  <p>I want to be able to add a new restaurant to the XML file. I have a textbox for the restaurant name, and type. Then three textboxes for the phone number. 4 comboboxes for the open hour, open minute, close hour, and close minute. I also have 2 listboxes for selecting AM or PM for the open and close times.</p>
  
  <p>I assume I use XmlTextWriter, but I could not figure out how to add the text to a pre-existing XML file.</p>