def XMLParser(self, infile):
    self.table = []
    self.verbose(('xml infile %s' % infile))
    import xml.etree.ElementTree as ET
    tree = ET.parse(infile)
    for row in tree.iter('row'):
        c = 0
        cnames = []
        col = []
        for e in row.iter():
            if (e.tag != 'row'):
                if (len(self.table) == 0):
                    cnames.append(e.tag)
                col.append(e.text)
        if (len(self.table) == 0):
            self.table.append(cnames)
        self.table.append(col)
def XMLParser(self, infile):
    self.table = []
    self.verbose(('xml infile %s' % infile))
    import xml.etree.ElementTree as ET
    tree = ET.parse(infile)
    for row in tree.iter('row'):
        c = 0
        cnames = []
        col = []
        for e in row.iter():
            if (e.tag != 'row'):
                if (len(self.table) == 0):
                    cnames.append(e.tag)
                col.append(e.text)
        if (len(self.table) == 0):
            self.table.append(cnames)
        self.table.append(col)