Attributes to customize XML serialization / Mapping between simple 4GL and XML data types detail |
Map a 4GL Record to an XML Schema simpleContent structure.
DEFINE mysimpletype RECORD ATTRIBUTE(XMLSimpleContent,XMLName="Root") base STRING ATTRIBUTE(XMLBase), val1 INTEGER ATTRIBUTE(XMLAttribute,XMLName="Val1"), val2 FLOAT ATTRIBUTE(XMLAttribute,XMLName="Val2") END RECORD
<Root Val1="148" Val2="25.8"> Hello </Root>