Home
last modified time | relevance | path

Searched refs:treebuilder (Results 1 – 8 of 8) sorted by relevance

/external/chromium-trace/catapult/third_party/html5lib-python/
Dparse.py51 treebuilder = treebuilders.getTreeBuilder(opts.treebuilder)
58 p = html5parser.HTMLParser(tree=treebuilder, tokenizer=tokenizer, debug=opts.log)
112 tb = opts.treebuilder.lower()
137 tokens = treewalkers.getTreeWalker(opts.treebuilder)(document)
Drequirements-optional-cpython.txt3 # lxml is supported with its own treebuilder ("lxml") and otherwise
DREADME.rst36 a treebuilder:
42 lxml_etree_document = html5lib.parse(f, treebuilder="lxml")
77 When you're instantiating parser objects explicitly, pass a treebuilder
DCHANGES.rst128 * Removed the deprecated Beautiful Soup 3 treebuilder.
140 * Removed default DOM treebuilder, so ``html5lib.treebuilders.dom`` is no
142 return the default DOM treebuilder, which uses ``xml.dom.minidom``.
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/tests/
Dtest_treeadapters.py15 """, treebuilder="etree")
/external/chromium-trace/catapult/third_party/html5lib-python/doc/
Dmovingparts.rst32 lxml_etree_document = html5lib.parse(f, treebuilder="lxml")
136 >>> dom = html5lib.parse("<p><script>alert('Boo!')", treebuilder="dom")
/external/chromium-trace/catapult/third_party/beautifulsoup4/
DNEWS.txt89 * The html.parser treebuilder can now handle numeric attributes in
143 * Fix a bug in the html5lib treebuilder which sometimes created
146 * Fix a bug in the lxml treebuilder which crashed when a tag included
220 * Fixed a bug with the lxml treebuilder that prevented the user from
246 * Fixed a bug that made the HTMLParser treebuilder generate XML
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/
Dhtml5parser.py24 def parse(doc, treebuilder="etree", encoding=None, argument
27 tb = treebuilders.getTreeBuilder(treebuilder)
32 def parseFragment(doc, container="div", treebuilder="etree", encoding=None, argument
34 tb = treebuilders.getTreeBuilder(treebuilder)