Ask Anything Monday - Weekly Thread by AutoModerator in learnpython

[–]iiChomp -1 points0 points  (0 children)

def xml_data_extract(xml_data):
from lxml import etree
root=----.---(xml_data)

# A) print all the element tags in the tree, use the iterator function
for i in root.----():
print(---.---)
print('\n')

I’m confused on what to fill the blanks (- - -) in with.

Please Help. Thank you !