Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Simple XML parsing
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00525988
Message ID:
00526528
Vues:
15
According to the demonstration at the last VFP devcon, VFP 70 is using XMLDOM for XML to cursor but using internal string processing for cursortoxml. There was a marked difference in performance between the two. It was explained away as being the speed limit of XMLDOM.

Glenn

>>>I know how to use the XMLDOM to parse XML files/strings but it seems overkill for that little job, What do you think? Is there a lighter piece of VFP code for parsing simple XML?
>>
>>You could probably write something faster fairly easily depending on the complexity of your exception information. But I usually don't hesitate to use the parser even for small stuff because it's pretty fast to instantiate and to load a small document. Unless your small documents are being loaded in a tight loop (their not in your situation), I wouldn't worry about overhead.
>
>Thank you Erik, now, pure curiosity, do you know if VFP7 is internally using internally using for XMLTOCURSOR()?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform