CSharp examples for System.Xml:XML Document
Creates the XML document.
using System.Xml.Serialization; using System.IO;//from w w w . jav a2 s. c om using System.Xml; using System.Text.RegularExpressions; using System; public class Main{ /// <summary> /// Creates the document. /// </summary> /// <param name="xml">The XML.</param> /// <returns></returns> /// <remarks></remarks> public static XmlDocument CreateDocument(string xml) { XmlDocument document = new XmlDocument(); document.LoadXml(xml); return document; } }