debug = False #from xml.sax import saxutils # #class config(saxutils.DefaultHandler): # def __init__(self, file, start): # self.file = file # self.start = start # self.config = {} # # def startElement(self,name, attrs): # if name != self.start: return # # #incomplete