>I have a XML with the schema in side and at the top of the file. When I use the XMLTOCURSOR the correct fields are there, but the data has changes. VFP changes my field from string to numaric and boolean. This is not how the schema is setup. How can I use the Schema that is in the file? Do I have to force my user to send a XSD?
Could you paste the XML file so we can take a look at it?
If the Web Service is responding from a VFP Web Service and that the schema is included with CURSORTOXML(), then the VFP client should be able to extract it properly with XMLTOCURSOR(). However, if that schema was constructed by hand, it is possible VFP can't handle it entirely.