>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 ---