Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XMLtocursor
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00619761
Message ID:
00619776
Views:
18
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,
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform