Versions des environnements
Devid,
If we can't do post-processing.. I try next way
AFIELDS(laFlds,lcTableAlias)
FOR lni=1 TO ALEN(laFlds,1)
IF INLIST(laFlds[lni,2],"C","M")
laFlds[lni,6] = .t. && NoCpTrans
ENDIF
ENDFOR
Create Cursror _tmp FROM ARRAY laFlds
APPEND FROM DBF(lcTableAlias)
and then I process with XMLAdapter. The memo fields are converted to Base64... the character fields stay as is. As I remember character(binary) fields must be converted to Base64... I check XMLField.NoCpTrans is .t. In Runtime before ToXML() method call I switch IsBase64 to .t. but no result...
Whats wrong?
Thanks
Denis.
>Denis,
>
>>Is there option for single field to preserve white space?
>
>I don't see a way to do that aside from some post-processing of the generated XML. The PreserveWhiteSpace property just wraps a property of the XMLDOM that applies to the entire document.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement