Message

Value MUST be part of code list 'Recommendation 28 (UN/ECE) Transport Means'.

Context
/ubl:DespatchAdvice/cac:Shipment/cac:ShipmentStage/cbc:TransportMeansTypeCode
Test
(some $code in $clUNECERec28 satisfies $code = normalize-space(text()))
Code lists
Recommendation 28 (UN/ECE) Transport Means
Usage
/ ubl:DespatchAdvice / cac:Shipment / cac:ShipmentStage / cbc:TransportMeansTypeCode