Orbits
1
|
Classes | |
class | DocumentType |
class | Document |
class | TreeBuilder |
Functions | |
def | testSerializer |
def | tostring |
Variables | |
fullTree = True | |
tuple | tag_regexp = re.compile("{([^}]*)}(.*)") |
tuple | comment_type = etree.Comment("asd") |
Module for supporting the lxml.etree library. The idea here is to use as much of the native library as possible, without using fragile hacks like custom element names that break between releases. The downside of this is that we cannot represent all possible trees; specifically the following are known to cause problems: Text or comments as siblings of the root element Docypes with no name When any of these things occur, we emit a DataLossWarning
def pip._vendor.html5lib.treebuilders.etree_lxml.testSerializer | ( | element | ) |
def pip._vendor.html5lib.treebuilders.etree_lxml.tostring | ( | element | ) |
Serialize an element and its child nodes to a string
tuple pip._vendor.html5lib.treebuilders.etree_lxml.comment_type = etree.Comment("asd") |
pip._vendor.html5lib.treebuilders.etree_lxml.fullTree = True |
tuple pip._vendor.html5lib.treebuilders.etree_lxml.tag_regexp = re.compile("{([^}]*)}(.*)") |
Copyright 2014 Google Inc. All rights reserved.