def XML_mic(array: list):
    """Transforms an array of floats into a .xml formatation.

    Args:
        array (list): list of microphone locations [[X, n], [Y, n], [Z, n]].

    Returns:
        (str): string of points in a .xml format.
    """
    new_pos = '<pos\tName="Point {i}"\tx="{x}"\ty="{y}"\tz="{z}" />\n'
    return "".join(
        new_pos.format(i=i + 1, x=array[0][i], y=array[1][i], z=array[2][i])
        for i in range(len(array[0]))
    )