Automatic non-metallic sample preparation for inductively coupled plasma spectrometry