[xml] generate meta for enum fields