Hi Sergey,
You are great! Thank You.
Worked like a dream
Regards,
>Hi Fred,
>
>You've to specify 512 as a third parameter if the first parameter is a file name.
XMLTOCURSOR("myxmlfile.xml","XXXX", 512)
>
>>Hi Guys,
>>
>>Sorry my 3rd try
>>I used the following Command to create an XML File from a VFP Cursor
>>
>>CursorToXML("xxx", "myXMLFile.xml", 1, 512, 0)
>>
>>When I try and convert this xml file back to a cursor i get an error.
>>
>>XMLTOCURSOR("myxmlfile.xml","XXXX")
>>
>>error is
>>XML parse Error : Invalid at TOP level of the document Line 1 Position 1
>>
>>These are the first 3 line in the XML File
>>
>>I have removed the <> signs at the beginning and end of each line
>>
>>?xml version = "1.0" encoding="Windows-1252" standalone="yes"?
>> VFPData
>> xxx
>>
>>
>>Can any one Help ?
>>
>>TIA
>>Regards,
Fred Besterwitch, MCP
The harder you work. The luckier you get.