public void ShouldWriteRootElement()
		{
			XPathDocumentWriter writer = new XPathDocumentWriter();
			writer.WriteElementString("hello", "world");
			XPathDocument doc = writer.Close();

			Assert.IsNotNull(doc);

			string xml = GetXml(doc);

			Assert.AreEqual("<hello>world</hello>", xml);
		}
		public void WriterIsDisposable()
		{
			XPathDocument doc;
			using (XPathDocumentWriter writer = new XPathDocumentWriter())
			{
				writer.WriteElementString("hello", "world");
				doc = writer.Close();
			}

			Assert.IsNotNull(doc);
		}