1 from xml.dom import minidom
3 xmldoc = minidom.parse('./xmls/f1.xml')
4 flow = xmldoc.childNodes[0]
5 match = flow.childNodes[15]
7 ipv4dst = match.getElementsByTagName("ipv4-destination")
8 print ipv4dst[0].childNodes[0].data
10 cvok = match.getElementsByTagName("cvok")
13 print "ethernet type", match.getElementsByTagName("type")[0].childNodes[0].data
14 # print "ethernet cvok", match.getElementsByTagName("cvok")[0].childNodes[0].data