def from_ark_to_name(ark):
    """Transform an ark in a name"""
    name = ark.replace(":", "-").replace("/", "-").replace("--", "-")
    if name.endswith(".xml"):
        return name
    return name + ".xml"