You want to quickly create a simple XML document without needing to write data to a file.
Use StringReader class and feed that into the Load() function.
XmlDocument doc = new XmlDocument();
Update: Well, that was doing too much, Load(string) would have worked just as well.
Post a Comment