I want to get each elements in xml file as output I tried several methods, \'\'\' tree = ET.parse(\'/train_label.xml\')\'\'\' \'\'\'root =