Charging mechanisms of trapped element-selectively excited nanoparticles exposed to soft x rays.