Using anonymous field references

You can refer to the array of all children of a particular element by using a path element of *.

About this task

For example:

InputRoot.*[]

is a path that identifies the array of all children of InputRoot. This is often used in conjunction with an array subscript to refer to a particular child of an entity by position, rather than by name. For example:

InputRoot.*[<]
Refers to the last child of the root of the input message, that is, the body of the message.
InputRoot.*[1]
Refers to the first child of the root of the input message, the message properties.

You might want to find out the name of an element that has been identified with a path of this kind. To do this, use the FIELDNAME function, which is described in FIELDNAME function.