Split datatypes from enumerations in document