CharacterSetCode attribute should not be present
/ubl:Invoice | /cn:CreditNote
not(//@characterSetCode)