def msg_err_missing_attributes(tag, *attributes):
    """Format message for missing attributes.

    :param tag: tag name
    :param attributes: list of attributes
    :return: message
    :rtype: str
    """
    return 'Missing one or more required attributes (%s) in xml tag %s' % ('|'
        .join(attributes), tag)
