XMLList

Map a one dimensional array to an XML Schema element that has more than one occurrence.
Important:

It is not possible to define an XMLList attribute on a main array.

Example

DEFINE myVar RECORD ATTRIBUTES(XMLName="Root")
  val1  INTEGER ATTRIBUTES(XMLName="Val1"),
  list  DYNAMIC ARRAY ATTRIBUTES(XMLList) OF STRING ATTRIBUTES(XMLName="Element"),
  val2  FLOAT   ATTRIBUTES(XMLName="Val2")
END RECORD
For example, if the output is viewed in an XML viewer, it would display as shown.
<Root>
  <Val1>148</Val1>
  <Element>hello</Element>
  <Element>how</Element>
  <Element>are</Element>
  <Element>you</Element>
  <Val2>0.58</Val2>
</Root>