Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object vs. array?
Message
De
27/08/2009 16:11:53
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01420180
Message ID:
01421292
Vues:
54
>It has nothing to do with 'format option 3'. When you do not provide XML schema, XMLTOXCURSOR() has to guess types of the fields based on the values in them. IOW, only XML schema can carry over accurate information about original field types/sizes.

Right, I somehow thought the format parameter implied the lack of schema. So far,
CURSORTOXML("myalias", "m.foo",3,0,0,"1")
seems to produce a thinner XML and have a schema as well. Memos are enclosed between quotation marks, and quotation marks inside memos are escaped HTML-style. May be a better way than the regular format 1, specially as long field names aren't written twice per record, and if it won't be read by a person.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform