Exemplo n.º 1
0
 def __init__(self, namespaceHTMLElements=False, linenumber_attribute=None):
     BaseTreeBuilder.__init__(self, namespaceHTMLElements)
     self.linenumber_attribute = linenumber_attribute
     self.lxml_context = create_lxml_context()
     self.elementClass = partial(ElementFactory, context=self.lxml_context)
     self.proxy_cache = []
Exemplo n.º 2
0
 def __init__(self, namespaceHTMLElements=False, linenumber_attribute=None):
     BaseTreeBuilder.__init__(self, namespaceHTMLElements)
     self.linenumber_attribute = linenumber_attribute
     self.lxml_context = create_lxml_context()
     self.elementClass = partial(ElementFactory, context=self.lxml_context)
     self.proxy_cache = []
Exemplo n.º 3
0
 def __init__(self):
     BaseTreeBuilder.__init__(self, True)