Imported Upstream version 4.5.2
[platform/upstream/python-lxml.git] / doc / html / api / lxml.cssselect.LxmlHTMLTranslator-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.cssselect.LxmlHTMLTranslator</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.cssselect-module.html">Module&nbsp;cssselect</a> ::
47         Class&nbsp;LxmlHTMLTranslator
48       </span>
49     </td>
50     <td>
51       <table cellpadding="0" cellspacing="0">
52         <!-- hide/show private -->
53         <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
54     onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
55         <tr><td align="right"><span class="options"
56             >[<a href="frames.html" target="_top">frames</a
57             >]&nbsp;|&nbsp;<a href="lxml.cssselect.LxmlHTMLTranslator-class.html"
58             target="_top">no&nbsp;frames</a>]</span></td></tr>
59       </table>
60     </td>
61   </tr>
62 </table>
63 <!-- ==================== CLASS DESCRIPTION ==================== -->
64 <h1 class="epydoc">Class LxmlHTMLTranslator</h1><p class="nomargin-top"><span class="codelink"><a href="lxml.cssselect-pysrc.html#LxmlHTMLTranslator">source&nbsp;code</a></span></p>
65 <pre class="base-tree">
66                        object --+        
67                                 |        
68 cssselect.xpath.GenericTranslator --+    
69                                     |    
70                        <a href="lxml.cssselect.LxmlTranslator-class.html" onclick="show_private();">LxmlTranslator</a> --+
71                                         |
72                        object --+       |
73                                 |       |
74 cssselect.xpath.GenericTranslator --+   |
75                                     |   |
76        cssselect.xpath.HTMLTranslator --+
77                                         |
78                                        <strong class="uidshort">LxmlHTMLTranslator</strong>
79 </pre>
80
81 <hr />
82 lxml extensions + HTML support.
83
84 <!-- ==================== NESTED CLASSES ==================== -->
85 <a name="section-NestedClasses"></a>
86 <table class="summary" border="1" cellpadding="3"
87        cellspacing="0" width="100%" bgcolor="white">
88 <tr bgcolor="#70b0f0" class="table-header">
89   <td colspan="2" class="table-header">
90     <table border="0" cellpadding="0" cellspacing="0" width="100%">
91       <tr valign="top">
92         <td align="left"><span class="table-header">Nested Classes</span></td>
93         <td align="right" valign="top"
94          ><span class="options">[<a href="#section-NestedClasses"
95          class="privatelink" onclick="toggle_private();"
96          >hide private</a>]</span></td>
97       </tr>
98     </table>
99   </td>
100 </tr>
101   <tr>
102     <td colspan="2" class="summary">
103     <p class="indent-wrapped-lines"><b>Inherited from <code>cssselect.xpath.GenericTranslator</code></b>:
104       <code><a href="cssselect.xpath.XPathExpr-class.html">xpathexpr_cls</a></code>
105       </p>
106     </td>
107   </tr>
108 </table>
109 <!-- ==================== INSTANCE METHODS ==================== -->
110 <a name="section-InstanceMethods"></a>
111 <table class="summary" border="1" cellpadding="3"
112        cellspacing="0" width="100%" bgcolor="white">
113 <tr bgcolor="#70b0f0" class="table-header">
114   <td colspan="2" class="table-header">
115     <table border="0" cellpadding="0" cellspacing="0" width="100%">
116       <tr valign="top">
117         <td align="left"><span class="table-header">Instance Methods</span></td>
118         <td align="right" valign="top"
119          ><span class="options">[<a href="#section-InstanceMethods"
120          class="privatelink" onclick="toggle_private();"
121          >hide private</a>]</span></td>
122       </tr>
123     </table>
124   </td>
125 </tr>
126   <tr>
127     <td colspan="2" class="summary">
128     <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.cssselect.LxmlTranslator-class.html" onclick="show_private();">LxmlTranslator</a></code></b>:
129       <code><a href="lxml.cssselect.LxmlTranslator-class.html#xpath_contains_function">xpath_contains_function</a></code>
130       </p>
131     <p class="indent-wrapped-lines"><b>Inherited from <code>cssselect.xpath.HTMLTranslator</code></b>:
132       <code>__init__</code>,
133       <code>xpath_checked_pseudo</code>,
134       <code>xpath_disabled_pseudo</code>,
135       <code>xpath_enabled_pseudo</code>,
136       <code>xpath_lang_function</code>,
137       <code>xpath_link_pseudo</code>
138       </p>
139     <p class="indent-wrapped-lines"><b>Inherited from <code>cssselect.xpath.GenericTranslator</code></b>:
140       <code>css_to_xpath</code>,
141       <code>pseudo_never_matches</code>,
142       <code>selector_to_xpath</code>,
143       <code>xpath</code>,
144       <code>xpath_active_pseudo</code>,
145       <code>xpath_attrib</code>,
146       <code>xpath_attrib_dashmatch</code>,
147       <code>xpath_attrib_different</code>,
148       <code>xpath_attrib_equals</code>,
149       <code>xpath_attrib_exists</code>,
150       <code>xpath_attrib_includes</code>,
151       <code>xpath_attrib_prefixmatch</code>,
152       <code>xpath_attrib_substringmatch</code>,
153       <code>xpath_attrib_suffixmatch</code>,
154       <code>xpath_child_combinator</code>,
155       <code>xpath_class</code>,
156       <code>xpath_combinedselector</code>,
157       <code>xpath_descendant_combinator</code>,
158       <code>xpath_direct_adjacent_combinator</code>,
159       <code>xpath_element</code>,
160       <code>xpath_empty_pseudo</code>,
161       <code>xpath_first_child_pseudo</code>,
162       <code>xpath_first_of_type_pseudo</code>,
163       <code>xpath_focus_pseudo</code>,
164       <code>xpath_function</code>,
165       <code>xpath_hash</code>,
166       <code>xpath_hover_pseudo</code>,
167       <code>xpath_indirect_adjacent_combinator</code>,
168       <code>xpath_last_child_pseudo</code>,
169       <code>xpath_last_of_type_pseudo</code>,
170       <code>xpath_negation</code>,
171       <code>xpath_nth_child_function</code>,
172       <code>xpath_nth_last_child_function</code>,
173       <code>xpath_nth_last_of_type_function</code>,
174       <code>xpath_nth_of_type_function</code>,
175       <code>xpath_only_child_pseudo</code>,
176       <code>xpath_only_of_type_pseudo</code>,
177       <code>xpath_pseudo</code>,
178       <code>xpath_pseudo_element</code>,
179       <code>xpath_root_pseudo</code>,
180       <code>xpath_target_pseudo</code>,
181       <code>xpath_visited_pseudo</code>
182       </p>
183     <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
184       <code>__delattr__</code>,
185       <code>__format__</code>,
186       <code>__getattribute__</code>,
187       <code>__hash__</code>,
188       <code>__new__</code>,
189       <code>__reduce__</code>,
190       <code>__reduce_ex__</code>,
191       <code>__repr__</code>,
192       <code>__setattr__</code>,
193       <code>__sizeof__</code>,
194       <code>__str__</code>,
195       <code>__subclasshook__</code>
196       </p>
197     </td>
198   </tr>
199 </table>
200 <!-- ==================== STATIC METHODS ==================== -->
201 <a name="section-StaticMethods"></a>
202 <table class="summary" border="1" cellpadding="3"
203        cellspacing="0" width="100%" bgcolor="white">
204 <tr bgcolor="#70b0f0" class="table-header">
205   <td colspan="2" class="table-header">
206     <table border="0" cellpadding="0" cellspacing="0" width="100%">
207       <tr valign="top">
208         <td align="left"><span class="table-header">Static Methods</span></td>
209         <td align="right" valign="top"
210          ><span class="options">[<a href="#section-StaticMethods"
211          class="privatelink" onclick="toggle_private();"
212          >hide private</a>]</span></td>
213       </tr>
214     </table>
215   </td>
216 </tr>
217   <tr>
218     <td colspan="2" class="summary">
219     <p class="indent-wrapped-lines"><b>Inherited from <code>cssselect.xpath.GenericTranslator</code></b>:
220       <code>xpath_literal</code>
221       </p>
222     </td>
223   </tr>
224 </table>
225 <!-- ==================== CLASS VARIABLES ==================== -->
226 <a name="section-ClassVariables"></a>
227 <table class="summary" border="1" cellpadding="3"
228        cellspacing="0" width="100%" bgcolor="white">
229 <tr bgcolor="#70b0f0" class="table-header">
230   <td colspan="2" class="table-header">
231     <table border="0" cellpadding="0" cellspacing="0" width="100%">
232       <tr valign="top">
233         <td align="left"><span class="table-header">Class Variables</span></td>
234         <td align="right" valign="top"
235          ><span class="options">[<a href="#section-ClassVariables"
236          class="privatelink" onclick="toggle_private();"
237          >hide private</a>]</span></td>
238       </tr>
239     </table>
240   </td>
241 </tr>
242   <tr>
243     <td colspan="2" class="summary">
244     <p class="indent-wrapped-lines"><b>Inherited from <code>cssselect.xpath.HTMLTranslator</code></b>:
245       <code>lang_attribute</code>
246       </p>
247     <p class="indent-wrapped-lines"><b>Inherited from <code>cssselect.xpath.GenericTranslator</code></b>:
248       <code>attribute_operator_mapping</code>,
249       <code>combinator_mapping</code>,
250       <code>id_attribute</code>,
251       <code>lower_case_attribute_names</code>,
252       <code>lower_case_attribute_values</code>,
253       <code>lower_case_element_names</code>
254       </p>
255     </td>
256   </tr>
257 </table>
258 <!-- ==================== PROPERTIES ==================== -->
259 <a name="section-Properties"></a>
260 <table class="summary" border="1" cellpadding="3"
261        cellspacing="0" width="100%" bgcolor="white">
262 <tr bgcolor="#70b0f0" class="table-header">
263   <td colspan="2" class="table-header">
264     <table border="0" cellpadding="0" cellspacing="0" width="100%">
265       <tr valign="top">
266         <td align="left"><span class="table-header">Properties</span></td>
267         <td align="right" valign="top"
268          ><span class="options">[<a href="#section-Properties"
269          class="privatelink" onclick="toggle_private();"
270          >hide private</a>]</span></td>
271       </tr>
272     </table>
273   </td>
274 </tr>
275   <tr>
276     <td colspan="2" class="summary">
277     <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
278       <code>__class__</code>
279       </p>
280     </td>
281   </tr>
282 </table>
283 <!-- ==================== NAVIGATION BAR ==================== -->
284 <table class="navbar" border="0" width="100%" cellpadding="0"
285        bgcolor="#a0c0ff" cellspacing="0">
286   <tr valign="middle">
287   <!-- Home link -->
288       <th>&nbsp;&nbsp;&nbsp;<a
289         href="lxml-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
290
291   <!-- Tree link -->
292       <th>&nbsp;&nbsp;&nbsp;<a
293         href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
294
295   <!-- Index link -->
296       <th>&nbsp;&nbsp;&nbsp;<a
297         href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
298
299   <!-- Help link -->
300       <th>&nbsp;&nbsp;&nbsp;<a
301         href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
302
303   <!-- Project homepage -->
304       <th class="navbar" align="right" width="100%">
305         <table border="0" cellpadding="0" cellspacing="0">
306           <tr><th class="navbar" align="center"
307             ><a class="navbar" target="_top" href="/">lxml API</a></th>
308           </tr></table></th>
309   </tr>
310 </table>
311 <table border="0" cellpadding="0" cellspacing="0" width="100%%">
312   <tr>
313     <td align="left" class="footer">
314     Generated by Epydoc 3.0.1
315     on Thu Jul  9 18:29:53 2020
316     </td>
317     <td align="right" class="footer">
318       <a target="mainFrame" href="http://epydoc.sourceforge.net"
319         >http://epydoc.sourceforge.net</a>
320     </td>
321   </tr>
322 </table>
323
324 <script type="text/javascript">
325   <!--
326   // Private objects are initially displayed (because if
327   // javascript is turned off then we want them to be
328   // visible); but by default, we want to hide them.  So hide
329   // them unless we have a cookie that says to show them.
330   checkCookie();
331   // -->
332 </script>
333 </body>
334 </html>