Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Simple XML parsing
Message
 
À
03/07/2001 16:27:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00525988
Message ID:
00526525
Vues:
33
>>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()?

...Y soy feliz, bien feliz, asi lo grito;
Mira, que el mundo sepa, que se sepa:
Soy feliz....                       

...And I'm happy, quite happy, so do I yell it;
Look, so the world knows it, so be known:
I'm happy...
 

Ismael Rivera "Oye cosita linda"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform