>I am trying to use create a cursor with an XML created from a Dataset in C#
>
>DataSet ds = MyDataSetCreationMethod();
>return ds.GetXml();
>
>
>In VFP i use XMLToCursor() and the fields are not created with the right data types. I know i should use an XSD but:
>
>1. how do i create an inline XSD in C# from a dataset?
>2. Will VFP XMLToCursor() be able to read it ?
>
>The VFP help file doesn't really help.
>
Hi Stephane,
VFP8 should support this with the new XMLAdapter class. Until then, wwXML from West Wind has a DataSetXMLToCursor() method that is able to import a single data table from the DataSet.