create an XML type adapter for every xenum