switch xml library