For Mime code in attribute use MIMEMediaType.
cbc:*[@mimeCode]
some $code in $mime satisfies $code = normalize-space(@mimeCode)