Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inline XSD
Message
General information
Forum:
ASP.NET
Category:
ADO.NET
Title:
Miscellaneous
Thread ID:
00736764
Message ID:
00736772
Views:
14
Yeah Cathi ... except I don't think Stephane wants to output it as a file ...

~~Bonnie


>Hi Stephane,
>
>You should use the WriteXML method with XmlWriteMode set to "WriteSchema" like below:
>
>
>' Create a file name to write to.
>Dim filename As String = "myXmlDoc.xml"
>' Write to the file with the WriteXml method.
>thisDataSet.WriteXml(filename, System.Data.XmlWriteMode.WriteSchema)
>
>
>>Does anybody knows how to Create an inline XSD from a dataset. i can create the schema using DataSet.GetXmlSchema() and the XML with DataSet.GetXml() but how do i combine the two ?
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform