$ 0 0 try this: foreach(c composant->children when(c->layer == "PACKAGE GEOMETRY/PLACE_BOUND_TOP" (bBox_PBT = copy(c->bBox)) ) )