>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