Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wwipstuff, XML and binary data
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00299404
Message ID:
00304524
Views:
23
>I am selecting records out of a VCX file to return to a client using IIS,wwipstuff.
>When I get the XML on the client and decode it into a cursor, the binary data in the OLE field is FUBAR.
>Any suggesions?

True binary data is not supported by XML directly unless you encode your text. If you plan on sending binary data XML is not a good choice.

If you must use binary data, make sure that CHR(0) is encoded as an entity. wwXML does this, but you may have to explicitly decode it on the other end.

As Erik suggested if you go VFP both ways EncodeDBF/DecodeDBF is a better choice if you have binary data.

+++ Rick ---
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform