Information générale
Catégorie:
Codage, syntaxe et commandes
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
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