generate from xml all types