Longitudinal elements having flexible parts, or parts connected together, such that after implantation the elements can move relative to each other