Getting at the schema?

J

jb

I cannot figure how/whether I can get at the schema programatically (MSE)?

Reason:
Schema is generated from webservice returning dataset. I (don't think) i
can do much about what it generates. I would like to try tampering with
little things in the schema, e.g. "minOccurs" change to "nillable", add a
"minLength" restriction to every field I know not allowed to be empty, etc.
Actually editing the .XSDs is not an option.
 
S

Steve Mathieu

You just have to extract the Schema from the DataSet, make your modifaction
and load it back to the dataset.
Look around XmlDataDocument and the solution is just there!
 
Top