Attributes to customize XML serialization / Mapping between simple 4GL and XML data types detail |
Define the maximum number of digits allowed on the fraction part of a numeric data type.
DEFINE myCode SMALLINT ATTRIBUTE(XSDShort, XSDFractionDigits="0", XSDMaxExclusive="1000", XMLName="MyCode")
DEFINE myRate DECIMAL(4,2) ATTRIBUTE(XSDDecimal, XSDTotalDigits="5", XSDFractionDigits="3", XSDMaxExclusive="299.99", XMLName="MyRate")