The XML Schema specification allows an element, or attribute, to contain a list of values that are based on a simple type, with the individual values separated by white space. In the message tree, an xsd:list element is represented as a name node, with an anonymous child node for each list item. Repeating lists can be handled without any loss of information.
<message1> <listE1>one two three</listE1> </message1>
MRM listEl (Name) "one" (Value) "two" (Value) "three" (Value)
Individual list items can be accessed as ElementName.*[n].
SET X = FIELDVALUE (InputBody.message1.listE1.*[3]);
An attribute can also be of type xsd:list.
<message1> <Element listAttr="one two three"/> </message1>
MRM Element (Name) listAttr (Name) "one" (Value) "two" (Value) "three" (Value)
As before, individual list items can be accessed as AttrName.*[n].
SET X = FIELDVALUE (InputBody.message1.Element.listAttr.*[3]);
A list element can occur more than once.
<message1> <listE1>one two three/listE1> <listE1>four five six/listE1> </message1>
MRM listE1 (Name) "one" (Value) "two" (Value) "three" (Value) listE1 (Name) "four" (Value) "five" (Value) "six" (Value)
SET X = FIELDVALUE (InputBody.message1.listE1[2].*[1]);