Can be used to Read in an XML file into a cursor so you can use FoxPro commands on it. Can accept a string or a filename, even a SOAP call.
If you use XMLTOCURSOR without schema, there are some gotchas. Some elements in XML will be misinterpreted by the XMLTOCURSOR function, even generate an error. Here are some that I found:
-- Neil Bayin
- 0 will be converted to logical .F. (false) and 1 becomes logical .T. (true)
- An element that only has a dot "." (one or more) will generate a type error
- An element that has more than one zeroes and only zeroes will generate a type error
( Topic last updated: 2005.08.11 01:26:30 PM )