Attributes to customize XML serialization / Customizing XML serialization |
Define the name of a variable in an XML document.
DEFINE myVar RECORD ATTRIBUTES(XMLName="Root") val1 INTEGER ATTRIBUTES(XMLName="Val1"), val2 FLOAT, val3 INTEGER ATTRIBUTES(XMLName="Val3") END RECORD
<Root> <Val1>148</Val1> <val2>0.5</val2> <Val3>-18547</Val3> </Root>