You have to tell XMLTOCURSOR() that you're passing a file name by adding 512 to the third parameters
XMLTOCURSOR(lcXMLFile , "myCursor", 512)
>
>I am getting an error "XML Parse error: Invalid at the top level of the document, Line 1, Position 1. test " when using XMLTOCURSOR() function to convert test.xml file to DBF
>file.
>
>This is a first time I am using XML function and any help will be appreciated.
>
>Thanks,
>Gregory
--sb--