|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
XML/XSD to DataSetHi
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. Show quoteHide quote "Urs" <uvo***@msn.com> schrieb im Newsbeitrag news:OBxgA%23Z1GHA.1256@TK2MSFTNGP04.phx.gbl... > 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 > I was thinking of how could this be done.
Thank you ! Gultekin. Urs wrote: Show quoteHide quote > Figured it out myself. DataSet.ReadXml() does not consider any xsd > references, they must be pre-loadedt wit DataSet.ReadXmlSchema(). > Thanks anyway. > > "Urs" <uvo***@msn.com> schrieb im Newsbeitrag > news:OBxgA%23Z1GHA.1256@TK2MSFTNGP04.phx.gbl... > > 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 > > --
About IDisposable.Dispose()
Configuration in published program Mnemonics for Buttons with symbols on java developer wants to learn VB.NET Mail merge from word using sql server express and vb.net 2005 Referencing an Enum with Embedded Spaces how to write ? Display compiled HTML help file in VB.NET app Licensing with Plimus Treeview (Eric Moreau) |
|||||||||||||||||||||||