Attributes to customize XML serialization / Mapping between simple 4GL and XML data types detail |
Map 4GL INTERVAL to XML Schema duration.
DEFINE myVar RECORD ATTRIBUTE(XMLName="Root") val1 INTERVAL DAY TO SECOND ATTRIBUTE(XSDDuration,XMLName="Val") END RECORD
<Root> <Val>P3DT10H30M45S</Val> </Root>