Attributes to customize XML serialization / Type mapping attributes |
Map BDL DATETIME to XML Schema gYear.
DEFINE myVar RECORD ATTRIBUTES(XMLName="Root") val1 DATETIME YEAR TO YEAR ATTRIBUTES(XSDGYear,XMLName="Val") END RECORD
<Root> <Val>2006</Val> </Root>