def myBasicTreeXMLLinesAux(tree):
    """
    Takes:
        - tree (ete3.TreeNode)
    Returns:
        (list): list of xml lines
    """

    indentChar = "  "

    lines = ["<clade>"]

    lines.append( indentChar + "<name>" + tree.name + "</name>" )

    for c in tree.children:
        tmp = myBasicTreeXMLLinesAux(c)
        for l in tmp:
            lines.append( indentChar + l )

    lines.append("</clade>")

    return lines