G
Geoff Moller
Hi All
I think I am attempting a little chicken before the egg, but I am
trying:
XmlDataDocument parsedErrorDoc = new XmlDataDocument();
parsedErrorDoc.LoadXml(strXML); //where strXML is a valid xml string
string schema = parsedErrorDoc.DataSet.GetXmlSchema();
parsedErrorDoc.DataSet.ReadXmlSchema(schema);
So I suppose that the dataset doesn't have a schema to return,
correct?
Is there anyway to programtically generate a schema from a string of
valid xml, then apply said schema to the XmlDataDocument's dataset?
Or must I load the XmlDataDocument's dataset with a schema first, at
all times?
Thanks for any help!
Geoff Moller
(e-mail address removed)
I think I am attempting a little chicken before the egg, but I am
trying:
XmlDataDocument parsedErrorDoc = new XmlDataDocument();
parsedErrorDoc.LoadXml(strXML); //where strXML is a valid xml string
string schema = parsedErrorDoc.DataSet.GetXmlSchema();
parsedErrorDoc.DataSet.ReadXmlSchema(schema);
So I suppose that the dataset doesn't have a schema to return,
correct?
Is there anyway to programtically generate a schema from a string of
valid xml, then apply said schema to the XmlDataDocument's dataset?
Or must I load the XmlDataDocument's dataset with a schema first, at
all times?
Thanks for any help!
Geoff Moller
(e-mail address removed)