def convert_style(style_dict):
    """ Converts a dictionary which contains style settings into a string suitable for use in SVG. """
    style_text = ""
    for d in style_dict:
        style_text += "%s=\"%s\" "%(d,style_dict[d])
    return style_text