XML/XSD to DataSet

  • Thread starter Thread starter Urs
  • Start date Start date
U

Urs

Hi

I'm trying to load an XML document with a local XSD reference into a
DataSet. The DataSet is popuplated, but the types are all strings, rather
than the spefiified types in ths XSD. (I checked validation with
XmlReaderSettings and XmlReader, and also with XmlDocument, and it appears
to be ok.)

What could cause DataSet.ReadXml() to not correctly interpret the XSD file
when creating the DataSet?

Thanks for any hints. Urs
 
Figured it out myself. DataSet.ReadXml() does not consider any xsd
references, they must be pre-loadedt wit DataSet.ReadXmlSchema(). Thanks
anyway.
 
I was thinking of how could this be done.

Thank you !

Gultekin.
Figured it out myself. DataSet.ReadXml() does not consider any xsd
references, they must be pre-loadedt wit DataSet.ReadXmlSchema().
Thanks anyway.



--
 
Back
Top