Attributes to customize XML serialization / Customizing XML serialization |
Map a BDL RECORD to an XML Schema simpleContent structure.
DEFINE mysimpletype RECORD ATTRIBUTES(XMLSimpleContent,XMLName="Root") base STRING ATTRIBUTES(XMLBase), val1 INTEGER ATTRIBUTES(XMLAttribute,XMLName="Val1"), val2 FLOAT ATTRIBUTES(XMLAttribute,XMLName="Val2") END RECORD
<Root Val1="148" Val2="25.8"> Hello </Root>