Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CURSORTOXML() and C Binary
Message
From
23/11/2005 06:27:25
 
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01071246
Message ID:
01071521
Views:
18
Hi,

>>
>>So the documentation (as per the "XML Functions" link from CURSORTOXML()) IS incorrect ?
>
>Yes, it has been corrected in VFP9 help. The Character (Binary) is mapped to xs:string. The same as regular Character field.

Mmmm. Pity they didn't change the behaviour to match the documentation rather than vice versa <s>

>>I can think of a few things to try to work around this - but any suggestions as to the simplest working solution ?
>
>I would think that memo(binary) would be the simplest.

Worked OK for generating the XML and getting it back into a cursor. Couldn't think of a simple way of getting the 'received' cursor back to it's original structure though. Since I've got control of the client side as well I went with STRCONV(x,13) ---> STRCONV(x,14)

Thanks for the help,
Viv
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform