Attributes to customize XML serialization / Type mapping attributes |
Map BDL INTERVAL to XML Schema duration.
DEFINE myVar RECORD ATTRIBUTES(XMLName="Root") val1 INTERVAL DAY TO SECOND ATTRIBUTES(XSDDuration,XMLName="Val") END RECORD
<Root> <Val>P3DT10H30M45S</Val> </Root>