Value MUST be part of code list 'Measured attribute code for despatch advice (UNCL6313 Subset)'.
/ubl:DespatchAdvice/cac:DespatchLine/cac:Shipment/cac:TransportHandlingUnit/cac:MeasurementDimension/cbc:AttributeID
(some $code in $clUNCL6313-T16 satisfies $code = normalize-space(text()))