Attributes to customize XML serialization / Mapping between simple 4GL and XML data types detail |
Map 4GL DATETIME to XML Schema gYearMonth.
DEFINE myVar RECORD ATTRIBUTE(XMLName="Root") val1 DATETIME YEAR TO MONTH ATTRIBUTE(XSDGYearMonth,XMLName="Val") END RECORD
<Root> <Val>2006-06</Val> </Root>