Message

Value MUST be part of code list 'Weight Statement Type Code (openPEPPOL)'.

Context
/ubl:WeightStatement/cbc:WeightStatementTypeCode
Test
(some $code in $clWeightStatementTypeCode satisfies $code = normalize-space(text()))
Code lists
Weight Statement Type Code (openPEPPOL)
Usage
/ ubl:WeightStatement / cbc:WeightStatementTypeCode