Evan,
It doesn't take that much effort ... seems you're just going about it the hard way. <g> We use a class that has this method in it:
public void ImportXML(DataSet Data, string XML)
{
StringReader sr = new StringReader(XML);
Data.ReadXML(sr, XmlReadMode.InferSchema);
Data.AcceptChanges();
}
~~Bonnie
>>ReadSchema() has eight overloaded methods and none of them accepts String as XML..Try the following..
>
>It is very strange that is takes all of this effort to read an XML string into a dataset. To get the XML out of a dataset it is just
>
>lcXML = dsEvan.GetXML()