Mapping a Nested Array Child Element outside the Nested Array Scope

To map a nested array child element outside the nested array scope but within its parent array, you must use the scoping variable of the parent array.

To do so, follow these steps:

Procedure

  1. Map the parent array root.
  2. Map the nested array root.
  3. Map the nested array child element.

    In the example below, $loop implicitly points to address. In addition, the mapping also explicitly specifies the scope of the parent, "objArray1". This is because zip1 is mapped to code which is outside the scope of address1, but within the scope of its parent array, objArray1.