Message

Element 'cbc:ID' MUST contain value 'NA'.

Context
/ubl:DespatchAdvice/cac:DespatchLine/cac:Shipment/cbc:ID
Test
normalize-space(text()) = 'NA'
Usage
/ ubl:DespatchAdvice / cac:DespatchLine / cac:Shipment / cbc:ID