title: create xml file programmatically
body: <p>im trying to create an xml file and then save it to a file location...</p>
  
  <pre><code>string xmlPath = AppDomain.CurrentDomain.BaseDirectory.ToString() + "cities.xml";
  
  XDocument doc = new XDocument(  
          new XElement("Cities",
              new XElement("City",
                  new XAttribute("id", gid),
                  new XElement("CityName", cityname))));
  doc.Save(xmlPath);
  </code></pre>
  
  <p>the problem is that its not being saved to the location specified...</p>