1 <?xml version="1.0" encoding="ascii"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3 "DTD/xhtml1-transitional.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6 <title>lxml.html.html5parser.XHTMLParser</title>
7 <link rel="stylesheet" href="epydoc.css" type="text/css" />
8 <script type="text/javascript" src="epydoc.js"></script>
11 <body bgcolor="white" text="black" link="blue" vlink="#204080"
13 <!-- ==================== NAVIGATION BAR ==================== -->
14 <table class="navbar" border="0" width="100%" cellpadding="0"
15 bgcolor="#a0c0ff" cellspacing="0">
18 <th> <a
19 href="lxml-module.html">Home</a> </th>
22 <th> <a
23 href="module-tree.html">Trees</a> </th>
26 <th> <a
27 href="identifier-index.html">Indices</a> </th>
30 <th> <a
31 href="help.html">Help</a> </th>
33 <!-- Project homepage -->
34 <th class="navbar" align="right" width="100%">
35 <table border="0" cellpadding="0" cellspacing="0">
36 <tr><th class="navbar" align="center"
37 ><a class="navbar" target="_top" href="/">lxml API</a></th>
41 <table width="100%" cellpadding="0" cellspacing="0">
44 <span class="breadcrumbs">
45 <a href="lxml-module.html">Package lxml</a> ::
46 <a href="lxml.html-module.html">Package html</a> ::
47 <a href="lxml.html.html5parser-module.html">Module html5parser</a> ::
48 Class XHTMLParser
52 <table cellpadding="0" cellspacing="0">
53 <!-- hide/show private -->
54 <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
55 onclick="toggle_private();">hide private</a>]</span></td></tr>
56 <tr><td align="right"><span class="options"
57 >[<a href="frames.html" target="_top">frames</a
58 >] | <a href="lxml.html.html5parser.XHTMLParser-class.html"
59 target="_top">no frames</a>]</span></td></tr>
64 <!-- ==================== CLASS DESCRIPTION ==================== -->
65 <h1 class="epydoc">Class XHTMLParser</h1><p class="nomargin-top"><span class="codelink"><a href="lxml.html.html5parser-pysrc.html#XHTMLParser">source code</a></span></p>
66 <pre class="base-tree">
67 html5lib.XHTMLParser --+
69 <strong class="uidshort">XHTMLParser</strong>
73 An html5lib XHTML Parser with lxml as tree.
75 <!-- ==================== INSTANCE METHODS ==================== -->
76 <a name="section-InstanceMethods"></a>
77 <table class="summary" border="1" cellpadding="3"
78 cellspacing="0" width="100%" bgcolor="white">
79 <tr bgcolor="#70b0f0" class="table-header">
80 <td colspan="2" class="table-header">
81 <table border="0" cellpadding="0" cellspacing="0" width="100%">
83 <td align="left"><span class="table-header">Instance Methods</span></td>
84 <td align="right" valign="top"
85 ><span class="options">[<a href="#section-InstanceMethods"
86 class="privatelink" onclick="toggle_private();"
87 >hide private</a>]</span></td>
93 <td width="15%" align="right" valign="top" class="summary">
94 <span class="summary-type"> </span>
95 </td><td class="summary">
96 <table width="100%" cellpadding="0" cellspacing="0" border="0">
98 <td><span class="summary-sig"><a name="__init__"></a><span class="summary-sig-name">__init__</span>(<span class="summary-sig-arg">self</span>,
99 <span class="summary-sig-arg">strict</span>=<span class="summary-sig-default">False</span>,
100 <span class="summary-sig-arg">**kwargs</span>)</span></td>
101 <td align="right" valign="top">
102 <span class="codelink"><a href="lxml.html.html5parser-pysrc.html#XHTMLParser.__init__">source code</a></span>
111 <!-- ==================== NAVIGATION BAR ==================== -->
112 <table class="navbar" border="0" width="100%" cellpadding="0"
113 bgcolor="#a0c0ff" cellspacing="0">
116 <th> <a
117 href="lxml-module.html">Home</a> </th>
120 <th> <a
121 href="module-tree.html">Trees</a> </th>
124 <th> <a
125 href="identifier-index.html">Indices</a> </th>
128 <th> <a
129 href="help.html">Help</a> </th>
131 <!-- Project homepage -->
132 <th class="navbar" align="right" width="100%">
133 <table border="0" cellpadding="0" cellspacing="0">
134 <tr><th class="navbar" align="center"
135 ><a class="navbar" target="_top" href="/">lxml API</a></th>
139 <table border="0" cellpadding="0" cellspacing="0" width="100%%">
141 <td align="left" class="footer">
142 Generated by Epydoc 3.0.1
143 on Thu Jul 9 18:29:53 2020
145 <td align="right" class="footer">
146 <a target="mainFrame" href="http://epydoc.sourceforge.net"
147 >http://epydoc.sourceforge.net</a>
152 <script type="text/javascript">
154 // Private objects are initially displayed (because if
155 // javascript is turned off then we want them to be
156 // visible); but by default, we want to hide them. So hide
157 // them unless we have a cookie that says to show them.