>... the right way would probably be to write a SAX handler rather than going through the DOM.
>
>XMLAdapter is supposed to be a lot faster than XMLToCursor() (I haven't personally tested) I don't know whether they used SAX or just did the string handling manually).
It looks like SAX makes a lot a sense when it comes to load big quantities of data as is basically scans thru to the xml stream looking for tags to handle. No need to feed a big DOM tree into ram...
I'm currently investigating SAX for an application. Are there pointers on SAX resources for VFP?
François
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