Searched refs:treewalker (Results 1 – 5 of 5) sorted by relevance
171 def serialize(self, treewalker, encoding=None): argument178 treewalker = Filter(treewalker, encoding)183 treewalker = Filter(treewalker)186 treewalker = Filter(treewalker)189 treewalker = Filter(treewalker)194 treewalker = Filter(treewalker)196 for token in treewalker:302 def render(self, treewalker, encoding=None): argument304 return b"".join(list(self.serialize(treewalker, encoding)))306 return "".join(list(self.serialize(treewalker)))
66 * Fix #115: lxml treewalker can now deal with fragments containing, at107 treewalker; it also resolves all known bugs with ``dom2sax``.109 * Fix treewalker assertions on hitting bytes strings on147 * Optional ``Genshi`` treewalker support fixed.
3 # We support a Genshi treewalker that can be used to serialize Genshi
114 - ``genshi`` has a treewalker (but not builder); and
150 self.treewalker = html5lib.getTreeWalker("lxml")