The special flag 512 required if XML is loaded from a file.
xmlToCursor("MyXml.xml", "myCursor", 512)
>Hi Ron!
>
>>Can someone please help me with the XMLTOCURSOR() function in VFP8? I need to convert an XML file to a DBF or to a CURSOR. Does anybody have an example for me?
>
>Supose your file XML be "MyXml.xml". Try:
>
>xmlToCursor("MyXml.xml", "myCursor")
>* Or
>lsStringXml = FileToStr("MyXml.xml")
>xmlToCursor(lsStringXml, "myCursor")
>
>I hope this help you.
>Bye!
--sb--