OpenQuizz
Une application de gestion des contenus pédagogiques
pip._vendor.html5lib.treebuilders.etree_lxml Namespace Reference

Data Structures

class  Document
 
class  DocumentType
 
class  TreeBuilder
 

Functions

def testSerializer (element)
 
def tostring (element)
 

Variables

 fullTree
 
 tag_regexp
 
 comment_type
 

Detailed Description

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

Function Documentation

◆ testSerializer()

def pip._vendor.html5lib.treebuilders.etree_lxml.testSerializer (   element)

◆ tostring()

def pip._vendor.html5lib.treebuilders.etree_lxml.tostring (   element)
Serialize an element and its child nodes to a string

Variable Documentation

◆ comment_type

comment_type

◆ fullTree

fullTree

◆ tag_regexp

tag_regexp