I have a BOD XML with repeating elements. This could be any repeating element - the example does not matter.

In the manual mapping box above we have the following code using IonApiRef and XPATH for retrieving the data from XML.
According the documentation it is possible to user index numbers if the second or more elment should be retrieved from XML.
But the number elementis varies per BOD, this could 1, 2 or any number.
I cannot find the correct syntax for retrieving any / all occurrences of the input document.
{ "docId": {"IonApiRef" : "SyncDeclarationOfCompliance/DataArea/DeclarationOfCompliance/DocumentID/ID"},
"rawMaterial": [{
"id": {"IonApiRef": "SyncDeclarationOfCompliance/DataArea/DeclarationOfCompliance/RawMaterials[2]/Item"},
"name": {"IonApiRef": "SyncDeclarationOfCompliance/DataArea/DeclarationOfCompliance/RawMaterials[2]/Description"}}],
"masterbatch": [{
"id": {"IonApiRef": "SyncDeclarationOfCompliance/DataArea/DeclarationOfCompliance/MasterBatches[*]/Item"},
"name": {"IonApiRef": "SyncDeclarationOfCompliance/DataArea/DeclarationOfCompliance/MasterBatches[*]/Description"}}]
}
For example * as wildcard is not working. Does anyone has the correct syntax?
Thanks a lot!