XMLTOCURSOR
XMLTOCURSOR(XMLSource eExpression | cXMLFile [, cCursorName [, nFlags ]])
XMLTOCURSOR("c:\customer.xml","Ccustomer_Queue_Log",512)
The flag number is important at the end and in this case a DTD is included with the XML file that describes the data in the XML file. One thing to note is if there is no data in the XML file it will crash VFP 7. (In other words there is only some header information in the XML file but not data.)