Attributes to customize XML serialization / Mapping between simple 4GL and XML data types detail |
Define the name of a variable in an XML document.
DEFINE myVar RECORD ATTRIBUTE(XMLName="Root") val1 INTEGER ATTRIBUTE(XMLName="Val1"), val2 FLOAT, val3 INTEGER ATTRIBUTE(XMLName="Val3") END RECORD
<Root> <Val1>148</Val1> <val2>0.5</val2> <Val3>-18547</Val3> </Root>