XMLName

Define the name of a variable in an XML document. The attribute cannot be set on a type definition.

Example

DEFINE myVar RECORD ATTRIBUTES(XMLName="Root")
  val1  INTEGER ATTRIBUTES(XMLName="Val1"),
  val2  FLOAT,
  val3  INTEGER ATTRIBUTES(XMLName="Val3")
END RECORD
If the output is viewed in an XML viewer, it would display as shown.
<Root>
  <Val1>148</Val1>
  <val2>0.5</val2>
  <Val3>-18547</Val3>
</Root>