You've to tell XMLTOCURSOR() that the firts parameter is a file file, not a string or variable.
=xmltocursor('xmlfile.xml','temp', 512)
>So I want to test out the xml functions and see if I can figure it out but the following code doesn't work although it seems like it should.
>
>CursorToXML("rtp_funding", "d:\foxpro\xml\XMLFile.xml", 1, 512, 0, "1")
>xmltocursor('xmlfile.xml','temp')
>
>
>The first line executes OK and produces the file xmlfile.xml which will open in explorer and looks OK, but the second line errors out with a parse error line 1 location 1. Any insights would be appreciated.
--sb--