Message

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

Context
/ubl:DespatchAdvice/cac:Shipment/cac:ShipmentStage/cbc:TransportModeCode
Test
(some $code in $clUNECERec19 satisfies $code = normalize-space(text()))
Code lists
Recommendation 19 (UN/ECE) Transport Modes
Usage
/ ubl:DespatchAdvice / cac:Shipment / cac:ShipmentStage / cbc:TransportModeCode