Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Xmltocursor and CRLF
Message
From
08/03/2003 09:52:32
Kc Lee
Princess Margaret Hospital
Hong Kong, Hong Kong
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Title:
Xmltocursor and CRLF
Miscellaneous
Thread ID:
00763270
Message ID:
00763270
Views:
58
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.
Next
Reply
Map
View

Click here to load this message in the networking platform