Attributes to customize XML serialization / Mapping between simple 4GL and XML data types detail |
Restrict the length of the data to the exact number of XML characters allowed when set on a 4GL STRING, VARCHAR, CHAR or TEXT, or the number of bytes allowed when set on a 4GL BYTE.
DEFINE myStr STRING ATTRIBUTE(XSDString, XSDLength="12", XMLName="MyString")
DEFINE myByte BYTE ATTRIBUTE(XSDBase64Binary, XSDLength="8000", XMLName="MyPicture")