Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Import XML produced by MS-Excel?
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00903822
Message ID:
00903854
Views:
21
Yes, you need flag 512 otherwise the first parameter is treated as a variable with XML stored in it.
XMLToCursor(lcXMLFile,"cPagos", 512)
Keep in mind that XMLToCursor() is designed to process simple XML which is created by CURSORTOXML() or close to it.

>I have a XML file, it was produced by MS-Excel, if I try to convert with XMLToCursor function I get the error 1435, what do I need?
>
>lcXMLFile = GETFILE("xml")
>IF NOT EMPTY(lcXMLFile)
>   XMLToCursor(lcXMLFile,"cPagos")
>ENDIF
>
>
>Do I need an especial flag?
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform