>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement