Message

Value MUST be part of code list 'Measured attribute code for despatch advice (UNCL6313 Subset) T120'.

Context
/ubl:DespatchAdvice/cac:Shipment/cac:TransportHandlingUnit/cac:Package/cac:ContainedPackage/cac:ContainedPackage/cac:MeasurementDimension/cbc:AttributeID
Test
(some $code in $clUNCL6313-T120 satisfies $code = normalize-space(text()))
Code lists
Measured attribute code for despatch advice (UNCL6313 Subset) T120
Usage
/ ubl:DespatchAdvice / cac:Shipment / cac:TransportHandlingUnit / cac:Package / cac:ContainedPackage / cac:ContainedPackage / cac:MeasurementDimension / cbc:AttributeID