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:
00736770
Views:
16
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 ?
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform