>This is what i use in C# to convert XML Returned from VFP into a C# dataset
>
>System.Xml.XmlTextReader textReader = new System.Xml.XmlTextReader("http://yoururl");
>DataSet hodataset = new DataSet("yourtablename");
>hodataset.ReadXml(textReader);
Thanks, I finally adapted it to:
Public Function ImportXML2(ByVal tcXML As String)
Dim lcString As New StringReader(tcXML)
Dim loData As New DataSet
loData.ReadXml(lcString)
Return loData
End Function
and it works.