Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Xmltocursor
Message
De
06/10/2014 05:41:42
 
 
À
03/10/2014 08:26:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows 8.1
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01608732
Message ID:
01608813
Vues:
64
>why is xmltocursor so much slower that cursortoxml???
>
>what can I do to speed it up ???
>
>the conversion to xml takes a few seconds, the revers days!!!!!



What I have done is to create class which reads XML as text file ( filetostr() ) then breaks it down in segments
from where I take stuff I need. Works very fast. I can read hundreds of XMLs (smaller custom XMLs) in a matter of seconds BUT I am NOT reading entire XML every single segment as to parse entire data set into some other table/cursor, but rather only part of info which is of significance to me.

On reverse I use textmerge to produce custom XML back which is again very fast.

No XMLDOM, no XML schemas, no XML parsers ;
And no problem :-)

I can sent u class code if u r interested. Did not round it up yet into something universally reusable but might be of
use to you as jump start into producing your own custom XML readers / parsers .

HTH
Sergio
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform