Hi,
So the documentation (as per the "XML Functions" link from CURSORTOXML()) IS incorrect ?
I can think of a few things to try to work around this - but any suggestions as to the simplest working solution ?
Regards,
Viv
>AFAIK, only memo/binary is converted "properly" (encoded) by CURSORTOXML().
>
>>I have a cursor with a character binary field. AFAICS the docs state that field of this type are rendered as
<xsd:encoding value="base64"/>
however the relevant XSD generated by CURSORTOXML() is:
>>
>><xsd:element name="layout1">
>> <xsd:simpleType>
>> <xsd:restriction base="xsd:string">
>> <xsd:maxLength value="5"/>
>> </xsd:restriction>
>> </xsd:simpleType>
>></xsd:element>
>>
>>
>>Needless to say a subsequent XMLTOCURSOR() chokes on this. Am I mis-reading - or, more importantly, what's the simplest way of fixing this?
>>
>>Regards,
>>Viv