Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parsing JSON
Message
From
28/09/2016 05:07:46
 
General information
Forum:
Visual FoxPro
Category:
Third party products
Title:
Miscellaneous
Thread ID:
01641217
Message ID:
01641437
Views:
55
Likes (1)
>Hi Marco,
>
>miracukous. Whenever I try it, it fails with the load-method. Maybe I miss something when calling your function? All I do is:
>
>
>cXML = FILETOSTR("D:\foxprogs\onixkonv\in\aus_vlb.xml")
>oXML = nfxmlread(cXML)
>
>
>or maybe it's the charset? This would be even more strange.
>
>Best regards
>
>Thomas

This way, it's the LoadXML() method that is being called, not Load().
oXML = nfxmlread("D:\foxprogs\onixkonv\in\aus_vlb.xml")
Plus: your sample file has a BOM, and that's what is raising the error when you load the document via LoadXML() (strings do not have BOM, files do).
----------------------------------
António Tavares Lopes
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform