Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Xmltocursor and CRLF
Message
 
 
À
08/03/2003 09:52:32
Kc Lee
Princess Margaret Hospital
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Divers
Thread ID:
00763270
Message ID:
00764337
Vues:
25
>Hello,
>
>To transport free text of memo fields through soap web services, I use Cursortoxml and Xmltocursor to convert them to xml and back . However, in the process, Xmltocursor seems to remove all CRs of CRLFs from the text and to replace every chr(13)+chr(10) with chr(10). I therefore need to look into every memo fields of a record to add the missing chr(13) back afterwards. This behaviour of Xmltocursor is actually the same whether soap is involved or not, and can readily be demonstrated by a pair of Cursortoxml and Xmltocursor on a memo field. I have tried different combination of parameters of these paired functions without success - CRLF always changes to LF. Have I missed something? I am using Vfp7 Sp1.
>
>Thanks for your help in advance.

The Xmltocursor() function internaly uses MSXML to parse XML. The MSXML parser normalizes CR or CRLF (CHR(13)+CHR(10)) into LF.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform