def __init__(self, prefixes=None, cache=True):
    self.prefixes = {XML_NAMESPACE.uri: 'xml'}
    if (prefixes is not None):
        self.prefixes.update(prefixes)
    self.cache = cache
def __init__(self, prefixes=None, cache=True):
    self.prefixes = {XML_NAMESPACE.uri: 'xml'}
    if (prefixes is not None):
        self.prefixes.update(prefixes)
    self.cache = cache