Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parsing JSON
Message
De
28/09/2016 05:07:46
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Titre:
Divers
Thread ID:
01641217
Message ID:
01641437
Vues:
56
J'aime (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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform