import numpy as np
import pandas as pd
import xml.etree.cElementTree as et
def getvalueofnode(node):
"""return node text or None"""
return node.text
def main():
path = "cd_catalog.xml"
dfcols=['TITLE','ARTIST','COUNTRY','COMPANY','PRICE','YEAR']
parsed_xml=et.parse(path)
df_xml=pd.DataFrame(columns=dfcols)
for node in parsed_xml.getroot