I need to modify the parameters of a function in xml file with ElementTree while the elements have similar names. In this example I want to change only the number 2 and keep the others. Is it possible?
<Model>
    <Function>
      <param>x</param>
      <param>type</param>
      <param>2</param>
      <param>5</param>
     </Function>
</Model>
 
    