Message

Attribute 'listID' MUST contain value 'ReferencesTypeCodes'

Context
/espd:ESPDResponse/cac:AdditionalDocumentReference/cbc:DocumentTypeCode
Test
not(@listID) or @listID = 'ReferencesTypeCodes'
Usage
/ espd:ESPDResponse / cac:AdditionalDocumentReference / cbc:DocumentTypeCode / @listID