In a Script connector, based on a value I’ve calculated earlier in the script (numberofpallets) , I need to repeat an XML structure multiple times. The only thing that changes is the <PalletID>
I’m trying this
<arc:set attr="output.data">
<arc:enum range="1..goutput.header:numberofpallets]">
<OrderStatusUpdate xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<EventTime>2024-07-03T13:03:00.0000+01:00</EventTime>
<OrderNo>200766</OrderNo>
...
<Longitude>Not Available</Longitude>
<PalletID>t_index]</PalletID>
</OrderStatusUpdate>
</arc:enum>
</arc:set>
But get the error “Invalid range, e.g of valid ranges are 1..20, a..z, A..z, z..a etc :”