def __init__(self, data):
    data = data.strip(chr(0))
    self.dom = xml.dom.minidom.parseString(data)
def __init__(self, data):
    data = data.strip(chr(0))
    self.dom = xml.dom.minidom.parseString(data)