Following is my xml file contents,
1
import xml.etree.ElementTree as etree xmlD = etree.parse('xmlTest.xml') root = xmlD.getroot() for child in root: for children in child: print(children.text)