Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XML String
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Titre:
Divers
Thread ID:
00868374
Message ID:
00868495
Vues:
12
This message has been marked as the solution to the initial question of the thread.
>I´d like to know what is the best option to generate XML strings considering...>
>- The string will send by internet (ADSL 256/128). So, it should be as small as possible. ;-)
>- I will use VFP in both side, using XMLAdapter.
>I made some tests and I'd like to use XML to keep compatible with other apps...


The size would depend on what you are sending. If you have lots of data it would be a big string. To go to other systems you wants straight XML. As long as it is proper XML, maybe with a schema (embedded inline or on a separate xsd file), other systems should be able to read it, either natively or with XMLDOM.

I have a situation where both ends are VFP8 and the data could be rather big. I opted to FTP a zipped xml file (using DynaZIP in both ends). It reduces size almost 90%. Sure in that case I could send a straigh zipped dbf buit I used XML for another reason.

I generate the XML in one system with CursorToXML(). You could also use XMLAdapter, which I use in another system I have where I need to send more than one table (so you can send different structures in same file).


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform