XMLName

Define the name of a variable in an XML document.

Note:

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
<Root>
  <Val1>148</Val1>
  <val2>0.5</val2>
  <Val3>-18547</Val3>
</Root>