Imported Upstream version 4.5.2
[platform/upstream/python-lxml.git] / doc / html / api / lxml.html.html5parser.XHTMLParser-class.html
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">
5 <head>
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>
9 </head>
10
11 <body bgcolor="white" text="black" link="blue" vlink="#204080"
12       alink="#204080">
13 <!-- ==================== NAVIGATION BAR ==================== -->
14 <table class="navbar" border="0" width="100%" cellpadding="0"
15        bgcolor="#a0c0ff" cellspacing="0">
16   <tr valign="middle">
17   <!-- Home link -->
18       <th>&nbsp;&nbsp;&nbsp;<a
19         href="lxml-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
20
21   <!-- Tree link -->
22       <th>&nbsp;&nbsp;&nbsp;<a
23         href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
24
25   <!-- Index link -->
26       <th>&nbsp;&nbsp;&nbsp;<a
27         href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
28
29   <!-- Help link -->
30       <th>&nbsp;&nbsp;&nbsp;<a
31         href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
32
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>
38           </tr></table></th>
39   </tr>
40 </table>
41 <table width="100%" cellpadding="0" cellspacing="0">
42   <tr valign="top">
43     <td width="100%">
44       <span class="breadcrumbs">
45         <a href="lxml-module.html">Package&nbsp;lxml</a> ::
46         <a href="lxml.html-module.html">Package&nbsp;html</a> ::
47         <a href="lxml.html.html5parser-module.html">Module&nbsp;html5parser</a> ::
48         Class&nbsp;XHTMLParser
49       </span>
50     </td>
51     <td>
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&nbsp;private</a>]</span></td></tr>
56         <tr><td align="right"><span class="options"
57             >[<a href="frames.html" target="_top">frames</a
58             >]&nbsp;|&nbsp;<a href="lxml.html.html5parser.XHTMLParser-class.html"
59             target="_top">no&nbsp;frames</a>]</span></td></tr>
60       </table>
61     </td>
62   </tr>
63 </table>
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&nbsp;code</a></span></p>
66 <pre class="base-tree">
67 html5lib.XHTMLParser --+
68                        |
69                       <strong class="uidshort">XHTMLParser</strong>
70 </pre>
71
72 <hr />
73 An html5lib XHTML Parser with lxml as tree.
74
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%">
82       <tr valign="top">
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>
88       </tr>
89     </table>
90   </td>
91 </tr>
92 <tr>
93     <td width="15%" align="right" valign="top" class="summary">
94       <span class="summary-type">&nbsp;</span>
95     </td><td class="summary">
96       <table width="100%" cellpadding="0" cellspacing="0" border="0">
97         <tr>
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&nbsp;code</a></span>
103             
104           </td>
105         </tr>
106       </table>
107       
108     </td>
109   </tr>
110 </table>
111 <!-- ==================== NAVIGATION BAR ==================== -->
112 <table class="navbar" border="0" width="100%" cellpadding="0"
113        bgcolor="#a0c0ff" cellspacing="0">
114   <tr valign="middle">
115   <!-- Home link -->
116       <th>&nbsp;&nbsp;&nbsp;<a
117         href="lxml-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
118
119   <!-- Tree link -->
120       <th>&nbsp;&nbsp;&nbsp;<a
121         href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
122
123   <!-- Index link -->
124       <th>&nbsp;&nbsp;&nbsp;<a
125         href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
126
127   <!-- Help link -->
128       <th>&nbsp;&nbsp;&nbsp;<a
129         href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
130
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>
136           </tr></table></th>
137   </tr>
138 </table>
139 <table border="0" cellpadding="0" cellspacing="0" width="100%%">
140   <tr>
141     <td align="left" class="footer">
142     Generated by Epydoc 3.0.1
143     on Thu Jul  9 18:29:53 2020
144     </td>
145     <td align="right" class="footer">
146       <a target="mainFrame" href="http://epydoc.sourceforge.net"
147         >http://epydoc.sourceforge.net</a>
148     </td>
149   </tr>
150 </table>
151
152 <script type="text/javascript">
153   <!--
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.
158   checkCookie();
159   // -->
160 </script>
161 </body>
162 </html>