Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XML String
Message
 
À
20/01/2004 22:05:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Titre:
Divers
Thread ID:
00868374
Message ID:
00869442
Vues:
9
>Hi Rodolfo,
>
>To decrease size of XML generated by XMLAdapter use:
>ForceCloseTag=.F.
>FormattedOutput=.F.
>PreserveWhiteSpace=.T.
>
>Thanks,
>Aleksey.

Hi Aleksey,

I've tried your suggestion and it works. But you made a little mistake... PreserveWhiteSpace should be defined with .F. instead .T., should not?

In my test, if I use all XMLAdapter defaults values, I get a string with 140826 bytes.
Trying it using PreserveWhiteSpace=.t., I get 358458 bytes...
and using PreserveWhiteSpace=.f., I get 121833!

And, just for information, ForceCloseTag and PreserveWhiteSpace, by default, have the value .F. - So, you just have to set FormattedOutput to .F. and you get a small result.

Thanks!
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Rodolfo Duarte
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform