4 <html class="writer-html5" lang="en" >
8 <meta name="viewport" content="width=device-width, initial-scale=1.0">
10 <title>lxml.etree module — lxml documentation</title>
14 <link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
15 <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
24 <script src="_static/js/html5shiv.min.js"></script>
28 <script type="text/javascript" id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
29 <script src="_static/jquery.js"></script>
30 <script src="_static/underscore.js"></script>
31 <script src="_static/doctools.js"></script>
32 <script src="_static/language_data.js"></script>
34 <script type="text/javascript" src="_static/js/theme.js"></script>
37 <link rel="index" title="Index" href="genindex.html" />
38 <link rel="search" title="Search" href="search.html" />
39 <link rel="next" title="lxml.objectify module" href="lxml.objectify.html" />
40 <link rel="prev" title="lxml.doctestcompare module" href="lxml.doctestcompare.html" />
43 <body class="wy-body-for-nav">
46 <div class="wy-grid-for-nav">
48 <nav data-toggle="wy-nav-shift" class="wy-nav-side">
49 <div class="wy-side-scroll">
50 <div class="wy-side-nav-search" >
54 <a href="index.html" class="icon icon-home" alt="Documentation Home"> lxml
59 <img src="_static/python-xml.png" class="logo" alt="Logo"/>
74 <form id="rtd-search-form" class="wy-form" action="search.html" method="get">
75 <input type="text" name="q" placeholder="Search docs" />
76 <input type="hidden" name="check_keywords" value="yes" />
77 <input type="hidden" name="area" value="default" />
85 <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
93 <li class="toctree-l1 current"><a class="reference internal" href="lxml.html">lxml package</a><ul class="current">
94 <li class="toctree-l2"><a class="reference internal" href="lxml.html.html">lxml.html package</a><ul>
95 <li class="toctree-l3"><a class="reference internal" href="lxml.html.ElementSoup.html">lxml.html.ElementSoup module</a></li>
96 <li class="toctree-l3"><a class="reference internal" href="lxml.html._diffcommand.html">lxml.html._diffcommand module</a></li>
97 <li class="toctree-l3"><a class="reference internal" href="lxml.html._setmixin.html">lxml.html._setmixin module</a></li>
98 <li class="toctree-l3"><a class="reference internal" href="lxml.html.builder.html">lxml.html.builder module</a></li>
99 <li class="toctree-l3"><a class="reference internal" href="lxml.html.clean.html">lxml.html.clean module</a></li>
100 <li class="toctree-l3"><a class="reference internal" href="lxml.html.defs.html">lxml.html.defs module</a></li>
101 <li class="toctree-l3"><a class="reference internal" href="lxml.html.diff.html">lxml.html.diff module</a></li>
102 <li class="toctree-l3"><a class="reference internal" href="lxml.html.formfill.html">lxml.html.formfill module</a></li>
103 <li class="toctree-l3"><a class="reference internal" href="lxml.html.html5parser.html">lxml.html.html5parser module</a></li>
104 <li class="toctree-l3"><a class="reference internal" href="lxml.html.soupparser.html">lxml.html.soupparser module</a></li>
107 <li class="toctree-l2"><a class="reference internal" href="lxml.isoschematron.html">lxml.isoschematron package</a></li>
108 <li class="toctree-l2"><a class="reference internal" href="lxml.ElementInclude.html">lxml.ElementInclude module</a></li>
109 <li class="toctree-l2"><a class="reference internal" href="lxml._elementpath.html">lxml._elementpath module</a></li>
110 <li class="toctree-l2"><a class="reference internal" href="lxml.builder.html">lxml.builder module</a></li>
111 <li class="toctree-l2"><a class="reference internal" href="lxml.cssselect.html">lxml.cssselect module</a></li>
112 <li class="toctree-l2"><a class="reference internal" href="lxml.doctestcompare.html">lxml.doctestcompare module</a></li>
113 <li class="toctree-l2 current"><a class="current reference internal" href="#">lxml.etree module</a></li>
114 <li class="toctree-l2"><a class="reference internal" href="lxml.objectify.html">lxml.objectify module</a></li>
115 <li class="toctree-l2"><a class="reference internal" href="lxml.sax.html">lxml.sax module</a></li>
127 <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
130 <nav class="wy-nav-top" aria-label="top navigation">
132 <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
133 <a href="index.html">lxml</a>
138 <div class="wy-nav-content">
140 <div class="rst-content">
158 <div role="navigation" aria-label="breadcrumbs navigation">
160 <ul class="wy-breadcrumbs">
162 <li><a href="index.html" class="icon icon-home"></a> »</li>
164 <li><a href="lxml.html">lxml package</a> »</li>
166 <li>lxml.etree module</li>
169 <li class="wy-breadcrumbs-aside">
172 <a href="_sources/lxml.etree.rst.txt" rel="nofollow"> View page source</a>
182 <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
183 <div itemprop="articleBody">
185 <div class="section" id="module-lxml.etree">
186 <span id="lxml-etree-module"></span><h1>lxml.etree module<a class="headerlink" href="#module-lxml.etree" title="Permalink to this headline">¶</a></h1>
187 <p>The <code class="docutils literal notranslate"><span class="pre">lxml.etree</span></code> module implements the extended ElementTree API for XML.</p>
188 <dl class="py exception">
189 <dt id="lxml.etree.C14NError">
190 <em class="property">exception </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">C14NError</code><a class="headerlink" href="#lxml.etree.C14NError" title="Permalink to this definition">¶</a></dt>
191 <dd><p>Bases: <a class="reference internal" href="#lxml.etree.LxmlError" title="lxml.etree.LxmlError"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.LxmlError</span></code></a></p>
192 <p>Error during C14N serialisation.</p>
195 <dl class="py exception">
196 <dt id="lxml.etree.DTDError">
197 <em class="property">exception </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">DTDError</code><a class="headerlink" href="#lxml.etree.DTDError" title="Permalink to this definition">¶</a></dt>
198 <dd><p>Bases: <a class="reference internal" href="#lxml.etree.LxmlError" title="lxml.etree.LxmlError"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.LxmlError</span></code></a></p>
199 <p>Base class for DTD errors.</p>
202 <dl class="py exception">
203 <dt id="lxml.etree.DTDParseError">
204 <em class="property">exception </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">DTDParseError</code><a class="headerlink" href="#lxml.etree.DTDParseError" title="Permalink to this definition">¶</a></dt>
205 <dd><p>Bases: <a class="reference internal" href="#lxml.etree.DTDError" title="lxml.etree.DTDError"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.DTDError</span></code></a></p>
206 <p>Error while parsing a DTD.</p>
209 <dl class="py exception">
210 <dt id="lxml.etree.DTDValidateError">
211 <em class="property">exception </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">DTDValidateError</code><a class="headerlink" href="#lxml.etree.DTDValidateError" title="Permalink to this definition">¶</a></dt>
212 <dd><p>Bases: <a class="reference internal" href="#lxml.etree.DTDError" title="lxml.etree.DTDError"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.DTDError</span></code></a></p>
213 <p>Error while validating an XML document with a DTD.</p>
216 <dl class="py exception">
217 <dt id="lxml.etree.DocumentInvalid">
218 <em class="property">exception </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">DocumentInvalid</code><a class="headerlink" href="#lxml.etree.DocumentInvalid" title="Permalink to this definition">¶</a></dt>
219 <dd><p>Bases: <a class="reference internal" href="#lxml.etree.LxmlError" title="lxml.etree.LxmlError"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.LxmlError</span></code></a></p>
220 <p>Validation error.</p>
221 <p>Raised by all document validators when their <code class="docutils literal notranslate"><span class="pre">assertValid(tree)</span></code>
225 <dl class="py exception">
226 <dt id="lxml.etree.Error">
227 <em class="property">exception </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">Error</code><a class="headerlink" href="#lxml.etree.Error" title="Permalink to this definition">¶</a></dt>
228 <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">Exception</span></code></p>
231 <dl class="py exception">
232 <dt id="lxml.etree.LxmlError">
233 <em class="property">exception </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">LxmlError</code><a class="headerlink" href="#lxml.etree.LxmlError" title="Permalink to this definition">¶</a></dt>
234 <dd><p>Bases: <a class="reference internal" href="#lxml.etree.Error" title="lxml.etree.Error"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.Error</span></code></a></p>
235 <p>Main exception base class for lxml. All other exceptions inherit from
239 <dl class="py exception">
240 <dt id="lxml.etree.LxmlRegistryError">
241 <em class="property">exception </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">LxmlRegistryError</code><a class="headerlink" href="#lxml.etree.LxmlRegistryError" title="Permalink to this definition">¶</a></dt>
242 <dd><p>Bases: <a class="reference internal" href="#lxml.etree.LxmlError" title="lxml.etree.LxmlError"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.LxmlError</span></code></a></p>
243 <p>Base class of lxml registry errors.</p>
246 <dl class="py exception">
247 <dt id="lxml.etree.LxmlSyntaxError">
248 <em class="property">exception </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">LxmlSyntaxError</code><a class="headerlink" href="#lxml.etree.LxmlSyntaxError" title="Permalink to this definition">¶</a></dt>
249 <dd><p>Bases: <a class="reference internal" href="#lxml.etree.LxmlError" title="lxml.etree.LxmlError"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.LxmlError</span></code></a>, <code class="xref py py-class docutils literal notranslate"><span class="pre">SyntaxError</span></code></p>
250 <p>Base class for all syntax errors.</p>
253 <dl class="py exception">
254 <dt id="lxml.etree.NamespaceRegistryError">
255 <em class="property">exception </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">NamespaceRegistryError</code><a class="headerlink" href="#lxml.etree.NamespaceRegistryError" title="Permalink to this definition">¶</a></dt>
256 <dd><p>Bases: <a class="reference internal" href="#lxml.etree.LxmlRegistryError" title="lxml.etree.LxmlRegistryError"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.LxmlRegistryError</span></code></a></p>
257 <p>Error registering a namespace extension.</p>
260 <dl class="py exception">
261 <dt id="lxml.etree.ParseError">
262 <em class="property">exception </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">ParseError</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">message</span></em>, <em class="sig-param"><span class="n">code</span></em>, <em class="sig-param"><span class="n">line</span></em>, <em class="sig-param"><span class="n">column</span></em>, <em class="sig-param"><span class="n">filename</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.ParseError" title="Permalink to this definition">¶</a></dt>
263 <dd><p>Bases: <a class="reference internal" href="#lxml.etree.LxmlSyntaxError" title="lxml.etree.LxmlSyntaxError"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.LxmlSyntaxError</span></code></a></p>
264 <p>Syntax error while parsing an XML document.</p>
265 <p>For compatibility with ElementTree 1.3 and later.</p>
266 <dl class="py method">
267 <dt id="lxml.etree.ParseError.position">
268 <em class="property">property </em><code class="sig-name descname">position</code><a class="headerlink" href="#lxml.etree.ParseError.position" title="Permalink to this definition">¶</a></dt>
273 <dl class="py exception">
274 <dt id="lxml.etree.ParserError">
275 <em class="property">exception </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">ParserError</code><a class="headerlink" href="#lxml.etree.ParserError" title="Permalink to this definition">¶</a></dt>
276 <dd><p>Bases: <a class="reference internal" href="#lxml.etree.LxmlError" title="lxml.etree.LxmlError"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.LxmlError</span></code></a></p>
277 <p>Internal lxml parser error.</p>
280 <dl class="py exception">
281 <dt id="lxml.etree.RelaxNGError">
282 <em class="property">exception </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">RelaxNGError</code><a class="headerlink" href="#lxml.etree.RelaxNGError" title="Permalink to this definition">¶</a></dt>
283 <dd><p>Bases: <a class="reference internal" href="#lxml.etree.LxmlError" title="lxml.etree.LxmlError"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.LxmlError</span></code></a></p>
284 <p>Base class for RelaxNG errors.</p>
287 <dl class="py exception">
288 <dt id="lxml.etree.RelaxNGParseError">
289 <em class="property">exception </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">RelaxNGParseError</code><a class="headerlink" href="#lxml.etree.RelaxNGParseError" title="Permalink to this definition">¶</a></dt>
290 <dd><p>Bases: <a class="reference internal" href="#lxml.etree.RelaxNGError" title="lxml.etree.RelaxNGError"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.RelaxNGError</span></code></a></p>
291 <p>Error while parsing an XML document as RelaxNG.</p>
294 <dl class="py exception">
295 <dt id="lxml.etree.RelaxNGValidateError">
296 <em class="property">exception </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">RelaxNGValidateError</code><a class="headerlink" href="#lxml.etree.RelaxNGValidateError" title="Permalink to this definition">¶</a></dt>
297 <dd><p>Bases: <a class="reference internal" href="#lxml.etree.RelaxNGError" title="lxml.etree.RelaxNGError"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.RelaxNGError</span></code></a></p>
298 <p>Error while validating an XML document with a RelaxNG schema.</p>
301 <dl class="py exception">
302 <dt id="lxml.etree.SchematronError">
303 <em class="property">exception </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">SchematronError</code><a class="headerlink" href="#lxml.etree.SchematronError" title="Permalink to this definition">¶</a></dt>
304 <dd><p>Bases: <a class="reference internal" href="#lxml.etree.LxmlError" title="lxml.etree.LxmlError"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.LxmlError</span></code></a></p>
305 <p>Base class of all Schematron errors.</p>
308 <dl class="py exception">
309 <dt id="lxml.etree.SchematronParseError">
310 <em class="property">exception </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">SchematronParseError</code><a class="headerlink" href="#lxml.etree.SchematronParseError" title="Permalink to this definition">¶</a></dt>
311 <dd><p>Bases: <a class="reference internal" href="#lxml.etree.SchematronError" title="lxml.etree.SchematronError"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.SchematronError</span></code></a></p>
312 <p>Error while parsing an XML document as Schematron schema.</p>
315 <dl class="py exception">
316 <dt id="lxml.etree.SchematronValidateError">
317 <em class="property">exception </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">SchematronValidateError</code><a class="headerlink" href="#lxml.etree.SchematronValidateError" title="Permalink to this definition">¶</a></dt>
318 <dd><p>Bases: <a class="reference internal" href="#lxml.etree.SchematronError" title="lxml.etree.SchematronError"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.SchematronError</span></code></a></p>
319 <p>Error while validating an XML document with a Schematron schema.</p>
322 <dl class="py exception">
323 <dt id="lxml.etree.SerialisationError">
324 <em class="property">exception </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">SerialisationError</code><a class="headerlink" href="#lxml.etree.SerialisationError" title="Permalink to this definition">¶</a></dt>
325 <dd><p>Bases: <a class="reference internal" href="#lxml.etree.LxmlError" title="lxml.etree.LxmlError"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.LxmlError</span></code></a></p>
326 <p>A libxml2 error that occurred during serialisation.</p>
329 <dl class="py exception">
330 <dt id="lxml.etree.XIncludeError">
331 <em class="property">exception </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">XIncludeError</code><a class="headerlink" href="#lxml.etree.XIncludeError" title="Permalink to this definition">¶</a></dt>
332 <dd><p>Bases: <a class="reference internal" href="#lxml.etree.LxmlError" title="lxml.etree.LxmlError"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.LxmlError</span></code></a></p>
333 <p>Error during XInclude processing.</p>
336 <dl class="py exception">
337 <dt id="lxml.etree.XMLSchemaError">
338 <em class="property">exception </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">XMLSchemaError</code><a class="headerlink" href="#lxml.etree.XMLSchemaError" title="Permalink to this definition">¶</a></dt>
339 <dd><p>Bases: <a class="reference internal" href="#lxml.etree.LxmlError" title="lxml.etree.LxmlError"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.LxmlError</span></code></a></p>
340 <p>Base class of all XML Schema errors</p>
343 <dl class="py exception">
344 <dt id="lxml.etree.XMLSchemaParseError">
345 <em class="property">exception </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">XMLSchemaParseError</code><a class="headerlink" href="#lxml.etree.XMLSchemaParseError" title="Permalink to this definition">¶</a></dt>
346 <dd><p>Bases: <a class="reference internal" href="#lxml.etree.XMLSchemaError" title="lxml.etree.XMLSchemaError"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.XMLSchemaError</span></code></a></p>
347 <p>Error while parsing an XML document as XML Schema.</p>
350 <dl class="py exception">
351 <dt id="lxml.etree.XMLSchemaValidateError">
352 <em class="property">exception </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">XMLSchemaValidateError</code><a class="headerlink" href="#lxml.etree.XMLSchemaValidateError" title="Permalink to this definition">¶</a></dt>
353 <dd><p>Bases: <a class="reference internal" href="#lxml.etree.XMLSchemaError" title="lxml.etree.XMLSchemaError"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.XMLSchemaError</span></code></a></p>
354 <p>Error while validating an XML document with an XML Schema.</p>
357 <dl class="py exception">
358 <dt id="lxml.etree.XMLSyntaxError">
359 <em class="property">exception </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">XMLSyntaxError</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">message</span></em>, <em class="sig-param"><span class="n">code</span></em>, <em class="sig-param"><span class="n">line</span></em>, <em class="sig-param"><span class="n">column</span></em>, <em class="sig-param"><span class="n">filename</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.XMLSyntaxError" title="Permalink to this definition">¶</a></dt>
360 <dd><p>Bases: <a class="reference internal" href="#lxml.etree.ParseError" title="lxml.etree.ParseError"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.ParseError</span></code></a></p>
361 <p>Syntax error while parsing an XML document.</p>
364 <dl class="py exception">
365 <dt id="lxml.etree.XPathError">
366 <em class="property">exception </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">XPathError</code><a class="headerlink" href="#lxml.etree.XPathError" title="Permalink to this definition">¶</a></dt>
367 <dd><p>Bases: <a class="reference internal" href="#lxml.etree.LxmlError" title="lxml.etree.LxmlError"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.LxmlError</span></code></a></p>
368 <p>Base class of all XPath errors.</p>
371 <dl class="py exception">
372 <dt id="lxml.etree.XPathEvalError">
373 <em class="property">exception </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">XPathEvalError</code><a class="headerlink" href="#lxml.etree.XPathEvalError" title="Permalink to this definition">¶</a></dt>
374 <dd><p>Bases: <a class="reference internal" href="#lxml.etree.XPathError" title="lxml.etree.XPathError"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.XPathError</span></code></a></p>
375 <p>Error during XPath evaluation.</p>
378 <dl class="py exception">
379 <dt id="lxml.etree.XPathFunctionError">
380 <em class="property">exception </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">XPathFunctionError</code><a class="headerlink" href="#lxml.etree.XPathFunctionError" title="Permalink to this definition">¶</a></dt>
381 <dd><p>Bases: <a class="reference internal" href="#lxml.etree.XPathEvalError" title="lxml.etree.XPathEvalError"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.XPathEvalError</span></code></a></p>
382 <p>Internal error looking up an XPath extension function.</p>
385 <dl class="py exception">
386 <dt id="lxml.etree.XPathResultError">
387 <em class="property">exception </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">XPathResultError</code><a class="headerlink" href="#lxml.etree.XPathResultError" title="Permalink to this definition">¶</a></dt>
388 <dd><p>Bases: <a class="reference internal" href="#lxml.etree.XPathEvalError" title="lxml.etree.XPathEvalError"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.XPathEvalError</span></code></a></p>
389 <p>Error handling an XPath result.</p>
392 <dl class="py exception">
393 <dt id="lxml.etree.XPathSyntaxError">
394 <em class="property">exception </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">XPathSyntaxError</code><a class="headerlink" href="#lxml.etree.XPathSyntaxError" title="Permalink to this definition">¶</a></dt>
395 <dd><p>Bases: <a class="reference internal" href="#lxml.etree.LxmlSyntaxError" title="lxml.etree.LxmlSyntaxError"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.LxmlSyntaxError</span></code></a>, <a class="reference internal" href="#lxml.etree.XPathError" title="lxml.etree.XPathError"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.XPathError</span></code></a></p>
398 <dl class="py exception">
399 <dt id="lxml.etree.XSLTApplyError">
400 <em class="property">exception </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">XSLTApplyError</code><a class="headerlink" href="#lxml.etree.XSLTApplyError" title="Permalink to this definition">¶</a></dt>
401 <dd><p>Bases: <a class="reference internal" href="#lxml.etree.XSLTError" title="lxml.etree.XSLTError"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.XSLTError</span></code></a></p>
402 <p>Error running an XSL transformation.</p>
405 <dl class="py exception">
406 <dt id="lxml.etree.XSLTError">
407 <em class="property">exception </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">XSLTError</code><a class="headerlink" href="#lxml.etree.XSLTError" title="Permalink to this definition">¶</a></dt>
408 <dd><p>Bases: <a class="reference internal" href="#lxml.etree.LxmlError" title="lxml.etree.LxmlError"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.LxmlError</span></code></a></p>
409 <p>Base class of all XSLT errors.</p>
412 <dl class="py exception">
413 <dt id="lxml.etree.XSLTExtensionError">
414 <em class="property">exception </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">XSLTExtensionError</code><a class="headerlink" href="#lxml.etree.XSLTExtensionError" title="Permalink to this definition">¶</a></dt>
415 <dd><p>Bases: <a class="reference internal" href="#lxml.etree.XSLTError" title="lxml.etree.XSLTError"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.XSLTError</span></code></a></p>
416 <p>Error registering an XSLT extension.</p>
419 <dl class="py exception">
420 <dt id="lxml.etree.XSLTParseError">
421 <em class="property">exception </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">XSLTParseError</code><a class="headerlink" href="#lxml.etree.XSLTParseError" title="Permalink to this definition">¶</a></dt>
422 <dd><p>Bases: <a class="reference internal" href="#lxml.etree.XSLTError" title="lxml.etree.XSLTError"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.XSLTError</span></code></a></p>
423 <p>Error parsing a stylesheet document.</p>
426 <dl class="py exception">
427 <dt id="lxml.etree.XSLTSaveError">
428 <em class="property">exception </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">XSLTSaveError</code><a class="headerlink" href="#lxml.etree.XSLTSaveError" title="Permalink to this definition">¶</a></dt>
429 <dd><p>Bases: <a class="reference internal" href="#lxml.etree.XSLTError" title="lxml.etree.XSLTError"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.XSLTError</span></code></a>, <a class="reference internal" href="#lxml.etree.SerialisationError" title="lxml.etree.SerialisationError"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.SerialisationError</span></code></a></p>
430 <p>Error serialising an XSLT result.</p>
433 <dl class="py exception">
434 <dt id="lxml.etree._TargetParserResult">
435 <em class="property">exception </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">_TargetParserResult</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">result</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._TargetParserResult" title="Permalink to this definition">¶</a></dt>
436 <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">Exception</span></code></p>
439 <dl class="py class">
440 <dt id="lxml.etree.AncestorsIterator">
441 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">AncestorsIterator</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">node</span></em>, <em class="sig-param"><span class="n">tag</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.AncestorsIterator" title="Permalink to this definition">¶</a></dt>
442 <dd><p>Bases: <a class="reference internal" href="#lxml.etree._ElementMatchIterator" title="lxml.etree._ElementMatchIterator"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree._ElementMatchIterator</span></code></a></p>
443 <p>Iterates over the ancestors of an element (from parent to parent).</p>
446 <dl class="py class">
447 <dt id="lxml.etree.AttributeBasedElementClassLookup">
448 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">AttributeBasedElementClassLookup</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">attribute_name</span></em>, <em class="sig-param"><span class="n">class_mapping</span></em>, <em class="sig-param"><span class="n">fallback</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.AttributeBasedElementClassLookup" title="Permalink to this definition">¶</a></dt>
449 <dd><p>Bases: <a class="reference internal" href="#lxml.etree.FallbackElementClassLookup" title="lxml.etree.FallbackElementClassLookup"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.FallbackElementClassLookup</span></code></a></p>
450 <p>Checks an attribute of an Element and looks up the value in a
451 class dictionary.</p>
453 <dt>Arguments:</dt><dd><ul class="simple">
454 <li><p>attribute name - ‘{ns}name’ style string</p></li>
455 <li><p>class mapping - Python dict mapping attribute values to Element classes</p></li>
456 <li><p>fallback - optional fallback lookup mechanism</p></li>
460 <p>A None key in the class mapping will be checked if the attribute is
464 <dl class="py class">
465 <dt id="lxml.etree.C14NWriterTarget">
466 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">C14NWriterTarget</code><a class="headerlink" href="#lxml.etree.C14NWriterTarget" title="Permalink to this definition">¶</a></dt>
467 <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
468 <p>Canonicalization writer target for the XMLParser.</p>
469 <p>Serialises parse events to XML C14N 2.0.</p>
470 <p>Configuration options:</p>
472 <li><p><em>with_comments</em>: set to true to include comments</p></li>
473 <li><p><em>strip_text</em>: set to true to strip whitespace before and after text content</p></li>
474 <li><p><em>rewrite_prefixes</em>: set to true to replace namespace prefixes by “n{number}”</p></li>
475 <li><dl class="simple">
476 <dt><em>qname_aware_tags</em>: a set of qname aware tag names in which prefixes</dt><dd><p>should be replaced in text content</p>
480 <li><dl class="simple">
481 <dt><em>qname_aware_attrs</em>: a set of qname aware attribute names in which prefixes</dt><dd><p>should be replaced in text content</p>
485 <li><p><em>exclude_attrs</em>: a set of attribute names that should not be serialised</p></li>
486 <li><p><em>exclude_tags</em>: a set of tag names that should not be serialised</p></li>
488 <dl class="py method">
489 <dt id="lxml.etree.C14NWriterTarget._iter_namespaces">
490 <code class="sig-name descname">_iter_namespaces</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">ns_stack</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.C14NWriterTarget._iter_namespaces" title="Permalink to this definition">¶</a></dt>
493 <dl class="py method">
494 <dt id="lxml.etree.C14NWriterTarget.close">
495 <code class="sig-name descname">close</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.C14NWriterTarget.close" title="Permalink to this definition">¶</a></dt>
498 <dl class="py method">
499 <dt id="lxml.etree.C14NWriterTarget.comment">
500 <code class="sig-name descname">comment</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">text</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.C14NWriterTarget.comment" title="Permalink to this definition">¶</a></dt>
503 <dl class="py method">
504 <dt id="lxml.etree.C14NWriterTarget.data">
505 <code class="sig-name descname">data</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">data</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.C14NWriterTarget.data" title="Permalink to this definition">¶</a></dt>
508 <dl class="py method">
509 <dt id="lxml.etree.C14NWriterTarget.end">
510 <code class="sig-name descname">end</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">tag</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.C14NWriterTarget.end" title="Permalink to this definition">¶</a></dt>
513 <dl class="py method">
514 <dt id="lxml.etree.C14NWriterTarget.pi">
515 <code class="sig-name descname">pi</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">target</span></em>, <em class="sig-param"><span class="n">data</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.C14NWriterTarget.pi" title="Permalink to this definition">¶</a></dt>
518 <dl class="py method">
519 <dt id="lxml.etree.C14NWriterTarget.start">
520 <code class="sig-name descname">start</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">tag</span></em>, <em class="sig-param"><span class="n">attrs</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.C14NWriterTarget.start" title="Permalink to this definition">¶</a></dt>
523 <dl class="py method">
524 <dt id="lxml.etree.C14NWriterTarget.start_ns">
525 <code class="sig-name descname">start_ns</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">prefix</span></em>, <em class="sig-param"><span class="n">uri</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.C14NWriterTarget.start_ns" title="Permalink to this definition">¶</a></dt>
530 <dl class="py class">
531 <dt id="lxml.etree.CDATA">
532 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">CDATA</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">data</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.CDATA" title="Permalink to this definition">¶</a></dt>
533 <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
534 <p>CDATA factory. This factory creates an opaque data object that
535 can be used to set Element text. The usual way to use it is:</p>
536 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">el</span> <span class="o">=</span> <span class="n">Element</span><span class="p">(</span><span class="s1">'content'</span><span class="p">)</span>
537 <span class="gp">>>> </span><span class="n">el</span><span class="o">.</span><span class="n">text</span> <span class="o">=</span> <span class="n">CDATA</span><span class="p">(</span><span class="s1">'a string'</span><span class="p">)</span>
539 <span class="gp">>>> </span><span class="nb">print</span><span class="p">(</span><span class="n">el</span><span class="o">.</span><span class="n">text</span><span class="p">)</span>
540 <span class="go">a string</span>
541 <span class="gp">>>> </span><span class="nb">print</span><span class="p">(</span><span class="n">tostring</span><span class="p">(</span><span class="n">el</span><span class="p">,</span> <span class="n">encoding</span><span class="o">=</span><span class="s2">"unicode"</span><span class="p">))</span>
542 <span class="go"><content><![CDATA[a string]]></content></span>
547 <dl class="py class">
548 <dt id="lxml.etree.CommentBase">
549 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">CommentBase</code><a class="headerlink" href="#lxml.etree.CommentBase" title="Permalink to this definition">¶</a></dt>
550 <dd><p>Bases: <a class="reference internal" href="#lxml.etree._Comment" title="lxml.etree._Comment"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree._Comment</span></code></a></p>
551 <p>All custom Comment classes must inherit from this one.</p>
552 <p>To create an XML Comment instance, use the <code class="docutils literal notranslate"><span class="pre">Comment()</span></code> factory.</p>
553 <p>Subclasses <em>must not</em> override __init__ or __new__ as it is
554 absolutely undefined when these objects will be created or
555 destroyed. All persistent state of Comments must be stored in the
556 underlying XML. If you really need to initialize the object after
557 creation, you can implement an <code class="docutils literal notranslate"><span class="pre">_init(self)</span></code> method that will be
558 called after object creation.</p>
561 <dl class="py class">
562 <dt id="lxml.etree.CustomElementClassLookup">
563 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">CustomElementClassLookup</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">fallback</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.CustomElementClassLookup" title="Permalink to this definition">¶</a></dt>
564 <dd><p>Bases: <a class="reference internal" href="#lxml.etree.FallbackElementClassLookup" title="lxml.etree.FallbackElementClassLookup"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.FallbackElementClassLookup</span></code></a></p>
565 <p>Element class lookup based on a subclass method.</p>
566 <p>You can inherit from this class and override the method:</p>
567 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">lookup</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="nb">type</span><span class="p">,</span> <span class="n">doc</span><span class="p">,</span> <span class="n">namespace</span><span class="p">,</span> <span class="n">name</span><span class="p">)</span>
570 <p>to lookup the element class for a node. Arguments of the method:
571 * type: one of ‘element’, ‘comment’, ‘PI’, ‘entity’
572 * doc: document that the node is in
573 * namespace: namespace URI of the node (or None for comments/PIs/entities)
574 * name: name of the element/entity, None for comments, target for PIs</p>
575 <p>If you return None from this method, the fallback will be called.</p>
576 <dl class="py method">
577 <dt id="lxml.etree.CustomElementClassLookup.lookup">
578 <code class="sig-name descname">lookup</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">type</span></em>, <em class="sig-param"><span class="n">doc</span></em>, <em class="sig-param"><span class="n">namespace</span></em>, <em class="sig-param"><span class="n">name</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.CustomElementClassLookup.lookup" title="Permalink to this definition">¶</a></dt>
583 <dl class="py class">
584 <dt id="lxml.etree.DTD">
585 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">DTD</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">file</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">external_id</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.DTD" title="Permalink to this definition">¶</a></dt>
586 <dd><p>Bases: <a class="reference internal" href="#lxml.etree._Validator" title="lxml.etree._Validator"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree._Validator</span></code></a></p>
587 <p>A DTD validator.</p>
588 <p>Can load from filesystem directly given a filename or file-like object.
589 Alternatively, pass the keyword parameter <code class="docutils literal notranslate"><span class="pre">external_id</span></code> to load from a
591 <dl class="py method">
592 <dt id="lxml.etree.DTD.elements">
593 <code class="sig-name descname">elements</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.DTD.elements" title="Permalink to this definition">¶</a></dt>
596 <dl class="py method">
597 <dt id="lxml.etree.DTD.entities">
598 <code class="sig-name descname">entities</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.DTD.entities" title="Permalink to this definition">¶</a></dt>
601 <dl class="py method">
602 <dt id="lxml.etree.DTD.iterelements">
603 <code class="sig-name descname">iterelements</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.DTD.iterelements" title="Permalink to this definition">¶</a></dt>
606 <dl class="py method">
607 <dt id="lxml.etree.DTD.iterentities">
608 <code class="sig-name descname">iterentities</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.DTD.iterentities" title="Permalink to this definition">¶</a></dt>
611 <dl class="py attribute">
612 <dt id="lxml.etree.DTD.external_id">
613 <code class="sig-name descname">external_id</code><a class="headerlink" href="#lxml.etree.DTD.external_id" title="Permalink to this definition">¶</a></dt>
616 <dl class="py attribute">
617 <dt id="lxml.etree.DTD.name">
618 <code class="sig-name descname">name</code><a class="headerlink" href="#lxml.etree.DTD.name" title="Permalink to this definition">¶</a></dt>
621 <dl class="py attribute">
622 <dt id="lxml.etree.DTD.system_url">
623 <code class="sig-name descname">system_url</code><a class="headerlink" href="#lxml.etree.DTD.system_url" title="Permalink to this definition">¶</a></dt>
628 <dl class="py class">
629 <dt id="lxml.etree.DocInfo">
630 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">DocInfo</code><a class="headerlink" href="#lxml.etree.DocInfo" title="Permalink to this definition">¶</a></dt>
631 <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
632 <p>Document information provided by parser and DTD.</p>
633 <dl class="py method">
634 <dt id="lxml.etree.DocInfo.clear">
635 <code class="sig-name descname">clear</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.DocInfo.clear" title="Permalink to this definition">¶</a></dt>
636 <dd><p>Removes DOCTYPE and internal subset from the document.</p>
639 <dl class="py attribute">
640 <dt id="lxml.etree.DocInfo.URL">
641 <code class="sig-name descname">URL</code><a class="headerlink" href="#lxml.etree.DocInfo.URL" title="Permalink to this definition">¶</a></dt>
642 <dd><p>The source URL of the document (or None if unknown).</p>
645 <dl class="py attribute">
646 <dt id="lxml.etree.DocInfo.doctype">
647 <code class="sig-name descname">doctype</code><a class="headerlink" href="#lxml.etree.DocInfo.doctype" title="Permalink to this definition">¶</a></dt>
648 <dd><p>Returns a DOCTYPE declaration string for the document.</p>
651 <dl class="py attribute">
652 <dt id="lxml.etree.DocInfo.encoding">
653 <code class="sig-name descname">encoding</code><a class="headerlink" href="#lxml.etree.DocInfo.encoding" title="Permalink to this definition">¶</a></dt>
654 <dd><p>Returns the encoding name as declared by the document.</p>
657 <dl class="py attribute">
658 <dt id="lxml.etree.DocInfo.externalDTD">
659 <code class="sig-name descname">externalDTD</code><a class="headerlink" href="#lxml.etree.DocInfo.externalDTD" title="Permalink to this definition">¶</a></dt>
660 <dd><p>Returns a DTD validator based on the external subset of the document.</p>
663 <dl class="py attribute">
664 <dt id="lxml.etree.DocInfo.internalDTD">
665 <code class="sig-name descname">internalDTD</code><a class="headerlink" href="#lxml.etree.DocInfo.internalDTD" title="Permalink to this definition">¶</a></dt>
666 <dd><p>Returns a DTD validator based on the internal subset of the document.</p>
669 <dl class="py attribute">
670 <dt id="lxml.etree.DocInfo.public_id">
671 <code class="sig-name descname">public_id</code><a class="headerlink" href="#lxml.etree.DocInfo.public_id" title="Permalink to this definition">¶</a></dt>
672 <dd><p>Public ID of the DOCTYPE.</p>
673 <p>Mutable. May be set to a valid string or None. If a DTD does not
674 exist, setting this variable (even to None) will create one.</p>
677 <dl class="py attribute">
678 <dt id="lxml.etree.DocInfo.root_name">
679 <code class="sig-name descname">root_name</code><a class="headerlink" href="#lxml.etree.DocInfo.root_name" title="Permalink to this definition">¶</a></dt>
680 <dd><p>Returns the name of the root node as defined by the DOCTYPE.</p>
683 <dl class="py attribute">
684 <dt id="lxml.etree.DocInfo.standalone">
685 <code class="sig-name descname">standalone</code><a class="headerlink" href="#lxml.etree.DocInfo.standalone" title="Permalink to this definition">¶</a></dt>
686 <dd><p>Returns the standalone flag as declared by the document. The possible
687 values are True (<code class="docutils literal notranslate"><span class="pre">standalone='yes'</span></code>), False
688 (<code class="docutils literal notranslate"><span class="pre">standalone='no'</span></code> or flag not provided in the declaration),
689 and None (unknown or no declaration found). Note that a
690 normal truth test on this value will always tell if the
691 <code class="docutils literal notranslate"><span class="pre">standalone</span></code> flag was set to <code class="docutils literal notranslate"><span class="pre">'yes'</span></code> or not.</p>
694 <dl class="py attribute">
695 <dt id="lxml.etree.DocInfo.system_url">
696 <code class="sig-name descname">system_url</code><a class="headerlink" href="#lxml.etree.DocInfo.system_url" title="Permalink to this definition">¶</a></dt>
697 <dd><p>System ID of the DOCTYPE.</p>
698 <p>Mutable. May be set to a valid string or None. If a DTD does not
699 exist, setting this variable (even to None) will create one.</p>
702 <dl class="py attribute">
703 <dt id="lxml.etree.DocInfo.xml_version">
704 <code class="sig-name descname">xml_version</code><a class="headerlink" href="#lxml.etree.DocInfo.xml_version" title="Permalink to this definition">¶</a></dt>
705 <dd><p>Returns the XML version as declared by the document.</p>
710 <dl class="py class">
711 <dt id="lxml.etree.ETCompatXMLParser">
712 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">ETCompatXMLParser</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">encoding</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">attribute_defaults</span><span class="o">=</span><span class="default_value">False</span></em>, <em class="sig-param"><span class="n">dtd_validation</span><span class="o">=</span><span class="default_value">False</span></em>, <em class="sig-param"><span class="n">load_dtd</span><span class="o">=</span><span class="default_value">False</span></em>, <em class="sig-param"><span class="n">no_network</span><span class="o">=</span><span class="default_value">True</span></em>, <em class="sig-param"><span class="n">ns_clean</span><span class="o">=</span><span class="default_value">False</span></em>, <em class="sig-param"><span class="n">recover</span><span class="o">=</span><span class="default_value">False</span></em>, <em class="sig-param"><span class="n">schema</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">huge_tree</span><span class="o">=</span><span class="default_value">False</span></em>, <em class="sig-param"><span class="n">remove_blank_text</span><span class="o">=</span><span class="default_value">False</span></em>, <em class="sig-param"><span class="n">resolve_entities</span><span class="o">=</span><span class="default_value">True</span></em>, <em class="sig-param"><span class="n">remove_comments</span><span class="o">=</span><span class="default_value">True</span></em>, <em class="sig-param"><span class="n">remove_pis</span><span class="o">=</span><span class="default_value">True</span></em>, <em class="sig-param"><span class="n">strip_cdata</span><span class="o">=</span><span class="default_value">True</span></em>, <em class="sig-param"><span class="n">target</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">compact</span><span class="o">=</span><span class="default_value">True</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.ETCompatXMLParser" title="Permalink to this definition">¶</a></dt>
713 <dd><p>Bases: <a class="reference internal" href="#lxml.etree.XMLParser" title="lxml.etree.XMLParser"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.XMLParser</span></code></a></p>
714 <p>An XML parser with an ElementTree compatible default setup.</p>
715 <p>See the XMLParser class for details.</p>
716 <p>This parser has <code class="docutils literal notranslate"><span class="pre">remove_comments</span></code> and <code class="docutils literal notranslate"><span class="pre">remove_pis</span></code> enabled by default
717 and thus ignores comments and processing instructions.</p>
720 <dl class="py class">
721 <dt id="lxml.etree.ETXPath">
722 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">ETXPath</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">path</span></em>, <em class="sig-param"><span class="n">extensions</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">regexp</span><span class="o">=</span><span class="default_value">True</span></em>, <em class="sig-param"><span class="n">smart_strings</span><span class="o">=</span><span class="default_value">True</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.ETXPath" title="Permalink to this definition">¶</a></dt>
723 <dd><p>Bases: <a class="reference internal" href="#lxml.etree.XPath" title="lxml.etree.XPath"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.XPath</span></code></a></p>
724 <p>Special XPath class that supports the ElementTree {uri} notation for namespaces.</p>
725 <p>Note that this class does not accept the <code class="docutils literal notranslate"><span class="pre">namespace</span></code> keyword
726 argument. All namespaces must be passed as part of the path
727 string. Smart strings will be returned for string results unless
728 you pass <code class="docutils literal notranslate"><span class="pre">smart_strings=False</span></code>.</p>
731 <dl class="py class">
732 <dt id="lxml.etree.ElementBase">
733 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">ElementBase</code><span class="sig-paren">(</span><em class="sig-param"><span class="o">*</span><span class="n">children</span></em>, <em class="sig-param"><span class="n">attrib</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">nsmap</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="o">**</span><span class="n">_extra</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.ElementBase" title="Permalink to this definition">¶</a></dt>
734 <dd><p>Bases: <a class="reference internal" href="#lxml.etree._Element" title="lxml.etree._Element"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree._Element</span></code></a></p>
735 <p>The public Element class. All custom Element classes must inherit
736 from this one. To create an Element, use the <cite>Element()</cite> factory.</p>
737 <p>BIG FAT WARNING: Subclasses <em>must not</em> override __init__ or
738 __new__ as it is absolutely undefined when these objects will be
739 created or destroyed. All persistent state of Elements must be
740 stored in the underlying XML. If you really need to initialize
741 the object after creation, you can implement an <code class="docutils literal notranslate"><span class="pre">_init(self)</span></code>
742 method that will be called directly after object creation.</p>
743 <p>Subclasses of this class can be instantiated to create a new
744 Element. By default, the tag name will be the class name and the
745 namespace will be empty. You can modify this with the following
746 class attributes:</p>
748 <li><p>TAG - the tag name, possibly containing a namespace in Clark
750 <li><p>NAMESPACE - the default namespace URI, unless provided as part
751 of the TAG attribute.</p></li>
752 <li><p>HTML - flag if the class is an HTML tag, as opposed to an XML
753 tag. This only applies to un-namespaced tags and defaults to
754 false (i.e. XML).</p></li>
755 <li><p>PARSER - the parser that provides the configuration for the
756 newly created document. Providing an HTML parser here will
757 default to creating an HTML element.</p></li>
759 <p>In user code, the latter three are commonly inherited in class
760 hierarchies that implement a common namespace.</p>
763 <dl class="py class">
764 <dt id="lxml.etree.ElementChildIterator">
765 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">ElementChildIterator</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">node</span></em>, <em class="sig-param"><span class="n">tag</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">reversed</span><span class="o">=</span><span class="default_value">False</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.ElementChildIterator" title="Permalink to this definition">¶</a></dt>
766 <dd><p>Bases: <a class="reference internal" href="#lxml.etree._ElementMatchIterator" title="lxml.etree._ElementMatchIterator"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree._ElementMatchIterator</span></code></a></p>
767 <p>Iterates over the children of an element.</p>
770 <dl class="py class">
771 <dt id="lxml.etree.ElementClassLookup">
772 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">ElementClassLookup</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.ElementClassLookup" title="Permalink to this definition">¶</a></dt>
773 <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
774 <p>Superclass of Element class lookups.</p>
777 <dl class="py class">
778 <dt id="lxml.etree.ElementDefaultClassLookup">
779 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">ElementDefaultClassLookup</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">element</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">comment</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">pi</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">entity</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.ElementDefaultClassLookup" title="Permalink to this definition">¶</a></dt>
780 <dd><p>Bases: <a class="reference internal" href="#lxml.etree.ElementClassLookup" title="lxml.etree.ElementClassLookup"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.ElementClassLookup</span></code></a></p>
781 <p>Element class lookup scheme that always returns the default Element
783 <p>The keyword arguments <code class="docutils literal notranslate"><span class="pre">element</span></code>, <code class="docutils literal notranslate"><span class="pre">comment</span></code>, <code class="docutils literal notranslate"><span class="pre">pi</span></code> and <code class="docutils literal notranslate"><span class="pre">entity</span></code>
784 accept the respective Element classes.</p>
785 <dl class="py attribute">
786 <dt id="lxml.etree.ElementDefaultClassLookup.comment_class">
787 <code class="sig-name descname">comment_class</code><a class="headerlink" href="#lxml.etree.ElementDefaultClassLookup.comment_class" title="Permalink to this definition">¶</a></dt>
790 <dl class="py attribute">
791 <dt id="lxml.etree.ElementDefaultClassLookup.element_class">
792 <code class="sig-name descname">element_class</code><a class="headerlink" href="#lxml.etree.ElementDefaultClassLookup.element_class" title="Permalink to this definition">¶</a></dt>
795 <dl class="py attribute">
796 <dt id="lxml.etree.ElementDefaultClassLookup.entity_class">
797 <code class="sig-name descname">entity_class</code><a class="headerlink" href="#lxml.etree.ElementDefaultClassLookup.entity_class" title="Permalink to this definition">¶</a></dt>
800 <dl class="py attribute">
801 <dt id="lxml.etree.ElementDefaultClassLookup.pi_class">
802 <code class="sig-name descname">pi_class</code><a class="headerlink" href="#lxml.etree.ElementDefaultClassLookup.pi_class" title="Permalink to this definition">¶</a></dt>
807 <dl class="py class">
808 <dt id="lxml.etree.ElementDepthFirstIterator">
809 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">ElementDepthFirstIterator</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">node</span></em>, <em class="sig-param"><span class="n">tag</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">inclusive</span><span class="o">=</span><span class="default_value">True</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.ElementDepthFirstIterator" title="Permalink to this definition">¶</a></dt>
810 <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
811 <p>Iterates over an element and its sub-elements in document order (depth
812 first pre-order).</p>
813 <p>Note that this also includes comments, entities and processing
814 instructions. To filter them out, check if the <code class="docutils literal notranslate"><span class="pre">tag</span></code> property
815 of the returned element is a string (i.e. not None and not a
816 factory function), or pass the <code class="docutils literal notranslate"><span class="pre">Element</span></code> factory for the <code class="docutils literal notranslate"><span class="pre">tag</span></code>
817 argument to receive only Elements.</p>
818 <p>If the optional <code class="docutils literal notranslate"><span class="pre">tag</span></code> argument is not None, the iterator returns only
819 the elements that match the respective name and namespace.</p>
820 <p>The optional boolean argument ‘inclusive’ defaults to True and can be set
821 to False to exclude the start element itself.</p>
822 <p>Note that the behaviour of this iterator is completely undefined if the
823 tree it traverses is modified during iteration.</p>
826 <dl class="py class">
827 <dt id="lxml.etree.ElementNamespaceClassLookup">
828 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">ElementNamespaceClassLookup</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">fallback</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.ElementNamespaceClassLookup" title="Permalink to this definition">¶</a></dt>
829 <dd><p>Bases: <a class="reference internal" href="#lxml.etree.FallbackElementClassLookup" title="lxml.etree.FallbackElementClassLookup"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.FallbackElementClassLookup</span></code></a></p>
830 <p>Element class lookup scheme that searches the Element class in the
831 Namespace registry.</p>
833 <div class="doctest highlight-default notranslate"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">lookup</span> <span class="o">=</span> <span class="n">ElementNamespaceClassLookup</span><span class="p">()</span>
834 <span class="gp">>>> </span><span class="n">ns_elements</span> <span class="o">=</span> <span class="n">lookup</span><span class="o">.</span><span class="n">get_namespace</span><span class="p">(</span><span class="s2">"http://schema.org/Movie"</span><span class="p">)</span>
837 <div class="doctest highlight-default notranslate"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="nd">@ns_elements</span>
838 <span class="gp">... </span><span class="k">class</span> <span class="nc">movie</span><span class="p">(</span><span class="n">ElementBase</span><span class="p">):</span>
839 <span class="gp">... </span> <span class="s2">"Element implementation for 'movie' tag (using class name) in schema namespace."</span>
842 <div class="doctest highlight-default notranslate"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="nd">@ns_elements</span><span class="p">(</span><span class="s2">"movie"</span><span class="p">)</span>
843 <span class="gp">... </span><span class="k">class</span> <span class="nc">MovieElement</span><span class="p">(</span><span class="n">ElementBase</span><span class="p">):</span>
844 <span class="gp">... </span> <span class="s2">"Element implementation for 'movie' tag (explicit tag name) in schema namespace."</span>
847 <dl class="py method">
848 <dt id="lxml.etree.ElementNamespaceClassLookup.get_namespace">
849 <code class="sig-name descname">get_namespace</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">ns_uri</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.ElementNamespaceClassLookup.get_namespace" title="Permalink to this definition">¶</a></dt>
850 <dd><p>Retrieve the namespace object associated with the given URI.
851 Pass None for the empty namespace.</p>
852 <p>Creates a new namespace object if it does not yet exist.</p>
857 <dl class="py class">
858 <dt id="lxml.etree.ElementTextIterator">
859 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">ElementTextIterator</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">element</span></em>, <em class="sig-param"><span class="n">tag</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">with_tail</span><span class="o">=</span><span class="default_value">True</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.ElementTextIterator" title="Permalink to this definition">¶</a></dt>
860 <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
861 <p>Iterates over the text content of a subtree.</p>
862 <p>You can pass the <code class="docutils literal notranslate"><span class="pre">tag</span></code> keyword argument to restrict text content to a
863 specific tag name.</p>
864 <p>You can set the <code class="docutils literal notranslate"><span class="pre">with_tail</span></code> keyword argument to <code class="docutils literal notranslate"><span class="pre">False</span></code> to skip over
865 tail text (e.g. if you know that it’s only whitespace from pretty-printing).</p>
868 <dl class="py class">
869 <dt id="lxml.etree.EntityBase">
870 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">EntityBase</code><a class="headerlink" href="#lxml.etree.EntityBase" title="Permalink to this definition">¶</a></dt>
871 <dd><p>Bases: <a class="reference internal" href="#lxml.etree._Entity" title="lxml.etree._Entity"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree._Entity</span></code></a></p>
872 <p>All custom Entity classes must inherit from this one.</p>
873 <p>To create an XML Entity instance, use the <code class="docutils literal notranslate"><span class="pre">Entity()</span></code> factory.</p>
874 <p>Subclasses <em>must not</em> override __init__ or __new__ as it is
875 absolutely undefined when these objects will be created or
876 destroyed. All persistent state of Entities must be stored in the
877 underlying XML. If you really need to initialize the object after
878 creation, you can implement an <code class="docutils literal notranslate"><span class="pre">_init(self)</span></code> method that will be
879 called after object creation.</p>
882 <dl class="py class">
883 <dt id="lxml.etree.ErrorDomains">
884 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">ErrorDomains</code><a class="headerlink" href="#lxml.etree.ErrorDomains" title="Permalink to this definition">¶</a></dt>
885 <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
886 <p>Libxml2 error domains</p>
887 <dl class="py method">
888 <dt id="lxml.etree.ErrorDomains._getName">
889 <code class="sig-name descname">_getName</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">default</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="o">/</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.ErrorDomains._getName" title="Permalink to this definition">¶</a></dt>
890 <dd><p>Return the value for key if key is in the dictionary, else default.</p>
893 <dl class="py attribute">
894 <dt id="lxml.etree.ErrorDomains.BUFFER">
895 <code class="sig-name descname">BUFFER</code><em class="property"> = 29</em><a class="headerlink" href="#lxml.etree.ErrorDomains.BUFFER" title="Permalink to this definition">¶</a></dt>
898 <dl class="py attribute">
899 <dt id="lxml.etree.ErrorDomains.C14N">
900 <code class="sig-name descname">C14N</code><em class="property"> = 21</em><a class="headerlink" href="#lxml.etree.ErrorDomains.C14N" title="Permalink to this definition">¶</a></dt>
903 <dl class="py attribute">
904 <dt id="lxml.etree.ErrorDomains.CATALOG">
905 <code class="sig-name descname">CATALOG</code><em class="property"> = 20</em><a class="headerlink" href="#lxml.etree.ErrorDomains.CATALOG" title="Permalink to this definition">¶</a></dt>
908 <dl class="py attribute">
909 <dt id="lxml.etree.ErrorDomains.CHECK">
910 <code class="sig-name descname">CHECK</code><em class="property"> = 24</em><a class="headerlink" href="#lxml.etree.ErrorDomains.CHECK" title="Permalink to this definition">¶</a></dt>
913 <dl class="py attribute">
914 <dt id="lxml.etree.ErrorDomains.DATATYPE">
915 <code class="sig-name descname">DATATYPE</code><em class="property"> = 15</em><a class="headerlink" href="#lxml.etree.ErrorDomains.DATATYPE" title="Permalink to this definition">¶</a></dt>
918 <dl class="py attribute">
919 <dt id="lxml.etree.ErrorDomains.DTD">
920 <code class="sig-name descname">DTD</code><em class="property"> = 4</em><a class="headerlink" href="#lxml.etree.ErrorDomains.DTD" title="Permalink to this definition">¶</a></dt>
923 <dl class="py attribute">
924 <dt id="lxml.etree.ErrorDomains.FTP">
925 <code class="sig-name descname">FTP</code><em class="property"> = 9</em><a class="headerlink" href="#lxml.etree.ErrorDomains.FTP" title="Permalink to this definition">¶</a></dt>
928 <dl class="py attribute">
929 <dt id="lxml.etree.ErrorDomains.HTML">
930 <code class="sig-name descname">HTML</code><em class="property"> = 5</em><a class="headerlink" href="#lxml.etree.ErrorDomains.HTML" title="Permalink to this definition">¶</a></dt>
933 <dl class="py attribute">
934 <dt id="lxml.etree.ErrorDomains.HTTP">
935 <code class="sig-name descname">HTTP</code><em class="property"> = 10</em><a class="headerlink" href="#lxml.etree.ErrorDomains.HTTP" title="Permalink to this definition">¶</a></dt>
938 <dl class="py attribute">
939 <dt id="lxml.etree.ErrorDomains.I18N">
940 <code class="sig-name descname">I18N</code><em class="property"> = 27</em><a class="headerlink" href="#lxml.etree.ErrorDomains.I18N" title="Permalink to this definition">¶</a></dt>
943 <dl class="py attribute">
944 <dt id="lxml.etree.ErrorDomains.IO">
945 <code class="sig-name descname">IO</code><em class="property"> = 8</em><a class="headerlink" href="#lxml.etree.ErrorDomains.IO" title="Permalink to this definition">¶</a></dt>
948 <dl class="py attribute">
949 <dt id="lxml.etree.ErrorDomains.MEMORY">
950 <code class="sig-name descname">MEMORY</code><em class="property"> = 6</em><a class="headerlink" href="#lxml.etree.ErrorDomains.MEMORY" title="Permalink to this definition">¶</a></dt>
953 <dl class="py attribute">
954 <dt id="lxml.etree.ErrorDomains.MODULE">
955 <code class="sig-name descname">MODULE</code><em class="property"> = 26</em><a class="headerlink" href="#lxml.etree.ErrorDomains.MODULE" title="Permalink to this definition">¶</a></dt>
958 <dl class="py attribute">
959 <dt id="lxml.etree.ErrorDomains.NAMESPACE">
960 <code class="sig-name descname">NAMESPACE</code><em class="property"> = 3</em><a class="headerlink" href="#lxml.etree.ErrorDomains.NAMESPACE" title="Permalink to this definition">¶</a></dt>
963 <dl class="py attribute">
964 <dt id="lxml.etree.ErrorDomains.NONE">
965 <code class="sig-name descname">NONE</code><em class="property"> = 0</em><a class="headerlink" href="#lxml.etree.ErrorDomains.NONE" title="Permalink to this definition">¶</a></dt>
968 <dl class="py attribute">
969 <dt id="lxml.etree.ErrorDomains.OUTPUT">
970 <code class="sig-name descname">OUTPUT</code><em class="property"> = 7</em><a class="headerlink" href="#lxml.etree.ErrorDomains.OUTPUT" title="Permalink to this definition">¶</a></dt>
973 <dl class="py attribute">
974 <dt id="lxml.etree.ErrorDomains.PARSER">
975 <code class="sig-name descname">PARSER</code><em class="property"> = 1</em><a class="headerlink" href="#lxml.etree.ErrorDomains.PARSER" title="Permalink to this definition">¶</a></dt>
978 <dl class="py attribute">
979 <dt id="lxml.etree.ErrorDomains.REGEXP">
980 <code class="sig-name descname">REGEXP</code><em class="property"> = 14</em><a class="headerlink" href="#lxml.etree.ErrorDomains.REGEXP" title="Permalink to this definition">¶</a></dt>
983 <dl class="py attribute">
984 <dt id="lxml.etree.ErrorDomains.RELAXNGP">
985 <code class="sig-name descname">RELAXNGP</code><em class="property"> = 18</em><a class="headerlink" href="#lxml.etree.ErrorDomains.RELAXNGP" title="Permalink to this definition">¶</a></dt>
988 <dl class="py attribute">
989 <dt id="lxml.etree.ErrorDomains.RELAXNGV">
990 <code class="sig-name descname">RELAXNGV</code><em class="property"> = 19</em><a class="headerlink" href="#lxml.etree.ErrorDomains.RELAXNGV" title="Permalink to this definition">¶</a></dt>
993 <dl class="py attribute">
994 <dt id="lxml.etree.ErrorDomains.SCHEMASP">
995 <code class="sig-name descname">SCHEMASP</code><em class="property"> = 16</em><a class="headerlink" href="#lxml.etree.ErrorDomains.SCHEMASP" title="Permalink to this definition">¶</a></dt>
998 <dl class="py attribute">
999 <dt id="lxml.etree.ErrorDomains.SCHEMASV">
1000 <code class="sig-name descname">SCHEMASV</code><em class="property"> = 17</em><a class="headerlink" href="#lxml.etree.ErrorDomains.SCHEMASV" title="Permalink to this definition">¶</a></dt>
1003 <dl class="py attribute">
1004 <dt id="lxml.etree.ErrorDomains.SCHEMATRONV">
1005 <code class="sig-name descname">SCHEMATRONV</code><em class="property"> = 28</em><a class="headerlink" href="#lxml.etree.ErrorDomains.SCHEMATRONV" title="Permalink to this definition">¶</a></dt>
1008 <dl class="py attribute">
1009 <dt id="lxml.etree.ErrorDomains.TREE">
1010 <code class="sig-name descname">TREE</code><em class="property"> = 2</em><a class="headerlink" href="#lxml.etree.ErrorDomains.TREE" title="Permalink to this definition">¶</a></dt>
1013 <dl class="py attribute">
1014 <dt id="lxml.etree.ErrorDomains.URI">
1015 <code class="sig-name descname">URI</code><em class="property"> = 30</em><a class="headerlink" href="#lxml.etree.ErrorDomains.URI" title="Permalink to this definition">¶</a></dt>
1018 <dl class="py attribute">
1019 <dt id="lxml.etree.ErrorDomains.VALID">
1020 <code class="sig-name descname">VALID</code><em class="property"> = 23</em><a class="headerlink" href="#lxml.etree.ErrorDomains.VALID" title="Permalink to this definition">¶</a></dt>
1023 <dl class="py attribute">
1024 <dt id="lxml.etree.ErrorDomains.WRITER">
1025 <code class="sig-name descname">WRITER</code><em class="property"> = 25</em><a class="headerlink" href="#lxml.etree.ErrorDomains.WRITER" title="Permalink to this definition">¶</a></dt>
1028 <dl class="py attribute">
1029 <dt id="lxml.etree.ErrorDomains.XINCLUDE">
1030 <code class="sig-name descname">XINCLUDE</code><em class="property"> = 11</em><a class="headerlink" href="#lxml.etree.ErrorDomains.XINCLUDE" title="Permalink to this definition">¶</a></dt>
1033 <dl class="py attribute">
1034 <dt id="lxml.etree.ErrorDomains.XPATH">
1035 <code class="sig-name descname">XPATH</code><em class="property"> = 12</em><a class="headerlink" href="#lxml.etree.ErrorDomains.XPATH" title="Permalink to this definition">¶</a></dt>
1038 <dl class="py attribute">
1039 <dt id="lxml.etree.ErrorDomains.XPOINTER">
1040 <code class="sig-name descname">XPOINTER</code><em class="property"> = 13</em><a class="headerlink" href="#lxml.etree.ErrorDomains.XPOINTER" title="Permalink to this definition">¶</a></dt>
1043 <dl class="py attribute">
1044 <dt id="lxml.etree.ErrorDomains.XSLT">
1045 <code class="sig-name descname">XSLT</code><em class="property"> = 22</em><a class="headerlink" href="#lxml.etree.ErrorDomains.XSLT" title="Permalink to this definition">¶</a></dt>
1048 <dl class="py attribute">
1049 <dt id="lxml.etree.ErrorDomains._names">
1050 <code class="sig-name descname">_names</code><em class="property"> = {0: 'NONE', 1: 'PARSER', 2: 'TREE', 3: 'NAMESPACE', 4: 'DTD', 5: 'HTML', 6: 'MEMORY', 7: 'OUTPUT', 8: 'IO', 9: 'FTP', 10: 'HTTP', 11: 'XINCLUDE', 12: 'XPATH', 13: 'XPOINTER', 14: 'REGEXP', 15: 'DATATYPE', 16: 'SCHEMASP', 17: 'SCHEMASV', 18: 'RELAXNGP', 19: 'RELAXNGV', 20: 'CATALOG', 21: 'C14N', 22: 'XSLT', 23: 'VALID', 24: 'CHECK', 25: 'WRITER', 26: 'MODULE', 27: 'I18N', 28: 'SCHEMATRONV', 29: 'BUFFER', 30: 'URI'}</em><a class="headerlink" href="#lxml.etree.ErrorDomains._names" title="Permalink to this definition">¶</a></dt>
1055 <dl class="py class">
1056 <dt id="lxml.etree.ErrorLevels">
1057 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">ErrorLevels</code><a class="headerlink" href="#lxml.etree.ErrorLevels" title="Permalink to this definition">¶</a></dt>
1058 <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
1059 <p>Libxml2 error levels</p>
1060 <dl class="py method">
1061 <dt id="lxml.etree.ErrorLevels._getName">
1062 <code class="sig-name descname">_getName</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">default</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="o">/</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.ErrorLevels._getName" title="Permalink to this definition">¶</a></dt>
1063 <dd><p>Return the value for key if key is in the dictionary, else default.</p>
1066 <dl class="py attribute">
1067 <dt id="lxml.etree.ErrorLevels.ERROR">
1068 <code class="sig-name descname">ERROR</code><em class="property"> = 2</em><a class="headerlink" href="#lxml.etree.ErrorLevels.ERROR" title="Permalink to this definition">¶</a></dt>
1071 <dl class="py attribute">
1072 <dt id="lxml.etree.ErrorLevels.FATAL">
1073 <code class="sig-name descname">FATAL</code><em class="property"> = 3</em><a class="headerlink" href="#lxml.etree.ErrorLevels.FATAL" title="Permalink to this definition">¶</a></dt>
1076 <dl class="py attribute">
1077 <dt id="lxml.etree.ErrorLevels.NONE">
1078 <code class="sig-name descname">NONE</code><em class="property"> = 0</em><a class="headerlink" href="#lxml.etree.ErrorLevels.NONE" title="Permalink to this definition">¶</a></dt>
1081 <dl class="py attribute">
1082 <dt id="lxml.etree.ErrorLevels.WARNING">
1083 <code class="sig-name descname">WARNING</code><em class="property"> = 1</em><a class="headerlink" href="#lxml.etree.ErrorLevels.WARNING" title="Permalink to this definition">¶</a></dt>
1086 <dl class="py attribute">
1087 <dt id="lxml.etree.ErrorLevels._names">
1088 <code class="sig-name descname">_names</code><em class="property"> = {0: 'NONE', 1: 'WARNING', 2: 'ERROR', 3: 'FATAL'}</em><a class="headerlink" href="#lxml.etree.ErrorLevels._names" title="Permalink to this definition">¶</a></dt>
1093 <dl class="py class">
1094 <dt id="lxml.etree.ErrorTypes">
1095 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">ErrorTypes</code><a class="headerlink" href="#lxml.etree.ErrorTypes" title="Permalink to this definition">¶</a></dt>
1096 <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
1097 <p>Libxml2 error types</p>
1098 <dl class="py method">
1099 <dt id="lxml.etree.ErrorTypes._getName">
1100 <code class="sig-name descname">_getName</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">default</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="o">/</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.ErrorTypes._getName" title="Permalink to this definition">¶</a></dt>
1101 <dd><p>Return the value for key if key is in the dictionary, else default.</p>
1104 <dl class="py attribute">
1105 <dt id="lxml.etree.ErrorTypes.BUF_OVERFLOW">
1106 <code class="sig-name descname">BUF_OVERFLOW</code><em class="property"> = 7000</em><a class="headerlink" href="#lxml.etree.ErrorTypes.BUF_OVERFLOW" title="Permalink to this definition">¶</a></dt>
1109 <dl class="py attribute">
1110 <dt id="lxml.etree.ErrorTypes.C14N_CREATE_CTXT">
1111 <code class="sig-name descname">C14N_CREATE_CTXT</code><em class="property"> = 1950</em><a class="headerlink" href="#lxml.etree.ErrorTypes.C14N_CREATE_CTXT" title="Permalink to this definition">¶</a></dt>
1114 <dl class="py attribute">
1115 <dt id="lxml.etree.ErrorTypes.C14N_CREATE_STACK">
1116 <code class="sig-name descname">C14N_CREATE_STACK</code><em class="property"> = 1952</em><a class="headerlink" href="#lxml.etree.ErrorTypes.C14N_CREATE_STACK" title="Permalink to this definition">¶</a></dt>
1119 <dl class="py attribute">
1120 <dt id="lxml.etree.ErrorTypes.C14N_INVALID_NODE">
1121 <code class="sig-name descname">C14N_INVALID_NODE</code><em class="property"> = 1953</em><a class="headerlink" href="#lxml.etree.ErrorTypes.C14N_INVALID_NODE" title="Permalink to this definition">¶</a></dt>
1124 <dl class="py attribute">
1125 <dt id="lxml.etree.ErrorTypes.C14N_RELATIVE_NAMESPACE">
1126 <code class="sig-name descname">C14N_RELATIVE_NAMESPACE</code><em class="property"> = 1955</em><a class="headerlink" href="#lxml.etree.ErrorTypes.C14N_RELATIVE_NAMESPACE" title="Permalink to this definition">¶</a></dt>
1129 <dl class="py attribute">
1130 <dt id="lxml.etree.ErrorTypes.C14N_REQUIRES_UTF8">
1131 <code class="sig-name descname">C14N_REQUIRES_UTF8</code><em class="property"> = 1951</em><a class="headerlink" href="#lxml.etree.ErrorTypes.C14N_REQUIRES_UTF8" title="Permalink to this definition">¶</a></dt>
1134 <dl class="py attribute">
1135 <dt id="lxml.etree.ErrorTypes.C14N_UNKNOW_NODE">
1136 <code class="sig-name descname">C14N_UNKNOW_NODE</code><em class="property"> = 1954</em><a class="headerlink" href="#lxml.etree.ErrorTypes.C14N_UNKNOW_NODE" title="Permalink to this definition">¶</a></dt>
1139 <dl class="py attribute">
1140 <dt id="lxml.etree.ErrorTypes.CATALOG_ENTRY_BROKEN">
1141 <code class="sig-name descname">CATALOG_ENTRY_BROKEN</code><em class="property"> = 1651</em><a class="headerlink" href="#lxml.etree.ErrorTypes.CATALOG_ENTRY_BROKEN" title="Permalink to this definition">¶</a></dt>
1144 <dl class="py attribute">
1145 <dt id="lxml.etree.ErrorTypes.CATALOG_MISSING_ATTR">
1146 <code class="sig-name descname">CATALOG_MISSING_ATTR</code><em class="property"> = 1650</em><a class="headerlink" href="#lxml.etree.ErrorTypes.CATALOG_MISSING_ATTR" title="Permalink to this definition">¶</a></dt>
1149 <dl class="py attribute">
1150 <dt id="lxml.etree.ErrorTypes.CATALOG_NOT_CATALOG">
1151 <code class="sig-name descname">CATALOG_NOT_CATALOG</code><em class="property"> = 1653</em><a class="headerlink" href="#lxml.etree.ErrorTypes.CATALOG_NOT_CATALOG" title="Permalink to this definition">¶</a></dt>
1154 <dl class="py attribute">
1155 <dt id="lxml.etree.ErrorTypes.CATALOG_PREFER_VALUE">
1156 <code class="sig-name descname">CATALOG_PREFER_VALUE</code><em class="property"> = 1652</em><a class="headerlink" href="#lxml.etree.ErrorTypes.CATALOG_PREFER_VALUE" title="Permalink to this definition">¶</a></dt>
1159 <dl class="py attribute">
1160 <dt id="lxml.etree.ErrorTypes.CATALOG_RECURSION">
1161 <code class="sig-name descname">CATALOG_RECURSION</code><em class="property"> = 1654</em><a class="headerlink" href="#lxml.etree.ErrorTypes.CATALOG_RECURSION" title="Permalink to this definition">¶</a></dt>
1164 <dl class="py attribute">
1165 <dt id="lxml.etree.ErrorTypes.CHECK_ENTITY_TYPE">
1166 <code class="sig-name descname">CHECK_ENTITY_TYPE</code><em class="property"> = 5012</em><a class="headerlink" href="#lxml.etree.ErrorTypes.CHECK_ENTITY_TYPE" title="Permalink to this definition">¶</a></dt>
1169 <dl class="py attribute">
1170 <dt id="lxml.etree.ErrorTypes.CHECK_FOUND_ATTRIBUTE">
1171 <code class="sig-name descname">CHECK_FOUND_ATTRIBUTE</code><em class="property"> = 5001</em><a class="headerlink" href="#lxml.etree.ErrorTypes.CHECK_FOUND_ATTRIBUTE" title="Permalink to this definition">¶</a></dt>
1174 <dl class="py attribute">
1175 <dt id="lxml.etree.ErrorTypes.CHECK_FOUND_CDATA">
1176 <code class="sig-name descname">CHECK_FOUND_CDATA</code><em class="property"> = 5003</em><a class="headerlink" href="#lxml.etree.ErrorTypes.CHECK_FOUND_CDATA" title="Permalink to this definition">¶</a></dt>
1179 <dl class="py attribute">
1180 <dt id="lxml.etree.ErrorTypes.CHECK_FOUND_COMMENT">
1181 <code class="sig-name descname">CHECK_FOUND_COMMENT</code><em class="property"> = 5007</em><a class="headerlink" href="#lxml.etree.ErrorTypes.CHECK_FOUND_COMMENT" title="Permalink to this definition">¶</a></dt>
1184 <dl class="py attribute">
1185 <dt id="lxml.etree.ErrorTypes.CHECK_FOUND_DOCTYPE">
1186 <code class="sig-name descname">CHECK_FOUND_DOCTYPE</code><em class="property"> = 5008</em><a class="headerlink" href="#lxml.etree.ErrorTypes.CHECK_FOUND_DOCTYPE" title="Permalink to this definition">¶</a></dt>
1189 <dl class="py attribute">
1190 <dt id="lxml.etree.ErrorTypes.CHECK_FOUND_ELEMENT">
1191 <code class="sig-name descname">CHECK_FOUND_ELEMENT</code><em class="property"> = 5000</em><a class="headerlink" href="#lxml.etree.ErrorTypes.CHECK_FOUND_ELEMENT" title="Permalink to this definition">¶</a></dt>
1194 <dl class="py attribute">
1195 <dt id="lxml.etree.ErrorTypes.CHECK_FOUND_ENTITY">
1196 <code class="sig-name descname">CHECK_FOUND_ENTITY</code><em class="property"> = 5005</em><a class="headerlink" href="#lxml.etree.ErrorTypes.CHECK_FOUND_ENTITY" title="Permalink to this definition">¶</a></dt>
1199 <dl class="py attribute">
1200 <dt id="lxml.etree.ErrorTypes.CHECK_FOUND_ENTITYREF">
1201 <code class="sig-name descname">CHECK_FOUND_ENTITYREF</code><em class="property"> = 5004</em><a class="headerlink" href="#lxml.etree.ErrorTypes.CHECK_FOUND_ENTITYREF" title="Permalink to this definition">¶</a></dt>
1204 <dl class="py attribute">
1205 <dt id="lxml.etree.ErrorTypes.CHECK_FOUND_FRAGMENT">
1206 <code class="sig-name descname">CHECK_FOUND_FRAGMENT</code><em class="property"> = 5009</em><a class="headerlink" href="#lxml.etree.ErrorTypes.CHECK_FOUND_FRAGMENT" title="Permalink to this definition">¶</a></dt>
1209 <dl class="py attribute">
1210 <dt id="lxml.etree.ErrorTypes.CHECK_FOUND_NOTATION">
1211 <code class="sig-name descname">CHECK_FOUND_NOTATION</code><em class="property"> = 5010</em><a class="headerlink" href="#lxml.etree.ErrorTypes.CHECK_FOUND_NOTATION" title="Permalink to this definition">¶</a></dt>
1214 <dl class="py attribute">
1215 <dt id="lxml.etree.ErrorTypes.CHECK_FOUND_PI">
1216 <code class="sig-name descname">CHECK_FOUND_PI</code><em class="property"> = 5006</em><a class="headerlink" href="#lxml.etree.ErrorTypes.CHECK_FOUND_PI" title="Permalink to this definition">¶</a></dt>
1219 <dl class="py attribute">
1220 <dt id="lxml.etree.ErrorTypes.CHECK_FOUND_TEXT">
1221 <code class="sig-name descname">CHECK_FOUND_TEXT</code><em class="property"> = 5002</em><a class="headerlink" href="#lxml.etree.ErrorTypes.CHECK_FOUND_TEXT" title="Permalink to this definition">¶</a></dt>
1224 <dl class="py attribute">
1225 <dt id="lxml.etree.ErrorTypes.CHECK_NAME_NOT_NULL">
1226 <code class="sig-name descname">CHECK_NAME_NOT_NULL</code><em class="property"> = 5037</em><a class="headerlink" href="#lxml.etree.ErrorTypes.CHECK_NAME_NOT_NULL" title="Permalink to this definition">¶</a></dt>
1229 <dl class="py attribute">
1230 <dt id="lxml.etree.ErrorTypes.CHECK_NOT_ATTR">
1231 <code class="sig-name descname">CHECK_NOT_ATTR</code><em class="property"> = 5023</em><a class="headerlink" href="#lxml.etree.ErrorTypes.CHECK_NOT_ATTR" title="Permalink to this definition">¶</a></dt>
1234 <dl class="py attribute">
1235 <dt id="lxml.etree.ErrorTypes.CHECK_NOT_ATTR_DECL">
1236 <code class="sig-name descname">CHECK_NOT_ATTR_DECL</code><em class="property"> = 5024</em><a class="headerlink" href="#lxml.etree.ErrorTypes.CHECK_NOT_ATTR_DECL" title="Permalink to this definition">¶</a></dt>
1239 <dl class="py attribute">
1240 <dt id="lxml.etree.ErrorTypes.CHECK_NOT_DTD">
1241 <code class="sig-name descname">CHECK_NOT_DTD</code><em class="property"> = 5022</em><a class="headerlink" href="#lxml.etree.ErrorTypes.CHECK_NOT_DTD" title="Permalink to this definition">¶</a></dt>
1244 <dl class="py attribute">
1245 <dt id="lxml.etree.ErrorTypes.CHECK_NOT_ELEM_DECL">
1246 <code class="sig-name descname">CHECK_NOT_ELEM_DECL</code><em class="property"> = 5025</em><a class="headerlink" href="#lxml.etree.ErrorTypes.CHECK_NOT_ELEM_DECL" title="Permalink to this definition">¶</a></dt>
1249 <dl class="py attribute">
1250 <dt id="lxml.etree.ErrorTypes.CHECK_NOT_ENTITY_DECL">
1251 <code class="sig-name descname">CHECK_NOT_ENTITY_DECL</code><em class="property"> = 5026</em><a class="headerlink" href="#lxml.etree.ErrorTypes.CHECK_NOT_ENTITY_DECL" title="Permalink to this definition">¶</a></dt>
1254 <dl class="py attribute">
1255 <dt id="lxml.etree.ErrorTypes.CHECK_NOT_NCNAME">
1256 <code class="sig-name descname">CHECK_NOT_NCNAME</code><em class="property"> = 5034</em><a class="headerlink" href="#lxml.etree.ErrorTypes.CHECK_NOT_NCNAME" title="Permalink to this definition">¶</a></dt>
1259 <dl class="py attribute">
1260 <dt id="lxml.etree.ErrorTypes.CHECK_NOT_NS_DECL">
1261 <code class="sig-name descname">CHECK_NOT_NS_DECL</code><em class="property"> = 5027</em><a class="headerlink" href="#lxml.etree.ErrorTypes.CHECK_NOT_NS_DECL" title="Permalink to this definition">¶</a></dt>
1264 <dl class="py attribute">
1265 <dt id="lxml.etree.ErrorTypes.CHECK_NOT_UTF8">
1266 <code class="sig-name descname">CHECK_NOT_UTF8</code><em class="property"> = 5032</em><a class="headerlink" href="#lxml.etree.ErrorTypes.CHECK_NOT_UTF8" title="Permalink to this definition">¶</a></dt>
1269 <dl class="py attribute">
1270 <dt id="lxml.etree.ErrorTypes.CHECK_NO_DICT">
1271 <code class="sig-name descname">CHECK_NO_DICT</code><em class="property"> = 5033</em><a class="headerlink" href="#lxml.etree.ErrorTypes.CHECK_NO_DICT" title="Permalink to this definition">¶</a></dt>
1274 <dl class="py attribute">
1275 <dt id="lxml.etree.ErrorTypes.CHECK_NO_DOC">
1276 <code class="sig-name descname">CHECK_NO_DOC</code><em class="property"> = 5014</em><a class="headerlink" href="#lxml.etree.ErrorTypes.CHECK_NO_DOC" title="Permalink to this definition">¶</a></dt>
1279 <dl class="py attribute">
1280 <dt id="lxml.etree.ErrorTypes.CHECK_NO_ELEM">
1281 <code class="sig-name descname">CHECK_NO_ELEM</code><em class="property"> = 5016</em><a class="headerlink" href="#lxml.etree.ErrorTypes.CHECK_NO_ELEM" title="Permalink to this definition">¶</a></dt>
1284 <dl class="py attribute">
1285 <dt id="lxml.etree.ErrorTypes.CHECK_NO_HREF">
1286 <code class="sig-name descname">CHECK_NO_HREF</code><em class="property"> = 5028</em><a class="headerlink" href="#lxml.etree.ErrorTypes.CHECK_NO_HREF" title="Permalink to this definition">¶</a></dt>
1289 <dl class="py attribute">
1290 <dt id="lxml.etree.ErrorTypes.CHECK_NO_NAME">
1291 <code class="sig-name descname">CHECK_NO_NAME</code><em class="property"> = 5015</em><a class="headerlink" href="#lxml.etree.ErrorTypes.CHECK_NO_NAME" title="Permalink to this definition">¶</a></dt>
1294 <dl class="py attribute">
1295 <dt id="lxml.etree.ErrorTypes.CHECK_NO_NEXT">
1296 <code class="sig-name descname">CHECK_NO_NEXT</code><em class="property"> = 5020</em><a class="headerlink" href="#lxml.etree.ErrorTypes.CHECK_NO_NEXT" title="Permalink to this definition">¶</a></dt>
1299 <dl class="py attribute">
1300 <dt id="lxml.etree.ErrorTypes.CHECK_NO_PARENT">
1301 <code class="sig-name descname">CHECK_NO_PARENT</code><em class="property"> = 5013</em><a class="headerlink" href="#lxml.etree.ErrorTypes.CHECK_NO_PARENT" title="Permalink to this definition">¶</a></dt>
1304 <dl class="py attribute">
1305 <dt id="lxml.etree.ErrorTypes.CHECK_NO_PREV">
1306 <code class="sig-name descname">CHECK_NO_PREV</code><em class="property"> = 5018</em><a class="headerlink" href="#lxml.etree.ErrorTypes.CHECK_NO_PREV" title="Permalink to this definition">¶</a></dt>
1309 <dl class="py attribute">
1310 <dt id="lxml.etree.ErrorTypes.CHECK_NS_ANCESTOR">
1311 <code class="sig-name descname">CHECK_NS_ANCESTOR</code><em class="property"> = 5031</em><a class="headerlink" href="#lxml.etree.ErrorTypes.CHECK_NS_ANCESTOR" title="Permalink to this definition">¶</a></dt>
1314 <dl class="py attribute">
1315 <dt id="lxml.etree.ErrorTypes.CHECK_NS_SCOPE">
1316 <code class="sig-name descname">CHECK_NS_SCOPE</code><em class="property"> = 5030</em><a class="headerlink" href="#lxml.etree.ErrorTypes.CHECK_NS_SCOPE" title="Permalink to this definition">¶</a></dt>
1319 <dl class="py attribute">
1320 <dt id="lxml.etree.ErrorTypes.CHECK_OUTSIDE_DICT">
1321 <code class="sig-name descname">CHECK_OUTSIDE_DICT</code><em class="property"> = 5035</em><a class="headerlink" href="#lxml.etree.ErrorTypes.CHECK_OUTSIDE_DICT" title="Permalink to this definition">¶</a></dt>
1324 <dl class="py attribute">
1325 <dt id="lxml.etree.ErrorTypes.CHECK_UNKNOWN_NODE">
1326 <code class="sig-name descname">CHECK_UNKNOWN_NODE</code><em class="property"> = 5011</em><a class="headerlink" href="#lxml.etree.ErrorTypes.CHECK_UNKNOWN_NODE" title="Permalink to this definition">¶</a></dt>
1329 <dl class="py attribute">
1330 <dt id="lxml.etree.ErrorTypes.CHECK_WRONG_DOC">
1331 <code class="sig-name descname">CHECK_WRONG_DOC</code><em class="property"> = 5017</em><a class="headerlink" href="#lxml.etree.ErrorTypes.CHECK_WRONG_DOC" title="Permalink to this definition">¶</a></dt>
1334 <dl class="py attribute">
1335 <dt id="lxml.etree.ErrorTypes.CHECK_WRONG_NAME">
1336 <code class="sig-name descname">CHECK_WRONG_NAME</code><em class="property"> = 5036</em><a class="headerlink" href="#lxml.etree.ErrorTypes.CHECK_WRONG_NAME" title="Permalink to this definition">¶</a></dt>
1339 <dl class="py attribute">
1340 <dt id="lxml.etree.ErrorTypes.CHECK_WRONG_NEXT">
1341 <code class="sig-name descname">CHECK_WRONG_NEXT</code><em class="property"> = 5021</em><a class="headerlink" href="#lxml.etree.ErrorTypes.CHECK_WRONG_NEXT" title="Permalink to this definition">¶</a></dt>
1344 <dl class="py attribute">
1345 <dt id="lxml.etree.ErrorTypes.CHECK_WRONG_PARENT">
1346 <code class="sig-name descname">CHECK_WRONG_PARENT</code><em class="property"> = 5029</em><a class="headerlink" href="#lxml.etree.ErrorTypes.CHECK_WRONG_PARENT" title="Permalink to this definition">¶</a></dt>
1349 <dl class="py attribute">
1350 <dt id="lxml.etree.ErrorTypes.CHECK_WRONG_PREV">
1351 <code class="sig-name descname">CHECK_WRONG_PREV</code><em class="property"> = 5019</em><a class="headerlink" href="#lxml.etree.ErrorTypes.CHECK_WRONG_PREV" title="Permalink to this definition">¶</a></dt>
1354 <dl class="py attribute">
1355 <dt id="lxml.etree.ErrorTypes.DTD_ATTRIBUTE_DEFAULT">
1356 <code class="sig-name descname">DTD_ATTRIBUTE_DEFAULT</code><em class="property"> = 500</em><a class="headerlink" href="#lxml.etree.ErrorTypes.DTD_ATTRIBUTE_DEFAULT" title="Permalink to this definition">¶</a></dt>
1359 <dl class="py attribute">
1360 <dt id="lxml.etree.ErrorTypes.DTD_ATTRIBUTE_REDEFINED">
1361 <code class="sig-name descname">DTD_ATTRIBUTE_REDEFINED</code><em class="property"> = 501</em><a class="headerlink" href="#lxml.etree.ErrorTypes.DTD_ATTRIBUTE_REDEFINED" title="Permalink to this definition">¶</a></dt>
1364 <dl class="py attribute">
1365 <dt id="lxml.etree.ErrorTypes.DTD_ATTRIBUTE_VALUE">
1366 <code class="sig-name descname">DTD_ATTRIBUTE_VALUE</code><em class="property"> = 502</em><a class="headerlink" href="#lxml.etree.ErrorTypes.DTD_ATTRIBUTE_VALUE" title="Permalink to this definition">¶</a></dt>
1369 <dl class="py attribute">
1370 <dt id="lxml.etree.ErrorTypes.DTD_CONTENT_ERROR">
1371 <code class="sig-name descname">DTD_CONTENT_ERROR</code><em class="property"> = 503</em><a class="headerlink" href="#lxml.etree.ErrorTypes.DTD_CONTENT_ERROR" title="Permalink to this definition">¶</a></dt>
1374 <dl class="py attribute">
1375 <dt id="lxml.etree.ErrorTypes.DTD_CONTENT_MODEL">
1376 <code class="sig-name descname">DTD_CONTENT_MODEL</code><em class="property"> = 504</em><a class="headerlink" href="#lxml.etree.ErrorTypes.DTD_CONTENT_MODEL" title="Permalink to this definition">¶</a></dt>
1379 <dl class="py attribute">
1380 <dt id="lxml.etree.ErrorTypes.DTD_CONTENT_NOT_DETERMINIST">
1381 <code class="sig-name descname">DTD_CONTENT_NOT_DETERMINIST</code><em class="property"> = 505</em><a class="headerlink" href="#lxml.etree.ErrorTypes.DTD_CONTENT_NOT_DETERMINIST" title="Permalink to this definition">¶</a></dt>
1384 <dl class="py attribute">
1385 <dt id="lxml.etree.ErrorTypes.DTD_DIFFERENT_PREFIX">
1386 <code class="sig-name descname">DTD_DIFFERENT_PREFIX</code><em class="property"> = 506</em><a class="headerlink" href="#lxml.etree.ErrorTypes.DTD_DIFFERENT_PREFIX" title="Permalink to this definition">¶</a></dt>
1389 <dl class="py attribute">
1390 <dt id="lxml.etree.ErrorTypes.DTD_DUP_TOKEN">
1391 <code class="sig-name descname">DTD_DUP_TOKEN</code><em class="property"> = 541</em><a class="headerlink" href="#lxml.etree.ErrorTypes.DTD_DUP_TOKEN" title="Permalink to this definition">¶</a></dt>
1394 <dl class="py attribute">
1395 <dt id="lxml.etree.ErrorTypes.DTD_ELEM_DEFAULT_NAMESPACE">
1396 <code class="sig-name descname">DTD_ELEM_DEFAULT_NAMESPACE</code><em class="property"> = 507</em><a class="headerlink" href="#lxml.etree.ErrorTypes.DTD_ELEM_DEFAULT_NAMESPACE" title="Permalink to this definition">¶</a></dt>
1399 <dl class="py attribute">
1400 <dt id="lxml.etree.ErrorTypes.DTD_ELEM_NAMESPACE">
1401 <code class="sig-name descname">DTD_ELEM_NAMESPACE</code><em class="property"> = 508</em><a class="headerlink" href="#lxml.etree.ErrorTypes.DTD_ELEM_NAMESPACE" title="Permalink to this definition">¶</a></dt>
1404 <dl class="py attribute">
1405 <dt id="lxml.etree.ErrorTypes.DTD_ELEM_REDEFINED">
1406 <code class="sig-name descname">DTD_ELEM_REDEFINED</code><em class="property"> = 509</em><a class="headerlink" href="#lxml.etree.ErrorTypes.DTD_ELEM_REDEFINED" title="Permalink to this definition">¶</a></dt>
1409 <dl class="py attribute">
1410 <dt id="lxml.etree.ErrorTypes.DTD_EMPTY_NOTATION">
1411 <code class="sig-name descname">DTD_EMPTY_NOTATION</code><em class="property"> = 510</em><a class="headerlink" href="#lxml.etree.ErrorTypes.DTD_EMPTY_NOTATION" title="Permalink to this definition">¶</a></dt>
1414 <dl class="py attribute">
1415 <dt id="lxml.etree.ErrorTypes.DTD_ENTITY_TYPE">
1416 <code class="sig-name descname">DTD_ENTITY_TYPE</code><em class="property"> = 511</em><a class="headerlink" href="#lxml.etree.ErrorTypes.DTD_ENTITY_TYPE" title="Permalink to this definition">¶</a></dt>
1419 <dl class="py attribute">
1420 <dt id="lxml.etree.ErrorTypes.DTD_ID_FIXED">
1421 <code class="sig-name descname">DTD_ID_FIXED</code><em class="property"> = 512</em><a class="headerlink" href="#lxml.etree.ErrorTypes.DTD_ID_FIXED" title="Permalink to this definition">¶</a></dt>
1424 <dl class="py attribute">
1425 <dt id="lxml.etree.ErrorTypes.DTD_ID_REDEFINED">
1426 <code class="sig-name descname">DTD_ID_REDEFINED</code><em class="property"> = 513</em><a class="headerlink" href="#lxml.etree.ErrorTypes.DTD_ID_REDEFINED" title="Permalink to this definition">¶</a></dt>
1429 <dl class="py attribute">
1430 <dt id="lxml.etree.ErrorTypes.DTD_ID_SUBSET">
1431 <code class="sig-name descname">DTD_ID_SUBSET</code><em class="property"> = 514</em><a class="headerlink" href="#lxml.etree.ErrorTypes.DTD_ID_SUBSET" title="Permalink to this definition">¶</a></dt>
1434 <dl class="py attribute">
1435 <dt id="lxml.etree.ErrorTypes.DTD_INVALID_CHILD">
1436 <code class="sig-name descname">DTD_INVALID_CHILD</code><em class="property"> = 515</em><a class="headerlink" href="#lxml.etree.ErrorTypes.DTD_INVALID_CHILD" title="Permalink to this definition">¶</a></dt>
1439 <dl class="py attribute">
1440 <dt id="lxml.etree.ErrorTypes.DTD_INVALID_DEFAULT">
1441 <code class="sig-name descname">DTD_INVALID_DEFAULT</code><em class="property"> = 516</em><a class="headerlink" href="#lxml.etree.ErrorTypes.DTD_INVALID_DEFAULT" title="Permalink to this definition">¶</a></dt>
1444 <dl class="py attribute">
1445 <dt id="lxml.etree.ErrorTypes.DTD_LOAD_ERROR">
1446 <code class="sig-name descname">DTD_LOAD_ERROR</code><em class="property"> = 517</em><a class="headerlink" href="#lxml.etree.ErrorTypes.DTD_LOAD_ERROR" title="Permalink to this definition">¶</a></dt>
1449 <dl class="py attribute">
1450 <dt id="lxml.etree.ErrorTypes.DTD_MISSING_ATTRIBUTE">
1451 <code class="sig-name descname">DTD_MISSING_ATTRIBUTE</code><em class="property"> = 518</em><a class="headerlink" href="#lxml.etree.ErrorTypes.DTD_MISSING_ATTRIBUTE" title="Permalink to this definition">¶</a></dt>
1454 <dl class="py attribute">
1455 <dt id="lxml.etree.ErrorTypes.DTD_MIXED_CORRUPT">
1456 <code class="sig-name descname">DTD_MIXED_CORRUPT</code><em class="property"> = 519</em><a class="headerlink" href="#lxml.etree.ErrorTypes.DTD_MIXED_CORRUPT" title="Permalink to this definition">¶</a></dt>
1459 <dl class="py attribute">
1460 <dt id="lxml.etree.ErrorTypes.DTD_MULTIPLE_ID">
1461 <code class="sig-name descname">DTD_MULTIPLE_ID</code><em class="property"> = 520</em><a class="headerlink" href="#lxml.etree.ErrorTypes.DTD_MULTIPLE_ID" title="Permalink to this definition">¶</a></dt>
1464 <dl class="py attribute">
1465 <dt id="lxml.etree.ErrorTypes.DTD_NOTATION_REDEFINED">
1466 <code class="sig-name descname">DTD_NOTATION_REDEFINED</code><em class="property"> = 526</em><a class="headerlink" href="#lxml.etree.ErrorTypes.DTD_NOTATION_REDEFINED" title="Permalink to this definition">¶</a></dt>
1469 <dl class="py attribute">
1470 <dt id="lxml.etree.ErrorTypes.DTD_NOTATION_VALUE">
1471 <code class="sig-name descname">DTD_NOTATION_VALUE</code><em class="property"> = 527</em><a class="headerlink" href="#lxml.etree.ErrorTypes.DTD_NOTATION_VALUE" title="Permalink to this definition">¶</a></dt>
1474 <dl class="py attribute">
1475 <dt id="lxml.etree.ErrorTypes.DTD_NOT_EMPTY">
1476 <code class="sig-name descname">DTD_NOT_EMPTY</code><em class="property"> = 528</em><a class="headerlink" href="#lxml.etree.ErrorTypes.DTD_NOT_EMPTY" title="Permalink to this definition">¶</a></dt>
1479 <dl class="py attribute">
1480 <dt id="lxml.etree.ErrorTypes.DTD_NOT_PCDATA">
1481 <code class="sig-name descname">DTD_NOT_PCDATA</code><em class="property"> = 529</em><a class="headerlink" href="#lxml.etree.ErrorTypes.DTD_NOT_PCDATA" title="Permalink to this definition">¶</a></dt>
1484 <dl class="py attribute">
1485 <dt id="lxml.etree.ErrorTypes.DTD_NOT_STANDALONE">
1486 <code class="sig-name descname">DTD_NOT_STANDALONE</code><em class="property"> = 530</em><a class="headerlink" href="#lxml.etree.ErrorTypes.DTD_NOT_STANDALONE" title="Permalink to this definition">¶</a></dt>
1489 <dl class="py attribute">
1490 <dt id="lxml.etree.ErrorTypes.DTD_NO_DOC">
1491 <code class="sig-name descname">DTD_NO_DOC</code><em class="property"> = 521</em><a class="headerlink" href="#lxml.etree.ErrorTypes.DTD_NO_DOC" title="Permalink to this definition">¶</a></dt>
1494 <dl class="py attribute">
1495 <dt id="lxml.etree.ErrorTypes.DTD_NO_DTD">
1496 <code class="sig-name descname">DTD_NO_DTD</code><em class="property"> = 522</em><a class="headerlink" href="#lxml.etree.ErrorTypes.DTD_NO_DTD" title="Permalink to this definition">¶</a></dt>
1499 <dl class="py attribute">
1500 <dt id="lxml.etree.ErrorTypes.DTD_NO_ELEM_NAME">
1501 <code class="sig-name descname">DTD_NO_ELEM_NAME</code><em class="property"> = 523</em><a class="headerlink" href="#lxml.etree.ErrorTypes.DTD_NO_ELEM_NAME" title="Permalink to this definition">¶</a></dt>
1504 <dl class="py attribute">
1505 <dt id="lxml.etree.ErrorTypes.DTD_NO_PREFIX">
1506 <code class="sig-name descname">DTD_NO_PREFIX</code><em class="property"> = 524</em><a class="headerlink" href="#lxml.etree.ErrorTypes.DTD_NO_PREFIX" title="Permalink to this definition">¶</a></dt>
1509 <dl class="py attribute">
1510 <dt id="lxml.etree.ErrorTypes.DTD_NO_ROOT">
1511 <code class="sig-name descname">DTD_NO_ROOT</code><em class="property"> = 525</em><a class="headerlink" href="#lxml.etree.ErrorTypes.DTD_NO_ROOT" title="Permalink to this definition">¶</a></dt>
1514 <dl class="py attribute">
1515 <dt id="lxml.etree.ErrorTypes.DTD_ROOT_NAME">
1516 <code class="sig-name descname">DTD_ROOT_NAME</code><em class="property"> = 531</em><a class="headerlink" href="#lxml.etree.ErrorTypes.DTD_ROOT_NAME" title="Permalink to this definition">¶</a></dt>
1519 <dl class="py attribute">
1520 <dt id="lxml.etree.ErrorTypes.DTD_STANDALONE_DEFAULTED">
1521 <code class="sig-name descname">DTD_STANDALONE_DEFAULTED</code><em class="property"> = 538</em><a class="headerlink" href="#lxml.etree.ErrorTypes.DTD_STANDALONE_DEFAULTED" title="Permalink to this definition">¶</a></dt>
1524 <dl class="py attribute">
1525 <dt id="lxml.etree.ErrorTypes.DTD_STANDALONE_WHITE_SPACE">
1526 <code class="sig-name descname">DTD_STANDALONE_WHITE_SPACE</code><em class="property"> = 532</em><a class="headerlink" href="#lxml.etree.ErrorTypes.DTD_STANDALONE_WHITE_SPACE" title="Permalink to this definition">¶</a></dt>
1529 <dl class="py attribute">
1530 <dt id="lxml.etree.ErrorTypes.DTD_UNKNOWN_ATTRIBUTE">
1531 <code class="sig-name descname">DTD_UNKNOWN_ATTRIBUTE</code><em class="property"> = 533</em><a class="headerlink" href="#lxml.etree.ErrorTypes.DTD_UNKNOWN_ATTRIBUTE" title="Permalink to this definition">¶</a></dt>
1534 <dl class="py attribute">
1535 <dt id="lxml.etree.ErrorTypes.DTD_UNKNOWN_ELEM">
1536 <code class="sig-name descname">DTD_UNKNOWN_ELEM</code><em class="property"> = 534</em><a class="headerlink" href="#lxml.etree.ErrorTypes.DTD_UNKNOWN_ELEM" title="Permalink to this definition">¶</a></dt>
1539 <dl class="py attribute">
1540 <dt id="lxml.etree.ErrorTypes.DTD_UNKNOWN_ENTITY">
1541 <code class="sig-name descname">DTD_UNKNOWN_ENTITY</code><em class="property"> = 535</em><a class="headerlink" href="#lxml.etree.ErrorTypes.DTD_UNKNOWN_ENTITY" title="Permalink to this definition">¶</a></dt>
1544 <dl class="py attribute">
1545 <dt id="lxml.etree.ErrorTypes.DTD_UNKNOWN_ID">
1546 <code class="sig-name descname">DTD_UNKNOWN_ID</code><em class="property"> = 536</em><a class="headerlink" href="#lxml.etree.ErrorTypes.DTD_UNKNOWN_ID" title="Permalink to this definition">¶</a></dt>
1549 <dl class="py attribute">
1550 <dt id="lxml.etree.ErrorTypes.DTD_UNKNOWN_NOTATION">
1551 <code class="sig-name descname">DTD_UNKNOWN_NOTATION</code><em class="property"> = 537</em><a class="headerlink" href="#lxml.etree.ErrorTypes.DTD_UNKNOWN_NOTATION" title="Permalink to this definition">¶</a></dt>
1554 <dl class="py attribute">
1555 <dt id="lxml.etree.ErrorTypes.DTD_XMLID_TYPE">
1556 <code class="sig-name descname">DTD_XMLID_TYPE</code><em class="property"> = 540</em><a class="headerlink" href="#lxml.etree.ErrorTypes.DTD_XMLID_TYPE" title="Permalink to this definition">¶</a></dt>
1559 <dl class="py attribute">
1560 <dt id="lxml.etree.ErrorTypes.DTD_XMLID_VALUE">
1561 <code class="sig-name descname">DTD_XMLID_VALUE</code><em class="property"> = 539</em><a class="headerlink" href="#lxml.etree.ErrorTypes.DTD_XMLID_VALUE" title="Permalink to this definition">¶</a></dt>
1564 <dl class="py attribute">
1565 <dt id="lxml.etree.ErrorTypes.ERR_ATTLIST_NOT_FINISHED">
1566 <code class="sig-name descname">ERR_ATTLIST_NOT_FINISHED</code><em class="property"> = 51</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_ATTLIST_NOT_FINISHED" title="Permalink to this definition">¶</a></dt>
1569 <dl class="py attribute">
1570 <dt id="lxml.etree.ErrorTypes.ERR_ATTLIST_NOT_STARTED">
1571 <code class="sig-name descname">ERR_ATTLIST_NOT_STARTED</code><em class="property"> = 50</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_ATTLIST_NOT_STARTED" title="Permalink to this definition">¶</a></dt>
1574 <dl class="py attribute">
1575 <dt id="lxml.etree.ErrorTypes.ERR_ATTRIBUTE_NOT_FINISHED">
1576 <code class="sig-name descname">ERR_ATTRIBUTE_NOT_FINISHED</code><em class="property"> = 40</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_ATTRIBUTE_NOT_FINISHED" title="Permalink to this definition">¶</a></dt>
1579 <dl class="py attribute">
1580 <dt id="lxml.etree.ErrorTypes.ERR_ATTRIBUTE_NOT_STARTED">
1581 <code class="sig-name descname">ERR_ATTRIBUTE_NOT_STARTED</code><em class="property"> = 39</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_ATTRIBUTE_NOT_STARTED" title="Permalink to this definition">¶</a></dt>
1584 <dl class="py attribute">
1585 <dt id="lxml.etree.ErrorTypes.ERR_ATTRIBUTE_REDEFINED">
1586 <code class="sig-name descname">ERR_ATTRIBUTE_REDEFINED</code><em class="property"> = 42</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_ATTRIBUTE_REDEFINED" title="Permalink to this definition">¶</a></dt>
1589 <dl class="py attribute">
1590 <dt id="lxml.etree.ErrorTypes.ERR_ATTRIBUTE_WITHOUT_VALUE">
1591 <code class="sig-name descname">ERR_ATTRIBUTE_WITHOUT_VALUE</code><em class="property"> = 41</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_ATTRIBUTE_WITHOUT_VALUE" title="Permalink to this definition">¶</a></dt>
1594 <dl class="py attribute">
1595 <dt id="lxml.etree.ErrorTypes.ERR_CDATA_NOT_FINISHED">
1596 <code class="sig-name descname">ERR_CDATA_NOT_FINISHED</code><em class="property"> = 63</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_CDATA_NOT_FINISHED" title="Permalink to this definition">¶</a></dt>
1599 <dl class="py attribute">
1600 <dt id="lxml.etree.ErrorTypes.ERR_CHARREF_AT_EOF">
1601 <code class="sig-name descname">ERR_CHARREF_AT_EOF</code><em class="property"> = 10</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_CHARREF_AT_EOF" title="Permalink to this definition">¶</a></dt>
1604 <dl class="py attribute">
1605 <dt id="lxml.etree.ErrorTypes.ERR_CHARREF_IN_DTD">
1606 <code class="sig-name descname">ERR_CHARREF_IN_DTD</code><em class="property"> = 13</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_CHARREF_IN_DTD" title="Permalink to this definition">¶</a></dt>
1609 <dl class="py attribute">
1610 <dt id="lxml.etree.ErrorTypes.ERR_CHARREF_IN_EPILOG">
1611 <code class="sig-name descname">ERR_CHARREF_IN_EPILOG</code><em class="property"> = 12</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_CHARREF_IN_EPILOG" title="Permalink to this definition">¶</a></dt>
1614 <dl class="py attribute">
1615 <dt id="lxml.etree.ErrorTypes.ERR_CHARREF_IN_PROLOG">
1616 <code class="sig-name descname">ERR_CHARREF_IN_PROLOG</code><em class="property"> = 11</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_CHARREF_IN_PROLOG" title="Permalink to this definition">¶</a></dt>
1619 <dl class="py attribute">
1620 <dt id="lxml.etree.ErrorTypes.ERR_COMMENT_NOT_FINISHED">
1621 <code class="sig-name descname">ERR_COMMENT_NOT_FINISHED</code><em class="property"> = 45</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_COMMENT_NOT_FINISHED" title="Permalink to this definition">¶</a></dt>
1624 <dl class="py attribute">
1625 <dt id="lxml.etree.ErrorTypes.ERR_CONDSEC_INVALID">
1626 <code class="sig-name descname">ERR_CONDSEC_INVALID</code><em class="property"> = 83</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_CONDSEC_INVALID" title="Permalink to this definition">¶</a></dt>
1629 <dl class="py attribute">
1630 <dt id="lxml.etree.ErrorTypes.ERR_CONDSEC_INVALID_KEYWORD">
1631 <code class="sig-name descname">ERR_CONDSEC_INVALID_KEYWORD</code><em class="property"> = 95</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_CONDSEC_INVALID_KEYWORD" title="Permalink to this definition">¶</a></dt>
1634 <dl class="py attribute">
1635 <dt id="lxml.etree.ErrorTypes.ERR_CONDSEC_NOT_FINISHED">
1636 <code class="sig-name descname">ERR_CONDSEC_NOT_FINISHED</code><em class="property"> = 59</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_CONDSEC_NOT_FINISHED" title="Permalink to this definition">¶</a></dt>
1639 <dl class="py attribute">
1640 <dt id="lxml.etree.ErrorTypes.ERR_CONDSEC_NOT_STARTED">
1641 <code class="sig-name descname">ERR_CONDSEC_NOT_STARTED</code><em class="property"> = 58</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_CONDSEC_NOT_STARTED" title="Permalink to this definition">¶</a></dt>
1644 <dl class="py attribute">
1645 <dt id="lxml.etree.ErrorTypes.ERR_DOCTYPE_NOT_FINISHED">
1646 <code class="sig-name descname">ERR_DOCTYPE_NOT_FINISHED</code><em class="property"> = 61</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_DOCTYPE_NOT_FINISHED" title="Permalink to this definition">¶</a></dt>
1649 <dl class="py attribute">
1650 <dt id="lxml.etree.ErrorTypes.ERR_DOCUMENT_EMPTY">
1651 <code class="sig-name descname">ERR_DOCUMENT_EMPTY</code><em class="property"> = 4</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_DOCUMENT_EMPTY" title="Permalink to this definition">¶</a></dt>
1654 <dl class="py attribute">
1655 <dt id="lxml.etree.ErrorTypes.ERR_DOCUMENT_END">
1656 <code class="sig-name descname">ERR_DOCUMENT_END</code><em class="property"> = 5</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_DOCUMENT_END" title="Permalink to this definition">¶</a></dt>
1659 <dl class="py attribute">
1660 <dt id="lxml.etree.ErrorTypes.ERR_DOCUMENT_START">
1661 <code class="sig-name descname">ERR_DOCUMENT_START</code><em class="property"> = 3</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_DOCUMENT_START" title="Permalink to this definition">¶</a></dt>
1664 <dl class="py attribute">
1665 <dt id="lxml.etree.ErrorTypes.ERR_ELEMCONTENT_NOT_FINISHED">
1666 <code class="sig-name descname">ERR_ELEMCONTENT_NOT_FINISHED</code><em class="property"> = 55</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_ELEMCONTENT_NOT_FINISHED" title="Permalink to this definition">¶</a></dt>
1669 <dl class="py attribute">
1670 <dt id="lxml.etree.ErrorTypes.ERR_ELEMCONTENT_NOT_STARTED">
1671 <code class="sig-name descname">ERR_ELEMCONTENT_NOT_STARTED</code><em class="property"> = 54</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_ELEMCONTENT_NOT_STARTED" title="Permalink to this definition">¶</a></dt>
1674 <dl class="py attribute">
1675 <dt id="lxml.etree.ErrorTypes.ERR_ENCODING_NAME">
1676 <code class="sig-name descname">ERR_ENCODING_NAME</code><em class="property"> = 79</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_ENCODING_NAME" title="Permalink to this definition">¶</a></dt>
1679 <dl class="py attribute">
1680 <dt id="lxml.etree.ErrorTypes.ERR_ENTITYREF_AT_EOF">
1681 <code class="sig-name descname">ERR_ENTITYREF_AT_EOF</code><em class="property"> = 14</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_ENTITYREF_AT_EOF" title="Permalink to this definition">¶</a></dt>
1684 <dl class="py attribute">
1685 <dt id="lxml.etree.ErrorTypes.ERR_ENTITYREF_IN_DTD">
1686 <code class="sig-name descname">ERR_ENTITYREF_IN_DTD</code><em class="property"> = 17</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_ENTITYREF_IN_DTD" title="Permalink to this definition">¶</a></dt>
1689 <dl class="py attribute">
1690 <dt id="lxml.etree.ErrorTypes.ERR_ENTITYREF_IN_EPILOG">
1691 <code class="sig-name descname">ERR_ENTITYREF_IN_EPILOG</code><em class="property"> = 16</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_ENTITYREF_IN_EPILOG" title="Permalink to this definition">¶</a></dt>
1694 <dl class="py attribute">
1695 <dt id="lxml.etree.ErrorTypes.ERR_ENTITYREF_IN_PROLOG">
1696 <code class="sig-name descname">ERR_ENTITYREF_IN_PROLOG</code><em class="property"> = 15</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_ENTITYREF_IN_PROLOG" title="Permalink to this definition">¶</a></dt>
1699 <dl class="py attribute">
1700 <dt id="lxml.etree.ErrorTypes.ERR_ENTITYREF_NO_NAME">
1701 <code class="sig-name descname">ERR_ENTITYREF_NO_NAME</code><em class="property"> = 22</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_ENTITYREF_NO_NAME" title="Permalink to this definition">¶</a></dt>
1704 <dl class="py attribute">
1705 <dt id="lxml.etree.ErrorTypes.ERR_ENTITYREF_SEMICOL_MISSING">
1706 <code class="sig-name descname">ERR_ENTITYREF_SEMICOL_MISSING</code><em class="property"> = 23</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_ENTITYREF_SEMICOL_MISSING" title="Permalink to this definition">¶</a></dt>
1709 <dl class="py attribute">
1710 <dt id="lxml.etree.ErrorTypes.ERR_ENTITY_BOUNDARY">
1711 <code class="sig-name descname">ERR_ENTITY_BOUNDARY</code><em class="property"> = 90</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_ENTITY_BOUNDARY" title="Permalink to this definition">¶</a></dt>
1714 <dl class="py attribute">
1715 <dt id="lxml.etree.ErrorTypes.ERR_ENTITY_CHAR_ERROR">
1716 <code class="sig-name descname">ERR_ENTITY_CHAR_ERROR</code><em class="property"> = 87</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_ENTITY_CHAR_ERROR" title="Permalink to this definition">¶</a></dt>
1719 <dl class="py attribute">
1720 <dt id="lxml.etree.ErrorTypes.ERR_ENTITY_IS_EXTERNAL">
1721 <code class="sig-name descname">ERR_ENTITY_IS_EXTERNAL</code><em class="property"> = 29</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_ENTITY_IS_EXTERNAL" title="Permalink to this definition">¶</a></dt>
1724 <dl class="py attribute">
1725 <dt id="lxml.etree.ErrorTypes.ERR_ENTITY_IS_PARAMETER">
1726 <code class="sig-name descname">ERR_ENTITY_IS_PARAMETER</code><em class="property"> = 30</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_ENTITY_IS_PARAMETER" title="Permalink to this definition">¶</a></dt>
1729 <dl class="py attribute">
1730 <dt id="lxml.etree.ErrorTypes.ERR_ENTITY_LOOP">
1731 <code class="sig-name descname">ERR_ENTITY_LOOP</code><em class="property"> = 89</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_ENTITY_LOOP" title="Permalink to this definition">¶</a></dt>
1734 <dl class="py attribute">
1735 <dt id="lxml.etree.ErrorTypes.ERR_ENTITY_NOT_FINISHED">
1736 <code class="sig-name descname">ERR_ENTITY_NOT_FINISHED</code><em class="property"> = 37</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_ENTITY_NOT_FINISHED" title="Permalink to this definition">¶</a></dt>
1739 <dl class="py attribute">
1740 <dt id="lxml.etree.ErrorTypes.ERR_ENTITY_NOT_STARTED">
1741 <code class="sig-name descname">ERR_ENTITY_NOT_STARTED</code><em class="property"> = 36</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_ENTITY_NOT_STARTED" title="Permalink to this definition">¶</a></dt>
1744 <dl class="py attribute">
1745 <dt id="lxml.etree.ErrorTypes.ERR_ENTITY_PE_INTERNAL">
1746 <code class="sig-name descname">ERR_ENTITY_PE_INTERNAL</code><em class="property"> = 88</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_ENTITY_PE_INTERNAL" title="Permalink to this definition">¶</a></dt>
1749 <dl class="py attribute">
1750 <dt id="lxml.etree.ErrorTypes.ERR_ENTITY_PROCESSING">
1751 <code class="sig-name descname">ERR_ENTITY_PROCESSING</code><em class="property"> = 104</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_ENTITY_PROCESSING" title="Permalink to this definition">¶</a></dt>
1754 <dl class="py attribute">
1755 <dt id="lxml.etree.ErrorTypes.ERR_EQUAL_REQUIRED">
1756 <code class="sig-name descname">ERR_EQUAL_REQUIRED</code><em class="property"> = 75</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_EQUAL_REQUIRED" title="Permalink to this definition">¶</a></dt>
1759 <dl class="py attribute">
1760 <dt id="lxml.etree.ErrorTypes.ERR_EXTRA_CONTENT">
1761 <code class="sig-name descname">ERR_EXTRA_CONTENT</code><em class="property"> = 86</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_EXTRA_CONTENT" title="Permalink to this definition">¶</a></dt>
1764 <dl class="py attribute">
1765 <dt id="lxml.etree.ErrorTypes.ERR_EXT_ENTITY_STANDALONE">
1766 <code class="sig-name descname">ERR_EXT_ENTITY_STANDALONE</code><em class="property"> = 82</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_EXT_ENTITY_STANDALONE" title="Permalink to this definition">¶</a></dt>
1769 <dl class="py attribute">
1770 <dt id="lxml.etree.ErrorTypes.ERR_EXT_SUBSET_NOT_FINISHED">
1771 <code class="sig-name descname">ERR_EXT_SUBSET_NOT_FINISHED</code><em class="property"> = 60</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_EXT_SUBSET_NOT_FINISHED" title="Permalink to this definition">¶</a></dt>
1774 <dl class="py attribute">
1775 <dt id="lxml.etree.ErrorTypes.ERR_GT_REQUIRED">
1776 <code class="sig-name descname">ERR_GT_REQUIRED</code><em class="property"> = 73</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_GT_REQUIRED" title="Permalink to this definition">¶</a></dt>
1779 <dl class="py attribute">
1780 <dt id="lxml.etree.ErrorTypes.ERR_HYPHEN_IN_COMMENT">
1781 <code class="sig-name descname">ERR_HYPHEN_IN_COMMENT</code><em class="property"> = 80</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_HYPHEN_IN_COMMENT" title="Permalink to this definition">¶</a></dt>
1784 <dl class="py attribute">
1785 <dt id="lxml.etree.ErrorTypes.ERR_INTERNAL_ERROR">
1786 <code class="sig-name descname">ERR_INTERNAL_ERROR</code><em class="property"> = 1</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_INTERNAL_ERROR" title="Permalink to this definition">¶</a></dt>
1789 <dl class="py attribute">
1790 <dt id="lxml.etree.ErrorTypes.ERR_INVALID_CHAR">
1791 <code class="sig-name descname">ERR_INVALID_CHAR</code><em class="property"> = 9</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_INVALID_CHAR" title="Permalink to this definition">¶</a></dt>
1794 <dl class="py attribute">
1795 <dt id="lxml.etree.ErrorTypes.ERR_INVALID_CHARREF">
1796 <code class="sig-name descname">ERR_INVALID_CHARREF</code><em class="property"> = 8</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_INVALID_CHARREF" title="Permalink to this definition">¶</a></dt>
1799 <dl class="py attribute">
1800 <dt id="lxml.etree.ErrorTypes.ERR_INVALID_DEC_CHARREF">
1801 <code class="sig-name descname">ERR_INVALID_DEC_CHARREF</code><em class="property"> = 7</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_INVALID_DEC_CHARREF" title="Permalink to this definition">¶</a></dt>
1804 <dl class="py attribute">
1805 <dt id="lxml.etree.ErrorTypes.ERR_INVALID_ENCODING">
1806 <code class="sig-name descname">ERR_INVALID_ENCODING</code><em class="property"> = 81</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_INVALID_ENCODING" title="Permalink to this definition">¶</a></dt>
1809 <dl class="py attribute">
1810 <dt id="lxml.etree.ErrorTypes.ERR_INVALID_HEX_CHARREF">
1811 <code class="sig-name descname">ERR_INVALID_HEX_CHARREF</code><em class="property"> = 6</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_INVALID_HEX_CHARREF" title="Permalink to this definition">¶</a></dt>
1814 <dl class="py attribute">
1815 <dt id="lxml.etree.ErrorTypes.ERR_INVALID_URI">
1816 <code class="sig-name descname">ERR_INVALID_URI</code><em class="property"> = 91</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_INVALID_URI" title="Permalink to this definition">¶</a></dt>
1819 <dl class="py attribute">
1820 <dt id="lxml.etree.ErrorTypes.ERR_LITERAL_NOT_FINISHED">
1821 <code class="sig-name descname">ERR_LITERAL_NOT_FINISHED</code><em class="property"> = 44</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_LITERAL_NOT_FINISHED" title="Permalink to this definition">¶</a></dt>
1824 <dl class="py attribute">
1825 <dt id="lxml.etree.ErrorTypes.ERR_LITERAL_NOT_STARTED">
1826 <code class="sig-name descname">ERR_LITERAL_NOT_STARTED</code><em class="property"> = 43</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_LITERAL_NOT_STARTED" title="Permalink to this definition">¶</a></dt>
1829 <dl class="py attribute">
1830 <dt id="lxml.etree.ErrorTypes.ERR_LTSLASH_REQUIRED">
1831 <code class="sig-name descname">ERR_LTSLASH_REQUIRED</code><em class="property"> = 74</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_LTSLASH_REQUIRED" title="Permalink to this definition">¶</a></dt>
1834 <dl class="py attribute">
1835 <dt id="lxml.etree.ErrorTypes.ERR_LT_IN_ATTRIBUTE">
1836 <code class="sig-name descname">ERR_LT_IN_ATTRIBUTE</code><em class="property"> = 38</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_LT_IN_ATTRIBUTE" title="Permalink to this definition">¶</a></dt>
1839 <dl class="py attribute">
1840 <dt id="lxml.etree.ErrorTypes.ERR_LT_REQUIRED">
1841 <code class="sig-name descname">ERR_LT_REQUIRED</code><em class="property"> = 72</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_LT_REQUIRED" title="Permalink to this definition">¶</a></dt>
1844 <dl class="py attribute">
1845 <dt id="lxml.etree.ErrorTypes.ERR_MISPLACED_CDATA_END">
1846 <code class="sig-name descname">ERR_MISPLACED_CDATA_END</code><em class="property"> = 62</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_MISPLACED_CDATA_END" title="Permalink to this definition">¶</a></dt>
1849 <dl class="py attribute">
1850 <dt id="lxml.etree.ErrorTypes.ERR_MISSING_ENCODING">
1851 <code class="sig-name descname">ERR_MISSING_ENCODING</code><em class="property"> = 101</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_MISSING_ENCODING" title="Permalink to this definition">¶</a></dt>
1854 <dl class="py attribute">
1855 <dt id="lxml.etree.ErrorTypes.ERR_MIXED_NOT_FINISHED">
1856 <code class="sig-name descname">ERR_MIXED_NOT_FINISHED</code><em class="property"> = 53</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_MIXED_NOT_FINISHED" title="Permalink to this definition">¶</a></dt>
1859 <dl class="py attribute">
1860 <dt id="lxml.etree.ErrorTypes.ERR_MIXED_NOT_STARTED">
1861 <code class="sig-name descname">ERR_MIXED_NOT_STARTED</code><em class="property"> = 52</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_MIXED_NOT_STARTED" title="Permalink to this definition">¶</a></dt>
1864 <dl class="py attribute">
1865 <dt id="lxml.etree.ErrorTypes.ERR_NAME_REQUIRED">
1866 <code class="sig-name descname">ERR_NAME_REQUIRED</code><em class="property"> = 68</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_NAME_REQUIRED" title="Permalink to this definition">¶</a></dt>
1869 <dl class="py attribute">
1870 <dt id="lxml.etree.ErrorTypes.ERR_NAME_TOO_LONG">
1871 <code class="sig-name descname">ERR_NAME_TOO_LONG</code><em class="property"> = 110</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_NAME_TOO_LONG" title="Permalink to this definition">¶</a></dt>
1874 <dl class="py attribute">
1875 <dt id="lxml.etree.ErrorTypes.ERR_NMTOKEN_REQUIRED">
1876 <code class="sig-name descname">ERR_NMTOKEN_REQUIRED</code><em class="property"> = 67</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_NMTOKEN_REQUIRED" title="Permalink to this definition">¶</a></dt>
1879 <dl class="py attribute">
1880 <dt id="lxml.etree.ErrorTypes.ERR_NOTATION_NOT_FINISHED">
1881 <code class="sig-name descname">ERR_NOTATION_NOT_FINISHED</code><em class="property"> = 49</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_NOTATION_NOT_FINISHED" title="Permalink to this definition">¶</a></dt>
1884 <dl class="py attribute">
1885 <dt id="lxml.etree.ErrorTypes.ERR_NOTATION_NOT_STARTED">
1886 <code class="sig-name descname">ERR_NOTATION_NOT_STARTED</code><em class="property"> = 48</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_NOTATION_NOT_STARTED" title="Permalink to this definition">¶</a></dt>
1889 <dl class="py attribute">
1890 <dt id="lxml.etree.ErrorTypes.ERR_NOTATION_PROCESSING">
1891 <code class="sig-name descname">ERR_NOTATION_PROCESSING</code><em class="property"> = 105</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_NOTATION_PROCESSING" title="Permalink to this definition">¶</a></dt>
1894 <dl class="py attribute">
1895 <dt id="lxml.etree.ErrorTypes.ERR_NOT_STANDALONE">
1896 <code class="sig-name descname">ERR_NOT_STANDALONE</code><em class="property"> = 103</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_NOT_STANDALONE" title="Permalink to this definition">¶</a></dt>
1899 <dl class="py attribute">
1900 <dt id="lxml.etree.ErrorTypes.ERR_NOT_WELL_BALANCED">
1901 <code class="sig-name descname">ERR_NOT_WELL_BALANCED</code><em class="property"> = 85</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_NOT_WELL_BALANCED" title="Permalink to this definition">¶</a></dt>
1904 <dl class="py attribute">
1905 <dt id="lxml.etree.ErrorTypes.ERR_NO_DTD">
1906 <code class="sig-name descname">ERR_NO_DTD</code><em class="property"> = 94</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_NO_DTD" title="Permalink to this definition">¶</a></dt>
1909 <dl class="py attribute">
1910 <dt id="lxml.etree.ErrorTypes.ERR_NO_MEMORY">
1911 <code class="sig-name descname">ERR_NO_MEMORY</code><em class="property"> = 2</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_NO_MEMORY" title="Permalink to this definition">¶</a></dt>
1914 <dl class="py attribute">
1915 <dt id="lxml.etree.ErrorTypes.ERR_NS_DECL_ERROR">
1916 <code class="sig-name descname">ERR_NS_DECL_ERROR</code><em class="property"> = 35</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_NS_DECL_ERROR" title="Permalink to this definition">¶</a></dt>
1919 <dl class="py attribute">
1920 <dt id="lxml.etree.ErrorTypes.ERR_OK">
1921 <code class="sig-name descname">ERR_OK</code><em class="property"> = 0</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_OK" title="Permalink to this definition">¶</a></dt>
1924 <dl class="py attribute">
1925 <dt id="lxml.etree.ErrorTypes.ERR_PCDATA_REQUIRED">
1926 <code class="sig-name descname">ERR_PCDATA_REQUIRED</code><em class="property"> = 69</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_PCDATA_REQUIRED" title="Permalink to this definition">¶</a></dt>
1929 <dl class="py attribute">
1930 <dt id="lxml.etree.ErrorTypes.ERR_PEREF_AT_EOF">
1931 <code class="sig-name descname">ERR_PEREF_AT_EOF</code><em class="property"> = 18</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_PEREF_AT_EOF" title="Permalink to this definition">¶</a></dt>
1934 <dl class="py attribute">
1935 <dt id="lxml.etree.ErrorTypes.ERR_PEREF_IN_EPILOG">
1936 <code class="sig-name descname">ERR_PEREF_IN_EPILOG</code><em class="property"> = 20</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_PEREF_IN_EPILOG" title="Permalink to this definition">¶</a></dt>
1939 <dl class="py attribute">
1940 <dt id="lxml.etree.ErrorTypes.ERR_PEREF_IN_INT_SUBSET">
1941 <code class="sig-name descname">ERR_PEREF_IN_INT_SUBSET</code><em class="property"> = 21</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_PEREF_IN_INT_SUBSET" title="Permalink to this definition">¶</a></dt>
1944 <dl class="py attribute">
1945 <dt id="lxml.etree.ErrorTypes.ERR_PEREF_IN_PROLOG">
1946 <code class="sig-name descname">ERR_PEREF_IN_PROLOG</code><em class="property"> = 19</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_PEREF_IN_PROLOG" title="Permalink to this definition">¶</a></dt>
1949 <dl class="py attribute">
1950 <dt id="lxml.etree.ErrorTypes.ERR_PEREF_NO_NAME">
1951 <code class="sig-name descname">ERR_PEREF_NO_NAME</code><em class="property"> = 24</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_PEREF_NO_NAME" title="Permalink to this definition">¶</a></dt>
1954 <dl class="py attribute">
1955 <dt id="lxml.etree.ErrorTypes.ERR_PEREF_SEMICOL_MISSING">
1956 <code class="sig-name descname">ERR_PEREF_SEMICOL_MISSING</code><em class="property"> = 25</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_PEREF_SEMICOL_MISSING" title="Permalink to this definition">¶</a></dt>
1959 <dl class="py attribute">
1960 <dt id="lxml.etree.ErrorTypes.ERR_PI_NOT_FINISHED">
1961 <code class="sig-name descname">ERR_PI_NOT_FINISHED</code><em class="property"> = 47</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_PI_NOT_FINISHED" title="Permalink to this definition">¶</a></dt>
1964 <dl class="py attribute">
1965 <dt id="lxml.etree.ErrorTypes.ERR_PI_NOT_STARTED">
1966 <code class="sig-name descname">ERR_PI_NOT_STARTED</code><em class="property"> = 46</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_PI_NOT_STARTED" title="Permalink to this definition">¶</a></dt>
1969 <dl class="py attribute">
1970 <dt id="lxml.etree.ErrorTypes.ERR_PUBID_REQUIRED">
1971 <code class="sig-name descname">ERR_PUBID_REQUIRED</code><em class="property"> = 71</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_PUBID_REQUIRED" title="Permalink to this definition">¶</a></dt>
1974 <dl class="py attribute">
1975 <dt id="lxml.etree.ErrorTypes.ERR_RESERVED_XML_NAME">
1976 <code class="sig-name descname">ERR_RESERVED_XML_NAME</code><em class="property"> = 64</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_RESERVED_XML_NAME" title="Permalink to this definition">¶</a></dt>
1979 <dl class="py attribute">
1980 <dt id="lxml.etree.ErrorTypes.ERR_SEPARATOR_REQUIRED">
1981 <code class="sig-name descname">ERR_SEPARATOR_REQUIRED</code><em class="property"> = 66</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_SEPARATOR_REQUIRED" title="Permalink to this definition">¶</a></dt>
1984 <dl class="py attribute">
1985 <dt id="lxml.etree.ErrorTypes.ERR_SPACE_REQUIRED">
1986 <code class="sig-name descname">ERR_SPACE_REQUIRED</code><em class="property"> = 65</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_SPACE_REQUIRED" title="Permalink to this definition">¶</a></dt>
1989 <dl class="py attribute">
1990 <dt id="lxml.etree.ErrorTypes.ERR_STANDALONE_VALUE">
1991 <code class="sig-name descname">ERR_STANDALONE_VALUE</code><em class="property"> = 78</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_STANDALONE_VALUE" title="Permalink to this definition">¶</a></dt>
1994 <dl class="py attribute">
1995 <dt id="lxml.etree.ErrorTypes.ERR_STRING_NOT_CLOSED">
1996 <code class="sig-name descname">ERR_STRING_NOT_CLOSED</code><em class="property"> = 34</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_STRING_NOT_CLOSED" title="Permalink to this definition">¶</a></dt>
1999 <dl class="py attribute">
2000 <dt id="lxml.etree.ErrorTypes.ERR_STRING_NOT_STARTED">
2001 <code class="sig-name descname">ERR_STRING_NOT_STARTED</code><em class="property"> = 33</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_STRING_NOT_STARTED" title="Permalink to this definition">¶</a></dt>
2004 <dl class="py attribute">
2005 <dt id="lxml.etree.ErrorTypes.ERR_TAG_NAME_MISMATCH">
2006 <code class="sig-name descname">ERR_TAG_NAME_MISMATCH</code><em class="property"> = 76</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_TAG_NAME_MISMATCH" title="Permalink to this definition">¶</a></dt>
2009 <dl class="py attribute">
2010 <dt id="lxml.etree.ErrorTypes.ERR_TAG_NOT_FINISHED">
2011 <code class="sig-name descname">ERR_TAG_NOT_FINISHED</code><em class="property"> = 77</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_TAG_NOT_FINISHED" title="Permalink to this definition">¶</a></dt>
2014 <dl class="py attribute">
2015 <dt id="lxml.etree.ErrorTypes.ERR_UNDECLARED_ENTITY">
2016 <code class="sig-name descname">ERR_UNDECLARED_ENTITY</code><em class="property"> = 26</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_UNDECLARED_ENTITY" title="Permalink to this definition">¶</a></dt>
2019 <dl class="py attribute">
2020 <dt id="lxml.etree.ErrorTypes.ERR_UNKNOWN_ENCODING">
2021 <code class="sig-name descname">ERR_UNKNOWN_ENCODING</code><em class="property"> = 31</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_UNKNOWN_ENCODING" title="Permalink to this definition">¶</a></dt>
2024 <dl class="py attribute">
2025 <dt id="lxml.etree.ErrorTypes.ERR_UNKNOWN_VERSION">
2026 <code class="sig-name descname">ERR_UNKNOWN_VERSION</code><em class="property"> = 108</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_UNKNOWN_VERSION" title="Permalink to this definition">¶</a></dt>
2029 <dl class="py attribute">
2030 <dt id="lxml.etree.ErrorTypes.ERR_UNPARSED_ENTITY">
2031 <code class="sig-name descname">ERR_UNPARSED_ENTITY</code><em class="property"> = 28</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_UNPARSED_ENTITY" title="Permalink to this definition">¶</a></dt>
2034 <dl class="py attribute">
2035 <dt id="lxml.etree.ErrorTypes.ERR_UNSUPPORTED_ENCODING">
2036 <code class="sig-name descname">ERR_UNSUPPORTED_ENCODING</code><em class="property"> = 32</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_UNSUPPORTED_ENCODING" title="Permalink to this definition">¶</a></dt>
2039 <dl class="py attribute">
2040 <dt id="lxml.etree.ErrorTypes.ERR_URI_FRAGMENT">
2041 <code class="sig-name descname">ERR_URI_FRAGMENT</code><em class="property"> = 92</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_URI_FRAGMENT" title="Permalink to this definition">¶</a></dt>
2044 <dl class="py attribute">
2045 <dt id="lxml.etree.ErrorTypes.ERR_URI_REQUIRED">
2046 <code class="sig-name descname">ERR_URI_REQUIRED</code><em class="property"> = 70</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_URI_REQUIRED" title="Permalink to this definition">¶</a></dt>
2049 <dl class="py attribute">
2050 <dt id="lxml.etree.ErrorTypes.ERR_USER_STOP">
2051 <code class="sig-name descname">ERR_USER_STOP</code><em class="property"> = 111</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_USER_STOP" title="Permalink to this definition">¶</a></dt>
2054 <dl class="py attribute">
2055 <dt id="lxml.etree.ErrorTypes.ERR_VALUE_REQUIRED">
2056 <code class="sig-name descname">ERR_VALUE_REQUIRED</code><em class="property"> = 84</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_VALUE_REQUIRED" title="Permalink to this definition">¶</a></dt>
2059 <dl class="py attribute">
2060 <dt id="lxml.etree.ErrorTypes.ERR_VERSION_MISMATCH">
2061 <code class="sig-name descname">ERR_VERSION_MISMATCH</code><em class="property"> = 109</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_VERSION_MISMATCH" title="Permalink to this definition">¶</a></dt>
2064 <dl class="py attribute">
2065 <dt id="lxml.etree.ErrorTypes.ERR_VERSION_MISSING">
2066 <code class="sig-name descname">ERR_VERSION_MISSING</code><em class="property"> = 96</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_VERSION_MISSING" title="Permalink to this definition">¶</a></dt>
2069 <dl class="py attribute">
2070 <dt id="lxml.etree.ErrorTypes.ERR_XMLDECL_NOT_FINISHED">
2071 <code class="sig-name descname">ERR_XMLDECL_NOT_FINISHED</code><em class="property"> = 57</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_XMLDECL_NOT_FINISHED" title="Permalink to this definition">¶</a></dt>
2074 <dl class="py attribute">
2075 <dt id="lxml.etree.ErrorTypes.ERR_XMLDECL_NOT_STARTED">
2076 <code class="sig-name descname">ERR_XMLDECL_NOT_STARTED</code><em class="property"> = 56</em><a class="headerlink" href="#lxml.etree.ErrorTypes.ERR_XMLDECL_NOT_STARTED" title="Permalink to this definition">¶</a></dt>
2079 <dl class="py attribute">
2080 <dt id="lxml.etree.ErrorTypes.FTP_ACCNT">
2081 <code class="sig-name descname">FTP_ACCNT</code><em class="property"> = 2002</em><a class="headerlink" href="#lxml.etree.ErrorTypes.FTP_ACCNT" title="Permalink to this definition">¶</a></dt>
2084 <dl class="py attribute">
2085 <dt id="lxml.etree.ErrorTypes.FTP_EPSV_ANSWER">
2086 <code class="sig-name descname">FTP_EPSV_ANSWER</code><em class="property"> = 2001</em><a class="headerlink" href="#lxml.etree.ErrorTypes.FTP_EPSV_ANSWER" title="Permalink to this definition">¶</a></dt>
2089 <dl class="py attribute">
2090 <dt id="lxml.etree.ErrorTypes.FTP_PASV_ANSWER">
2091 <code class="sig-name descname">FTP_PASV_ANSWER</code><em class="property"> = 2000</em><a class="headerlink" href="#lxml.etree.ErrorTypes.FTP_PASV_ANSWER" title="Permalink to this definition">¶</a></dt>
2094 <dl class="py attribute">
2095 <dt id="lxml.etree.ErrorTypes.FTP_URL_SYNTAX">
2096 <code class="sig-name descname">FTP_URL_SYNTAX</code><em class="property"> = 2003</em><a class="headerlink" href="#lxml.etree.ErrorTypes.FTP_URL_SYNTAX" title="Permalink to this definition">¶</a></dt>
2099 <dl class="py attribute">
2100 <dt id="lxml.etree.ErrorTypes.HTML_STRUCURE_ERROR">
2101 <code class="sig-name descname">HTML_STRUCURE_ERROR</code><em class="property"> = 800</em><a class="headerlink" href="#lxml.etree.ErrorTypes.HTML_STRUCURE_ERROR" title="Permalink to this definition">¶</a></dt>
2104 <dl class="py attribute">
2105 <dt id="lxml.etree.ErrorTypes.HTML_UNKNOWN_TAG">
2106 <code class="sig-name descname">HTML_UNKNOWN_TAG</code><em class="property"> = 801</em><a class="headerlink" href="#lxml.etree.ErrorTypes.HTML_UNKNOWN_TAG" title="Permalink to this definition">¶</a></dt>
2109 <dl class="py attribute">
2110 <dt id="lxml.etree.ErrorTypes.HTTP_UNKNOWN_HOST">
2111 <code class="sig-name descname">HTTP_UNKNOWN_HOST</code><em class="property"> = 2022</em><a class="headerlink" href="#lxml.etree.ErrorTypes.HTTP_UNKNOWN_HOST" title="Permalink to this definition">¶</a></dt>
2114 <dl class="py attribute">
2115 <dt id="lxml.etree.ErrorTypes.HTTP_URL_SYNTAX">
2116 <code class="sig-name descname">HTTP_URL_SYNTAX</code><em class="property"> = 2020</em><a class="headerlink" href="#lxml.etree.ErrorTypes.HTTP_URL_SYNTAX" title="Permalink to this definition">¶</a></dt>
2119 <dl class="py attribute">
2120 <dt id="lxml.etree.ErrorTypes.HTTP_USE_IP">
2121 <code class="sig-name descname">HTTP_USE_IP</code><em class="property"> = 2021</em><a class="headerlink" href="#lxml.etree.ErrorTypes.HTTP_USE_IP" title="Permalink to this definition">¶</a></dt>
2124 <dl class="py attribute">
2125 <dt id="lxml.etree.ErrorTypes.I18N_CONV_FAILED">
2126 <code class="sig-name descname">I18N_CONV_FAILED</code><em class="property"> = 6003</em><a class="headerlink" href="#lxml.etree.ErrorTypes.I18N_CONV_FAILED" title="Permalink to this definition">¶</a></dt>
2129 <dl class="py attribute">
2130 <dt id="lxml.etree.ErrorTypes.I18N_EXCESS_HANDLER">
2131 <code class="sig-name descname">I18N_EXCESS_HANDLER</code><em class="property"> = 6002</em><a class="headerlink" href="#lxml.etree.ErrorTypes.I18N_EXCESS_HANDLER" title="Permalink to this definition">¶</a></dt>
2134 <dl class="py attribute">
2135 <dt id="lxml.etree.ErrorTypes.I18N_NO_HANDLER">
2136 <code class="sig-name descname">I18N_NO_HANDLER</code><em class="property"> = 6001</em><a class="headerlink" href="#lxml.etree.ErrorTypes.I18N_NO_HANDLER" title="Permalink to this definition">¶</a></dt>
2139 <dl class="py attribute">
2140 <dt id="lxml.etree.ErrorTypes.I18N_NO_NAME">
2141 <code class="sig-name descname">I18N_NO_NAME</code><em class="property"> = 6000</em><a class="headerlink" href="#lxml.etree.ErrorTypes.I18N_NO_NAME" title="Permalink to this definition">¶</a></dt>
2144 <dl class="py attribute">
2145 <dt id="lxml.etree.ErrorTypes.I18N_NO_OUTPUT">
2146 <code class="sig-name descname">I18N_NO_OUTPUT</code><em class="property"> = 6004</em><a class="headerlink" href="#lxml.etree.ErrorTypes.I18N_NO_OUTPUT" title="Permalink to this definition">¶</a></dt>
2149 <dl class="py attribute">
2150 <dt id="lxml.etree.ErrorTypes.IO_BUFFER_FULL">
2151 <code class="sig-name descname">IO_BUFFER_FULL</code><em class="property"> = 1548</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_BUFFER_FULL" title="Permalink to this definition">¶</a></dt>
2154 <dl class="py attribute">
2155 <dt id="lxml.etree.ErrorTypes.IO_EACCES">
2156 <code class="sig-name descname">IO_EACCES</code><em class="property"> = 1501</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_EACCES" title="Permalink to this definition">¶</a></dt>
2159 <dl class="py attribute">
2160 <dt id="lxml.etree.ErrorTypes.IO_EADDRINUSE">
2161 <code class="sig-name descname">IO_EADDRINUSE</code><em class="property"> = 1554</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_EADDRINUSE" title="Permalink to this definition">¶</a></dt>
2164 <dl class="py attribute">
2165 <dt id="lxml.etree.ErrorTypes.IO_EAFNOSUPPORT">
2166 <code class="sig-name descname">IO_EAFNOSUPPORT</code><em class="property"> = 1556</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_EAFNOSUPPORT" title="Permalink to this definition">¶</a></dt>
2169 <dl class="py attribute">
2170 <dt id="lxml.etree.ErrorTypes.IO_EAGAIN">
2171 <code class="sig-name descname">IO_EAGAIN</code><em class="property"> = 1502</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_EAGAIN" title="Permalink to this definition">¶</a></dt>
2174 <dl class="py attribute">
2175 <dt id="lxml.etree.ErrorTypes.IO_EALREADY">
2176 <code class="sig-name descname">IO_EALREADY</code><em class="property"> = 1555</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_EALREADY" title="Permalink to this definition">¶</a></dt>
2179 <dl class="py attribute">
2180 <dt id="lxml.etree.ErrorTypes.IO_EBADF">
2181 <code class="sig-name descname">IO_EBADF</code><em class="property"> = 1503</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_EBADF" title="Permalink to this definition">¶</a></dt>
2184 <dl class="py attribute">
2185 <dt id="lxml.etree.ErrorTypes.IO_EBADMSG">
2186 <code class="sig-name descname">IO_EBADMSG</code><em class="property"> = 1504</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_EBADMSG" title="Permalink to this definition">¶</a></dt>
2189 <dl class="py attribute">
2190 <dt id="lxml.etree.ErrorTypes.IO_EBUSY">
2191 <code class="sig-name descname">IO_EBUSY</code><em class="property"> = 1505</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_EBUSY" title="Permalink to this definition">¶</a></dt>
2194 <dl class="py attribute">
2195 <dt id="lxml.etree.ErrorTypes.IO_ECANCELED">
2196 <code class="sig-name descname">IO_ECANCELED</code><em class="property"> = 1506</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_ECANCELED" title="Permalink to this definition">¶</a></dt>
2199 <dl class="py attribute">
2200 <dt id="lxml.etree.ErrorTypes.IO_ECHILD">
2201 <code class="sig-name descname">IO_ECHILD</code><em class="property"> = 1507</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_ECHILD" title="Permalink to this definition">¶</a></dt>
2204 <dl class="py attribute">
2205 <dt id="lxml.etree.ErrorTypes.IO_ECONNREFUSED">
2206 <code class="sig-name descname">IO_ECONNREFUSED</code><em class="property"> = 1552</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_ECONNREFUSED" title="Permalink to this definition">¶</a></dt>
2209 <dl class="py attribute">
2210 <dt id="lxml.etree.ErrorTypes.IO_EDEADLK">
2211 <code class="sig-name descname">IO_EDEADLK</code><em class="property"> = 1508</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_EDEADLK" title="Permalink to this definition">¶</a></dt>
2214 <dl class="py attribute">
2215 <dt id="lxml.etree.ErrorTypes.IO_EDOM">
2216 <code class="sig-name descname">IO_EDOM</code><em class="property"> = 1509</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_EDOM" title="Permalink to this definition">¶</a></dt>
2219 <dl class="py attribute">
2220 <dt id="lxml.etree.ErrorTypes.IO_EEXIST">
2221 <code class="sig-name descname">IO_EEXIST</code><em class="property"> = 1510</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_EEXIST" title="Permalink to this definition">¶</a></dt>
2224 <dl class="py attribute">
2225 <dt id="lxml.etree.ErrorTypes.IO_EFAULT">
2226 <code class="sig-name descname">IO_EFAULT</code><em class="property"> = 1511</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_EFAULT" title="Permalink to this definition">¶</a></dt>
2229 <dl class="py attribute">
2230 <dt id="lxml.etree.ErrorTypes.IO_EFBIG">
2231 <code class="sig-name descname">IO_EFBIG</code><em class="property"> = 1512</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_EFBIG" title="Permalink to this definition">¶</a></dt>
2234 <dl class="py attribute">
2235 <dt id="lxml.etree.ErrorTypes.IO_EINPROGRESS">
2236 <code class="sig-name descname">IO_EINPROGRESS</code><em class="property"> = 1513</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_EINPROGRESS" title="Permalink to this definition">¶</a></dt>
2239 <dl class="py attribute">
2240 <dt id="lxml.etree.ErrorTypes.IO_EINTR">
2241 <code class="sig-name descname">IO_EINTR</code><em class="property"> = 1514</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_EINTR" title="Permalink to this definition">¶</a></dt>
2244 <dl class="py attribute">
2245 <dt id="lxml.etree.ErrorTypes.IO_EINVAL">
2246 <code class="sig-name descname">IO_EINVAL</code><em class="property"> = 1515</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_EINVAL" title="Permalink to this definition">¶</a></dt>
2249 <dl class="py attribute">
2250 <dt id="lxml.etree.ErrorTypes.IO_EIO">
2251 <code class="sig-name descname">IO_EIO</code><em class="property"> = 1516</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_EIO" title="Permalink to this definition">¶</a></dt>
2254 <dl class="py attribute">
2255 <dt id="lxml.etree.ErrorTypes.IO_EISCONN">
2256 <code class="sig-name descname">IO_EISCONN</code><em class="property"> = 1551</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_EISCONN" title="Permalink to this definition">¶</a></dt>
2259 <dl class="py attribute">
2260 <dt id="lxml.etree.ErrorTypes.IO_EISDIR">
2261 <code class="sig-name descname">IO_EISDIR</code><em class="property"> = 1517</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_EISDIR" title="Permalink to this definition">¶</a></dt>
2264 <dl class="py attribute">
2265 <dt id="lxml.etree.ErrorTypes.IO_EMFILE">
2266 <code class="sig-name descname">IO_EMFILE</code><em class="property"> = 1518</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_EMFILE" title="Permalink to this definition">¶</a></dt>
2269 <dl class="py attribute">
2270 <dt id="lxml.etree.ErrorTypes.IO_EMLINK">
2271 <code class="sig-name descname">IO_EMLINK</code><em class="property"> = 1519</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_EMLINK" title="Permalink to this definition">¶</a></dt>
2274 <dl class="py attribute">
2275 <dt id="lxml.etree.ErrorTypes.IO_EMSGSIZE">
2276 <code class="sig-name descname">IO_EMSGSIZE</code><em class="property"> = 1520</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_EMSGSIZE" title="Permalink to this definition">¶</a></dt>
2279 <dl class="py attribute">
2280 <dt id="lxml.etree.ErrorTypes.IO_ENAMETOOLONG">
2281 <code class="sig-name descname">IO_ENAMETOOLONG</code><em class="property"> = 1521</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_ENAMETOOLONG" title="Permalink to this definition">¶</a></dt>
2284 <dl class="py attribute">
2285 <dt id="lxml.etree.ErrorTypes.IO_ENCODER">
2286 <code class="sig-name descname">IO_ENCODER</code><em class="property"> = 1544</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_ENCODER" title="Permalink to this definition">¶</a></dt>
2289 <dl class="py attribute">
2290 <dt id="lxml.etree.ErrorTypes.IO_ENETUNREACH">
2291 <code class="sig-name descname">IO_ENETUNREACH</code><em class="property"> = 1553</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_ENETUNREACH" title="Permalink to this definition">¶</a></dt>
2294 <dl class="py attribute">
2295 <dt id="lxml.etree.ErrorTypes.IO_ENFILE">
2296 <code class="sig-name descname">IO_ENFILE</code><em class="property"> = 1522</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_ENFILE" title="Permalink to this definition">¶</a></dt>
2299 <dl class="py attribute">
2300 <dt id="lxml.etree.ErrorTypes.IO_ENODEV">
2301 <code class="sig-name descname">IO_ENODEV</code><em class="property"> = 1523</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_ENODEV" title="Permalink to this definition">¶</a></dt>
2304 <dl class="py attribute">
2305 <dt id="lxml.etree.ErrorTypes.IO_ENOENT">
2306 <code class="sig-name descname">IO_ENOENT</code><em class="property"> = 1524</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_ENOENT" title="Permalink to this definition">¶</a></dt>
2309 <dl class="py attribute">
2310 <dt id="lxml.etree.ErrorTypes.IO_ENOEXEC">
2311 <code class="sig-name descname">IO_ENOEXEC</code><em class="property"> = 1525</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_ENOEXEC" title="Permalink to this definition">¶</a></dt>
2314 <dl class="py attribute">
2315 <dt id="lxml.etree.ErrorTypes.IO_ENOLCK">
2316 <code class="sig-name descname">IO_ENOLCK</code><em class="property"> = 1526</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_ENOLCK" title="Permalink to this definition">¶</a></dt>
2319 <dl class="py attribute">
2320 <dt id="lxml.etree.ErrorTypes.IO_ENOMEM">
2321 <code class="sig-name descname">IO_ENOMEM</code><em class="property"> = 1527</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_ENOMEM" title="Permalink to this definition">¶</a></dt>
2324 <dl class="py attribute">
2325 <dt id="lxml.etree.ErrorTypes.IO_ENOSPC">
2326 <code class="sig-name descname">IO_ENOSPC</code><em class="property"> = 1528</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_ENOSPC" title="Permalink to this definition">¶</a></dt>
2329 <dl class="py attribute">
2330 <dt id="lxml.etree.ErrorTypes.IO_ENOSYS">
2331 <code class="sig-name descname">IO_ENOSYS</code><em class="property"> = 1529</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_ENOSYS" title="Permalink to this definition">¶</a></dt>
2334 <dl class="py attribute">
2335 <dt id="lxml.etree.ErrorTypes.IO_ENOTDIR">
2336 <code class="sig-name descname">IO_ENOTDIR</code><em class="property"> = 1530</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_ENOTDIR" title="Permalink to this definition">¶</a></dt>
2339 <dl class="py attribute">
2340 <dt id="lxml.etree.ErrorTypes.IO_ENOTEMPTY">
2341 <code class="sig-name descname">IO_ENOTEMPTY</code><em class="property"> = 1531</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_ENOTEMPTY" title="Permalink to this definition">¶</a></dt>
2344 <dl class="py attribute">
2345 <dt id="lxml.etree.ErrorTypes.IO_ENOTSOCK">
2346 <code class="sig-name descname">IO_ENOTSOCK</code><em class="property"> = 1550</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_ENOTSOCK" title="Permalink to this definition">¶</a></dt>
2349 <dl class="py attribute">
2350 <dt id="lxml.etree.ErrorTypes.IO_ENOTSUP">
2351 <code class="sig-name descname">IO_ENOTSUP</code><em class="property"> = 1532</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_ENOTSUP" title="Permalink to this definition">¶</a></dt>
2354 <dl class="py attribute">
2355 <dt id="lxml.etree.ErrorTypes.IO_ENOTTY">
2356 <code class="sig-name descname">IO_ENOTTY</code><em class="property"> = 1533</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_ENOTTY" title="Permalink to this definition">¶</a></dt>
2359 <dl class="py attribute">
2360 <dt id="lxml.etree.ErrorTypes.IO_ENXIO">
2361 <code class="sig-name descname">IO_ENXIO</code><em class="property"> = 1534</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_ENXIO" title="Permalink to this definition">¶</a></dt>
2364 <dl class="py attribute">
2365 <dt id="lxml.etree.ErrorTypes.IO_EPERM">
2366 <code class="sig-name descname">IO_EPERM</code><em class="property"> = 1535</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_EPERM" title="Permalink to this definition">¶</a></dt>
2369 <dl class="py attribute">
2370 <dt id="lxml.etree.ErrorTypes.IO_EPIPE">
2371 <code class="sig-name descname">IO_EPIPE</code><em class="property"> = 1536</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_EPIPE" title="Permalink to this definition">¶</a></dt>
2374 <dl class="py attribute">
2375 <dt id="lxml.etree.ErrorTypes.IO_ERANGE">
2376 <code class="sig-name descname">IO_ERANGE</code><em class="property"> = 1537</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_ERANGE" title="Permalink to this definition">¶</a></dt>
2379 <dl class="py attribute">
2380 <dt id="lxml.etree.ErrorTypes.IO_EROFS">
2381 <code class="sig-name descname">IO_EROFS</code><em class="property"> = 1538</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_EROFS" title="Permalink to this definition">¶</a></dt>
2384 <dl class="py attribute">
2385 <dt id="lxml.etree.ErrorTypes.IO_ESPIPE">
2386 <code class="sig-name descname">IO_ESPIPE</code><em class="property"> = 1539</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_ESPIPE" title="Permalink to this definition">¶</a></dt>
2389 <dl class="py attribute">
2390 <dt id="lxml.etree.ErrorTypes.IO_ESRCH">
2391 <code class="sig-name descname">IO_ESRCH</code><em class="property"> = 1540</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_ESRCH" title="Permalink to this definition">¶</a></dt>
2394 <dl class="py attribute">
2395 <dt id="lxml.etree.ErrorTypes.IO_ETIMEDOUT">
2396 <code class="sig-name descname">IO_ETIMEDOUT</code><em class="property"> = 1541</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_ETIMEDOUT" title="Permalink to this definition">¶</a></dt>
2399 <dl class="py attribute">
2400 <dt id="lxml.etree.ErrorTypes.IO_EXDEV">
2401 <code class="sig-name descname">IO_EXDEV</code><em class="property"> = 1542</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_EXDEV" title="Permalink to this definition">¶</a></dt>
2404 <dl class="py attribute">
2405 <dt id="lxml.etree.ErrorTypes.IO_FLUSH">
2406 <code class="sig-name descname">IO_FLUSH</code><em class="property"> = 1545</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_FLUSH" title="Permalink to this definition">¶</a></dt>
2409 <dl class="py attribute">
2410 <dt id="lxml.etree.ErrorTypes.IO_LOAD_ERROR">
2411 <code class="sig-name descname">IO_LOAD_ERROR</code><em class="property"> = 1549</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_LOAD_ERROR" title="Permalink to this definition">¶</a></dt>
2414 <dl class="py attribute">
2415 <dt id="lxml.etree.ErrorTypes.IO_NETWORK_ATTEMPT">
2416 <code class="sig-name descname">IO_NETWORK_ATTEMPT</code><em class="property"> = 1543</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_NETWORK_ATTEMPT" title="Permalink to this definition">¶</a></dt>
2419 <dl class="py attribute">
2420 <dt id="lxml.etree.ErrorTypes.IO_NO_INPUT">
2421 <code class="sig-name descname">IO_NO_INPUT</code><em class="property"> = 1547</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_NO_INPUT" title="Permalink to this definition">¶</a></dt>
2424 <dl class="py attribute">
2425 <dt id="lxml.etree.ErrorTypes.IO_UNKNOWN">
2426 <code class="sig-name descname">IO_UNKNOWN</code><em class="property"> = 1500</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_UNKNOWN" title="Permalink to this definition">¶</a></dt>
2429 <dl class="py attribute">
2430 <dt id="lxml.etree.ErrorTypes.IO_WRITE">
2431 <code class="sig-name descname">IO_WRITE</code><em class="property"> = 1546</em><a class="headerlink" href="#lxml.etree.ErrorTypes.IO_WRITE" title="Permalink to this definition">¶</a></dt>
2434 <dl class="py attribute">
2435 <dt id="lxml.etree.ErrorTypes.MODULE_CLOSE">
2436 <code class="sig-name descname">MODULE_CLOSE</code><em class="property"> = 4901</em><a class="headerlink" href="#lxml.etree.ErrorTypes.MODULE_CLOSE" title="Permalink to this definition">¶</a></dt>
2439 <dl class="py attribute">
2440 <dt id="lxml.etree.ErrorTypes.MODULE_OPEN">
2441 <code class="sig-name descname">MODULE_OPEN</code><em class="property"> = 4900</em><a class="headerlink" href="#lxml.etree.ErrorTypes.MODULE_OPEN" title="Permalink to this definition">¶</a></dt>
2444 <dl class="py attribute">
2445 <dt id="lxml.etree.ErrorTypes.NS_ERR_ATTRIBUTE_REDEFINED">
2446 <code class="sig-name descname">NS_ERR_ATTRIBUTE_REDEFINED</code><em class="property"> = 203</em><a class="headerlink" href="#lxml.etree.ErrorTypes.NS_ERR_ATTRIBUTE_REDEFINED" title="Permalink to this definition">¶</a></dt>
2449 <dl class="py attribute">
2450 <dt id="lxml.etree.ErrorTypes.NS_ERR_COLON">
2451 <code class="sig-name descname">NS_ERR_COLON</code><em class="property"> = 205</em><a class="headerlink" href="#lxml.etree.ErrorTypes.NS_ERR_COLON" title="Permalink to this definition">¶</a></dt>
2454 <dl class="py attribute">
2455 <dt id="lxml.etree.ErrorTypes.NS_ERR_EMPTY">
2456 <code class="sig-name descname">NS_ERR_EMPTY</code><em class="property"> = 204</em><a class="headerlink" href="#lxml.etree.ErrorTypes.NS_ERR_EMPTY" title="Permalink to this definition">¶</a></dt>
2459 <dl class="py attribute">
2460 <dt id="lxml.etree.ErrorTypes.NS_ERR_QNAME">
2461 <code class="sig-name descname">NS_ERR_QNAME</code><em class="property"> = 202</em><a class="headerlink" href="#lxml.etree.ErrorTypes.NS_ERR_QNAME" title="Permalink to this definition">¶</a></dt>
2464 <dl class="py attribute">
2465 <dt id="lxml.etree.ErrorTypes.NS_ERR_UNDEFINED_NAMESPACE">
2466 <code class="sig-name descname">NS_ERR_UNDEFINED_NAMESPACE</code><em class="property"> = 201</em><a class="headerlink" href="#lxml.etree.ErrorTypes.NS_ERR_UNDEFINED_NAMESPACE" title="Permalink to this definition">¶</a></dt>
2469 <dl class="py attribute">
2470 <dt id="lxml.etree.ErrorTypes.NS_ERR_XML_NAMESPACE">
2471 <code class="sig-name descname">NS_ERR_XML_NAMESPACE</code><em class="property"> = 200</em><a class="headerlink" href="#lxml.etree.ErrorTypes.NS_ERR_XML_NAMESPACE" title="Permalink to this definition">¶</a></dt>
2474 <dl class="py attribute">
2475 <dt id="lxml.etree.ErrorTypes.REGEXP_COMPILE_ERROR">
2476 <code class="sig-name descname">REGEXP_COMPILE_ERROR</code><em class="property"> = 1450</em><a class="headerlink" href="#lxml.etree.ErrorTypes.REGEXP_COMPILE_ERROR" title="Permalink to this definition">¶</a></dt>
2479 <dl class="py attribute">
2480 <dt id="lxml.etree.ErrorTypes.RNGP_ANYNAME_ATTR_ANCESTOR">
2481 <code class="sig-name descname">RNGP_ANYNAME_ATTR_ANCESTOR</code><em class="property"> = 1000</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_ANYNAME_ATTR_ANCESTOR" title="Permalink to this definition">¶</a></dt>
2484 <dl class="py attribute">
2485 <dt id="lxml.etree.ErrorTypes.RNGP_ATTRIBUTE_CHILDREN">
2486 <code class="sig-name descname">RNGP_ATTRIBUTE_CHILDREN</code><em class="property"> = 1002</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_ATTRIBUTE_CHILDREN" title="Permalink to this definition">¶</a></dt>
2489 <dl class="py attribute">
2490 <dt id="lxml.etree.ErrorTypes.RNGP_ATTRIBUTE_CONTENT">
2491 <code class="sig-name descname">RNGP_ATTRIBUTE_CONTENT</code><em class="property"> = 1003</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_ATTRIBUTE_CONTENT" title="Permalink to this definition">¶</a></dt>
2494 <dl class="py attribute">
2495 <dt id="lxml.etree.ErrorTypes.RNGP_ATTRIBUTE_EMPTY">
2496 <code class="sig-name descname">RNGP_ATTRIBUTE_EMPTY</code><em class="property"> = 1004</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_ATTRIBUTE_EMPTY" title="Permalink to this definition">¶</a></dt>
2499 <dl class="py attribute">
2500 <dt id="lxml.etree.ErrorTypes.RNGP_ATTRIBUTE_NOOP">
2501 <code class="sig-name descname">RNGP_ATTRIBUTE_NOOP</code><em class="property"> = 1005</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_ATTRIBUTE_NOOP" title="Permalink to this definition">¶</a></dt>
2504 <dl class="py attribute">
2505 <dt id="lxml.etree.ErrorTypes.RNGP_ATTR_CONFLICT">
2506 <code class="sig-name descname">RNGP_ATTR_CONFLICT</code><em class="property"> = 1001</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_ATTR_CONFLICT" title="Permalink to this definition">¶</a></dt>
2509 <dl class="py attribute">
2510 <dt id="lxml.etree.ErrorTypes.RNGP_CHOICE_CONTENT">
2511 <code class="sig-name descname">RNGP_CHOICE_CONTENT</code><em class="property"> = 1006</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_CHOICE_CONTENT" title="Permalink to this definition">¶</a></dt>
2514 <dl class="py attribute">
2515 <dt id="lxml.etree.ErrorTypes.RNGP_CHOICE_EMPTY">
2516 <code class="sig-name descname">RNGP_CHOICE_EMPTY</code><em class="property"> = 1007</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_CHOICE_EMPTY" title="Permalink to this definition">¶</a></dt>
2519 <dl class="py attribute">
2520 <dt id="lxml.etree.ErrorTypes.RNGP_CREATE_FAILURE">
2521 <code class="sig-name descname">RNGP_CREATE_FAILURE</code><em class="property"> = 1008</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_CREATE_FAILURE" title="Permalink to this definition">¶</a></dt>
2524 <dl class="py attribute">
2525 <dt id="lxml.etree.ErrorTypes.RNGP_DATA_CONTENT">
2526 <code class="sig-name descname">RNGP_DATA_CONTENT</code><em class="property"> = 1009</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_DATA_CONTENT" title="Permalink to this definition">¶</a></dt>
2529 <dl class="py attribute">
2530 <dt id="lxml.etree.ErrorTypes.RNGP_DEFINE_CREATE_FAILED">
2531 <code class="sig-name descname">RNGP_DEFINE_CREATE_FAILED</code><em class="property"> = 1011</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_DEFINE_CREATE_FAILED" title="Permalink to this definition">¶</a></dt>
2534 <dl class="py attribute">
2535 <dt id="lxml.etree.ErrorTypes.RNGP_DEFINE_EMPTY">
2536 <code class="sig-name descname">RNGP_DEFINE_EMPTY</code><em class="property"> = 1012</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_DEFINE_EMPTY" title="Permalink to this definition">¶</a></dt>
2539 <dl class="py attribute">
2540 <dt id="lxml.etree.ErrorTypes.RNGP_DEFINE_MISSING">
2541 <code class="sig-name descname">RNGP_DEFINE_MISSING</code><em class="property"> = 1013</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_DEFINE_MISSING" title="Permalink to this definition">¶</a></dt>
2544 <dl class="py attribute">
2545 <dt id="lxml.etree.ErrorTypes.RNGP_DEFINE_NAME_MISSING">
2546 <code class="sig-name descname">RNGP_DEFINE_NAME_MISSING</code><em class="property"> = 1014</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_DEFINE_NAME_MISSING" title="Permalink to this definition">¶</a></dt>
2549 <dl class="py attribute">
2550 <dt id="lxml.etree.ErrorTypes.RNGP_DEF_CHOICE_AND_INTERLEAVE">
2551 <code class="sig-name descname">RNGP_DEF_CHOICE_AND_INTERLEAVE</code><em class="property"> = 1010</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_DEF_CHOICE_AND_INTERLEAVE" title="Permalink to this definition">¶</a></dt>
2554 <dl class="py attribute">
2555 <dt id="lxml.etree.ErrorTypes.RNGP_ELEMENT_CONTENT">
2556 <code class="sig-name descname">RNGP_ELEMENT_CONTENT</code><em class="property"> = 1018</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_ELEMENT_CONTENT" title="Permalink to this definition">¶</a></dt>
2559 <dl class="py attribute">
2560 <dt id="lxml.etree.ErrorTypes.RNGP_ELEMENT_EMPTY">
2561 <code class="sig-name descname">RNGP_ELEMENT_EMPTY</code><em class="property"> = 1017</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_ELEMENT_EMPTY" title="Permalink to this definition">¶</a></dt>
2564 <dl class="py attribute">
2565 <dt id="lxml.etree.ErrorTypes.RNGP_ELEMENT_NAME">
2566 <code class="sig-name descname">RNGP_ELEMENT_NAME</code><em class="property"> = 1019</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_ELEMENT_NAME" title="Permalink to this definition">¶</a></dt>
2569 <dl class="py attribute">
2570 <dt id="lxml.etree.ErrorTypes.RNGP_ELEMENT_NO_CONTENT">
2571 <code class="sig-name descname">RNGP_ELEMENT_NO_CONTENT</code><em class="property"> = 1020</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_ELEMENT_NO_CONTENT" title="Permalink to this definition">¶</a></dt>
2574 <dl class="py attribute">
2575 <dt id="lxml.etree.ErrorTypes.RNGP_ELEM_CONTENT_EMPTY">
2576 <code class="sig-name descname">RNGP_ELEM_CONTENT_EMPTY</code><em class="property"> = 1015</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_ELEM_CONTENT_EMPTY" title="Permalink to this definition">¶</a></dt>
2579 <dl class="py attribute">
2580 <dt id="lxml.etree.ErrorTypes.RNGP_ELEM_CONTENT_ERROR">
2581 <code class="sig-name descname">RNGP_ELEM_CONTENT_ERROR</code><em class="property"> = 1016</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_ELEM_CONTENT_ERROR" title="Permalink to this definition">¶</a></dt>
2584 <dl class="py attribute">
2585 <dt id="lxml.etree.ErrorTypes.RNGP_ELEM_TEXT_CONFLICT">
2586 <code class="sig-name descname">RNGP_ELEM_TEXT_CONFLICT</code><em class="property"> = 1021</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_ELEM_TEXT_CONFLICT" title="Permalink to this definition">¶</a></dt>
2589 <dl class="py attribute">
2590 <dt id="lxml.etree.ErrorTypes.RNGP_EMPTY">
2591 <code class="sig-name descname">RNGP_EMPTY</code><em class="property"> = 1022</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_EMPTY" title="Permalink to this definition">¶</a></dt>
2594 <dl class="py attribute">
2595 <dt id="lxml.etree.ErrorTypes.RNGP_EMPTY_CONSTRUCT">
2596 <code class="sig-name descname">RNGP_EMPTY_CONSTRUCT</code><em class="property"> = 1023</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_EMPTY_CONSTRUCT" title="Permalink to this definition">¶</a></dt>
2599 <dl class="py attribute">
2600 <dt id="lxml.etree.ErrorTypes.RNGP_EMPTY_CONTENT">
2601 <code class="sig-name descname">RNGP_EMPTY_CONTENT</code><em class="property"> = 1024</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_EMPTY_CONTENT" title="Permalink to this definition">¶</a></dt>
2604 <dl class="py attribute">
2605 <dt id="lxml.etree.ErrorTypes.RNGP_EMPTY_NOT_EMPTY">
2606 <code class="sig-name descname">RNGP_EMPTY_NOT_EMPTY</code><em class="property"> = 1025</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_EMPTY_NOT_EMPTY" title="Permalink to this definition">¶</a></dt>
2609 <dl class="py attribute">
2610 <dt id="lxml.etree.ErrorTypes.RNGP_ERROR_TYPE_LIB">
2611 <code class="sig-name descname">RNGP_ERROR_TYPE_LIB</code><em class="property"> = 1026</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_ERROR_TYPE_LIB" title="Permalink to this definition">¶</a></dt>
2614 <dl class="py attribute">
2615 <dt id="lxml.etree.ErrorTypes.RNGP_EXCEPT_EMPTY">
2616 <code class="sig-name descname">RNGP_EXCEPT_EMPTY</code><em class="property"> = 1027</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_EXCEPT_EMPTY" title="Permalink to this definition">¶</a></dt>
2619 <dl class="py attribute">
2620 <dt id="lxml.etree.ErrorTypes.RNGP_EXCEPT_MISSING">
2621 <code class="sig-name descname">RNGP_EXCEPT_MISSING</code><em class="property"> = 1028</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_EXCEPT_MISSING" title="Permalink to this definition">¶</a></dt>
2624 <dl class="py attribute">
2625 <dt id="lxml.etree.ErrorTypes.RNGP_EXCEPT_MULTIPLE">
2626 <code class="sig-name descname">RNGP_EXCEPT_MULTIPLE</code><em class="property"> = 1029</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_EXCEPT_MULTIPLE" title="Permalink to this definition">¶</a></dt>
2629 <dl class="py attribute">
2630 <dt id="lxml.etree.ErrorTypes.RNGP_EXCEPT_NO_CONTENT">
2631 <code class="sig-name descname">RNGP_EXCEPT_NO_CONTENT</code><em class="property"> = 1030</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_EXCEPT_NO_CONTENT" title="Permalink to this definition">¶</a></dt>
2634 <dl class="py attribute">
2635 <dt id="lxml.etree.ErrorTypes.RNGP_EXTERNALREF_EMTPY">
2636 <code class="sig-name descname">RNGP_EXTERNALREF_EMTPY</code><em class="property"> = 1031</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_EXTERNALREF_EMTPY" title="Permalink to this definition">¶</a></dt>
2639 <dl class="py attribute">
2640 <dt id="lxml.etree.ErrorTypes.RNGP_EXTERNALREF_RECURSE">
2641 <code class="sig-name descname">RNGP_EXTERNALREF_RECURSE</code><em class="property"> = 1033</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_EXTERNALREF_RECURSE" title="Permalink to this definition">¶</a></dt>
2644 <dl class="py attribute">
2645 <dt id="lxml.etree.ErrorTypes.RNGP_EXTERNAL_REF_FAILURE">
2646 <code class="sig-name descname">RNGP_EXTERNAL_REF_FAILURE</code><em class="property"> = 1032</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_EXTERNAL_REF_FAILURE" title="Permalink to this definition">¶</a></dt>
2649 <dl class="py attribute">
2650 <dt id="lxml.etree.ErrorTypes.RNGP_FORBIDDEN_ATTRIBUTE">
2651 <code class="sig-name descname">RNGP_FORBIDDEN_ATTRIBUTE</code><em class="property"> = 1034</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_FORBIDDEN_ATTRIBUTE" title="Permalink to this definition">¶</a></dt>
2654 <dl class="py attribute">
2655 <dt id="lxml.etree.ErrorTypes.RNGP_FOREIGN_ELEMENT">
2656 <code class="sig-name descname">RNGP_FOREIGN_ELEMENT</code><em class="property"> = 1035</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_FOREIGN_ELEMENT" title="Permalink to this definition">¶</a></dt>
2659 <dl class="py attribute">
2660 <dt id="lxml.etree.ErrorTypes.RNGP_GRAMMAR_CONTENT">
2661 <code class="sig-name descname">RNGP_GRAMMAR_CONTENT</code><em class="property"> = 1036</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_GRAMMAR_CONTENT" title="Permalink to this definition">¶</a></dt>
2664 <dl class="py attribute">
2665 <dt id="lxml.etree.ErrorTypes.RNGP_GRAMMAR_EMPTY">
2666 <code class="sig-name descname">RNGP_GRAMMAR_EMPTY</code><em class="property"> = 1037</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_GRAMMAR_EMPTY" title="Permalink to this definition">¶</a></dt>
2669 <dl class="py attribute">
2670 <dt id="lxml.etree.ErrorTypes.RNGP_GRAMMAR_MISSING">
2671 <code class="sig-name descname">RNGP_GRAMMAR_MISSING</code><em class="property"> = 1038</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_GRAMMAR_MISSING" title="Permalink to this definition">¶</a></dt>
2674 <dl class="py attribute">
2675 <dt id="lxml.etree.ErrorTypes.RNGP_GRAMMAR_NO_START">
2676 <code class="sig-name descname">RNGP_GRAMMAR_NO_START</code><em class="property"> = 1039</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_GRAMMAR_NO_START" title="Permalink to this definition">¶</a></dt>
2679 <dl class="py attribute">
2680 <dt id="lxml.etree.ErrorTypes.RNGP_GROUP_ATTR_CONFLICT">
2681 <code class="sig-name descname">RNGP_GROUP_ATTR_CONFLICT</code><em class="property"> = 1040</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_GROUP_ATTR_CONFLICT" title="Permalink to this definition">¶</a></dt>
2684 <dl class="py attribute">
2685 <dt id="lxml.etree.ErrorTypes.RNGP_HREF_ERROR">
2686 <code class="sig-name descname">RNGP_HREF_ERROR</code><em class="property"> = 1041</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_HREF_ERROR" title="Permalink to this definition">¶</a></dt>
2689 <dl class="py attribute">
2690 <dt id="lxml.etree.ErrorTypes.RNGP_INCLUDE_EMPTY">
2691 <code class="sig-name descname">RNGP_INCLUDE_EMPTY</code><em class="property"> = 1042</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_INCLUDE_EMPTY" title="Permalink to this definition">¶</a></dt>
2694 <dl class="py attribute">
2695 <dt id="lxml.etree.ErrorTypes.RNGP_INCLUDE_FAILURE">
2696 <code class="sig-name descname">RNGP_INCLUDE_FAILURE</code><em class="property"> = 1043</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_INCLUDE_FAILURE" title="Permalink to this definition">¶</a></dt>
2699 <dl class="py attribute">
2700 <dt id="lxml.etree.ErrorTypes.RNGP_INCLUDE_RECURSE">
2701 <code class="sig-name descname">RNGP_INCLUDE_RECURSE</code><em class="property"> = 1044</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_INCLUDE_RECURSE" title="Permalink to this definition">¶</a></dt>
2704 <dl class="py attribute">
2705 <dt id="lxml.etree.ErrorTypes.RNGP_INTERLEAVE_ADD">
2706 <code class="sig-name descname">RNGP_INTERLEAVE_ADD</code><em class="property"> = 1045</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_INTERLEAVE_ADD" title="Permalink to this definition">¶</a></dt>
2709 <dl class="py attribute">
2710 <dt id="lxml.etree.ErrorTypes.RNGP_INTERLEAVE_CREATE_FAILED">
2711 <code class="sig-name descname">RNGP_INTERLEAVE_CREATE_FAILED</code><em class="property"> = 1046</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_INTERLEAVE_CREATE_FAILED" title="Permalink to this definition">¶</a></dt>
2714 <dl class="py attribute">
2715 <dt id="lxml.etree.ErrorTypes.RNGP_INTERLEAVE_EMPTY">
2716 <code class="sig-name descname">RNGP_INTERLEAVE_EMPTY</code><em class="property"> = 1047</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_INTERLEAVE_EMPTY" title="Permalink to this definition">¶</a></dt>
2719 <dl class="py attribute">
2720 <dt id="lxml.etree.ErrorTypes.RNGP_INTERLEAVE_NO_CONTENT">
2721 <code class="sig-name descname">RNGP_INTERLEAVE_NO_CONTENT</code><em class="property"> = 1048</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_INTERLEAVE_NO_CONTENT" title="Permalink to this definition">¶</a></dt>
2724 <dl class="py attribute">
2725 <dt id="lxml.etree.ErrorTypes.RNGP_INVALID_DEFINE_NAME">
2726 <code class="sig-name descname">RNGP_INVALID_DEFINE_NAME</code><em class="property"> = 1049</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_INVALID_DEFINE_NAME" title="Permalink to this definition">¶</a></dt>
2729 <dl class="py attribute">
2730 <dt id="lxml.etree.ErrorTypes.RNGP_INVALID_URI">
2731 <code class="sig-name descname">RNGP_INVALID_URI</code><em class="property"> = 1050</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_INVALID_URI" title="Permalink to this definition">¶</a></dt>
2734 <dl class="py attribute">
2735 <dt id="lxml.etree.ErrorTypes.RNGP_INVALID_VALUE">
2736 <code class="sig-name descname">RNGP_INVALID_VALUE</code><em class="property"> = 1051</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_INVALID_VALUE" title="Permalink to this definition">¶</a></dt>
2739 <dl class="py attribute">
2740 <dt id="lxml.etree.ErrorTypes.RNGP_MISSING_HREF">
2741 <code class="sig-name descname">RNGP_MISSING_HREF</code><em class="property"> = 1052</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_MISSING_HREF" title="Permalink to this definition">¶</a></dt>
2744 <dl class="py attribute">
2745 <dt id="lxml.etree.ErrorTypes.RNGP_NAME_MISSING">
2746 <code class="sig-name descname">RNGP_NAME_MISSING</code><em class="property"> = 1053</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_NAME_MISSING" title="Permalink to this definition">¶</a></dt>
2749 <dl class="py attribute">
2750 <dt id="lxml.etree.ErrorTypes.RNGP_NEED_COMBINE">
2751 <code class="sig-name descname">RNGP_NEED_COMBINE</code><em class="property"> = 1054</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_NEED_COMBINE" title="Permalink to this definition">¶</a></dt>
2754 <dl class="py attribute">
2755 <dt id="lxml.etree.ErrorTypes.RNGP_NOTALLOWED_NOT_EMPTY">
2756 <code class="sig-name descname">RNGP_NOTALLOWED_NOT_EMPTY</code><em class="property"> = 1055</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_NOTALLOWED_NOT_EMPTY" title="Permalink to this definition">¶</a></dt>
2759 <dl class="py attribute">
2760 <dt id="lxml.etree.ErrorTypes.RNGP_NSNAME_ATTR_ANCESTOR">
2761 <code class="sig-name descname">RNGP_NSNAME_ATTR_ANCESTOR</code><em class="property"> = 1056</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_NSNAME_ATTR_ANCESTOR" title="Permalink to this definition">¶</a></dt>
2764 <dl class="py attribute">
2765 <dt id="lxml.etree.ErrorTypes.RNGP_NSNAME_NO_NS">
2766 <code class="sig-name descname">RNGP_NSNAME_NO_NS</code><em class="property"> = 1057</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_NSNAME_NO_NS" title="Permalink to this definition">¶</a></dt>
2769 <dl class="py attribute">
2770 <dt id="lxml.etree.ErrorTypes.RNGP_PARAM_FORBIDDEN">
2771 <code class="sig-name descname">RNGP_PARAM_FORBIDDEN</code><em class="property"> = 1058</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_PARAM_FORBIDDEN" title="Permalink to this definition">¶</a></dt>
2774 <dl class="py attribute">
2775 <dt id="lxml.etree.ErrorTypes.RNGP_PARAM_NAME_MISSING">
2776 <code class="sig-name descname">RNGP_PARAM_NAME_MISSING</code><em class="property"> = 1059</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_PARAM_NAME_MISSING" title="Permalink to this definition">¶</a></dt>
2779 <dl class="py attribute">
2780 <dt id="lxml.etree.ErrorTypes.RNGP_PARENTREF_CREATE_FAILED">
2781 <code class="sig-name descname">RNGP_PARENTREF_CREATE_FAILED</code><em class="property"> = 1060</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_PARENTREF_CREATE_FAILED" title="Permalink to this definition">¶</a></dt>
2784 <dl class="py attribute">
2785 <dt id="lxml.etree.ErrorTypes.RNGP_PARENTREF_NAME_INVALID">
2786 <code class="sig-name descname">RNGP_PARENTREF_NAME_INVALID</code><em class="property"> = 1061</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_PARENTREF_NAME_INVALID" title="Permalink to this definition">¶</a></dt>
2789 <dl class="py attribute">
2790 <dt id="lxml.etree.ErrorTypes.RNGP_PARENTREF_NOT_EMPTY">
2791 <code class="sig-name descname">RNGP_PARENTREF_NOT_EMPTY</code><em class="property"> = 1064</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_PARENTREF_NOT_EMPTY" title="Permalink to this definition">¶</a></dt>
2794 <dl class="py attribute">
2795 <dt id="lxml.etree.ErrorTypes.RNGP_PARENTREF_NO_NAME">
2796 <code class="sig-name descname">RNGP_PARENTREF_NO_NAME</code><em class="property"> = 1062</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_PARENTREF_NO_NAME" title="Permalink to this definition">¶</a></dt>
2799 <dl class="py attribute">
2800 <dt id="lxml.etree.ErrorTypes.RNGP_PARENTREF_NO_PARENT">
2801 <code class="sig-name descname">RNGP_PARENTREF_NO_PARENT</code><em class="property"> = 1063</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_PARENTREF_NO_PARENT" title="Permalink to this definition">¶</a></dt>
2804 <dl class="py attribute">
2805 <dt id="lxml.etree.ErrorTypes.RNGP_PARSE_ERROR">
2806 <code class="sig-name descname">RNGP_PARSE_ERROR</code><em class="property"> = 1065</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_PARSE_ERROR" title="Permalink to this definition">¶</a></dt>
2809 <dl class="py attribute">
2810 <dt id="lxml.etree.ErrorTypes.RNGP_PAT_ANYNAME_EXCEPT_ANYNAME">
2811 <code class="sig-name descname">RNGP_PAT_ANYNAME_EXCEPT_ANYNAME</code><em class="property"> = 1066</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_PAT_ANYNAME_EXCEPT_ANYNAME" title="Permalink to this definition">¶</a></dt>
2814 <dl class="py attribute">
2815 <dt id="lxml.etree.ErrorTypes.RNGP_PAT_ATTR_ATTR">
2816 <code class="sig-name descname">RNGP_PAT_ATTR_ATTR</code><em class="property"> = 1067</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_PAT_ATTR_ATTR" title="Permalink to this definition">¶</a></dt>
2819 <dl class="py attribute">
2820 <dt id="lxml.etree.ErrorTypes.RNGP_PAT_ATTR_ELEM">
2821 <code class="sig-name descname">RNGP_PAT_ATTR_ELEM</code><em class="property"> = 1068</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_PAT_ATTR_ELEM" title="Permalink to this definition">¶</a></dt>
2824 <dl class="py attribute">
2825 <dt id="lxml.etree.ErrorTypes.RNGP_PAT_DATA_EXCEPT_ATTR">
2826 <code class="sig-name descname">RNGP_PAT_DATA_EXCEPT_ATTR</code><em class="property"> = 1069</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_PAT_DATA_EXCEPT_ATTR" title="Permalink to this definition">¶</a></dt>
2829 <dl class="py attribute">
2830 <dt id="lxml.etree.ErrorTypes.RNGP_PAT_DATA_EXCEPT_ELEM">
2831 <code class="sig-name descname">RNGP_PAT_DATA_EXCEPT_ELEM</code><em class="property"> = 1070</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_PAT_DATA_EXCEPT_ELEM" title="Permalink to this definition">¶</a></dt>
2834 <dl class="py attribute">
2835 <dt id="lxml.etree.ErrorTypes.RNGP_PAT_DATA_EXCEPT_EMPTY">
2836 <code class="sig-name descname">RNGP_PAT_DATA_EXCEPT_EMPTY</code><em class="property"> = 1071</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_PAT_DATA_EXCEPT_EMPTY" title="Permalink to this definition">¶</a></dt>
2839 <dl class="py attribute">
2840 <dt id="lxml.etree.ErrorTypes.RNGP_PAT_DATA_EXCEPT_GROUP">
2841 <code class="sig-name descname">RNGP_PAT_DATA_EXCEPT_GROUP</code><em class="property"> = 1072</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_PAT_DATA_EXCEPT_GROUP" title="Permalink to this definition">¶</a></dt>
2844 <dl class="py attribute">
2845 <dt id="lxml.etree.ErrorTypes.RNGP_PAT_DATA_EXCEPT_INTERLEAVE">
2846 <code class="sig-name descname">RNGP_PAT_DATA_EXCEPT_INTERLEAVE</code><em class="property"> = 1073</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_PAT_DATA_EXCEPT_INTERLEAVE" title="Permalink to this definition">¶</a></dt>
2849 <dl class="py attribute">
2850 <dt id="lxml.etree.ErrorTypes.RNGP_PAT_DATA_EXCEPT_LIST">
2851 <code class="sig-name descname">RNGP_PAT_DATA_EXCEPT_LIST</code><em class="property"> = 1074</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_PAT_DATA_EXCEPT_LIST" title="Permalink to this definition">¶</a></dt>
2854 <dl class="py attribute">
2855 <dt id="lxml.etree.ErrorTypes.RNGP_PAT_DATA_EXCEPT_ONEMORE">
2856 <code class="sig-name descname">RNGP_PAT_DATA_EXCEPT_ONEMORE</code><em class="property"> = 1075</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_PAT_DATA_EXCEPT_ONEMORE" title="Permalink to this definition">¶</a></dt>
2859 <dl class="py attribute">
2860 <dt id="lxml.etree.ErrorTypes.RNGP_PAT_DATA_EXCEPT_REF">
2861 <code class="sig-name descname">RNGP_PAT_DATA_EXCEPT_REF</code><em class="property"> = 1076</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_PAT_DATA_EXCEPT_REF" title="Permalink to this definition">¶</a></dt>
2864 <dl class="py attribute">
2865 <dt id="lxml.etree.ErrorTypes.RNGP_PAT_DATA_EXCEPT_TEXT">
2866 <code class="sig-name descname">RNGP_PAT_DATA_EXCEPT_TEXT</code><em class="property"> = 1077</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_PAT_DATA_EXCEPT_TEXT" title="Permalink to this definition">¶</a></dt>
2869 <dl class="py attribute">
2870 <dt id="lxml.etree.ErrorTypes.RNGP_PAT_LIST_ATTR">
2871 <code class="sig-name descname">RNGP_PAT_LIST_ATTR</code><em class="property"> = 1078</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_PAT_LIST_ATTR" title="Permalink to this definition">¶</a></dt>
2874 <dl class="py attribute">
2875 <dt id="lxml.etree.ErrorTypes.RNGP_PAT_LIST_ELEM">
2876 <code class="sig-name descname">RNGP_PAT_LIST_ELEM</code><em class="property"> = 1079</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_PAT_LIST_ELEM" title="Permalink to this definition">¶</a></dt>
2879 <dl class="py attribute">
2880 <dt id="lxml.etree.ErrorTypes.RNGP_PAT_LIST_INTERLEAVE">
2881 <code class="sig-name descname">RNGP_PAT_LIST_INTERLEAVE</code><em class="property"> = 1080</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_PAT_LIST_INTERLEAVE" title="Permalink to this definition">¶</a></dt>
2884 <dl class="py attribute">
2885 <dt id="lxml.etree.ErrorTypes.RNGP_PAT_LIST_LIST">
2886 <code class="sig-name descname">RNGP_PAT_LIST_LIST</code><em class="property"> = 1081</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_PAT_LIST_LIST" title="Permalink to this definition">¶</a></dt>
2889 <dl class="py attribute">
2890 <dt id="lxml.etree.ErrorTypes.RNGP_PAT_LIST_REF">
2891 <code class="sig-name descname">RNGP_PAT_LIST_REF</code><em class="property"> = 1082</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_PAT_LIST_REF" title="Permalink to this definition">¶</a></dt>
2894 <dl class="py attribute">
2895 <dt id="lxml.etree.ErrorTypes.RNGP_PAT_LIST_TEXT">
2896 <code class="sig-name descname">RNGP_PAT_LIST_TEXT</code><em class="property"> = 1083</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_PAT_LIST_TEXT" title="Permalink to this definition">¶</a></dt>
2899 <dl class="py attribute">
2900 <dt id="lxml.etree.ErrorTypes.RNGP_PAT_NSNAME_EXCEPT_ANYNAME">
2901 <code class="sig-name descname">RNGP_PAT_NSNAME_EXCEPT_ANYNAME</code><em class="property"> = 1084</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_PAT_NSNAME_EXCEPT_ANYNAME" title="Permalink to this definition">¶</a></dt>
2904 <dl class="py attribute">
2905 <dt id="lxml.etree.ErrorTypes.RNGP_PAT_NSNAME_EXCEPT_NSNAME">
2906 <code class="sig-name descname">RNGP_PAT_NSNAME_EXCEPT_NSNAME</code><em class="property"> = 1085</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_PAT_NSNAME_EXCEPT_NSNAME" title="Permalink to this definition">¶</a></dt>
2909 <dl class="py attribute">
2910 <dt id="lxml.etree.ErrorTypes.RNGP_PAT_ONEMORE_GROUP_ATTR">
2911 <code class="sig-name descname">RNGP_PAT_ONEMORE_GROUP_ATTR</code><em class="property"> = 1086</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_PAT_ONEMORE_GROUP_ATTR" title="Permalink to this definition">¶</a></dt>
2914 <dl class="py attribute">
2915 <dt id="lxml.etree.ErrorTypes.RNGP_PAT_ONEMORE_INTERLEAVE_ATTR">
2916 <code class="sig-name descname">RNGP_PAT_ONEMORE_INTERLEAVE_ATTR</code><em class="property"> = 1087</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_PAT_ONEMORE_INTERLEAVE_ATTR" title="Permalink to this definition">¶</a></dt>
2919 <dl class="py attribute">
2920 <dt id="lxml.etree.ErrorTypes.RNGP_PAT_START_ATTR">
2921 <code class="sig-name descname">RNGP_PAT_START_ATTR</code><em class="property"> = 1088</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_PAT_START_ATTR" title="Permalink to this definition">¶</a></dt>
2924 <dl class="py attribute">
2925 <dt id="lxml.etree.ErrorTypes.RNGP_PAT_START_DATA">
2926 <code class="sig-name descname">RNGP_PAT_START_DATA</code><em class="property"> = 1089</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_PAT_START_DATA" title="Permalink to this definition">¶</a></dt>
2929 <dl class="py attribute">
2930 <dt id="lxml.etree.ErrorTypes.RNGP_PAT_START_EMPTY">
2931 <code class="sig-name descname">RNGP_PAT_START_EMPTY</code><em class="property"> = 1090</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_PAT_START_EMPTY" title="Permalink to this definition">¶</a></dt>
2934 <dl class="py attribute">
2935 <dt id="lxml.etree.ErrorTypes.RNGP_PAT_START_GROUP">
2936 <code class="sig-name descname">RNGP_PAT_START_GROUP</code><em class="property"> = 1091</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_PAT_START_GROUP" title="Permalink to this definition">¶</a></dt>
2939 <dl class="py attribute">
2940 <dt id="lxml.etree.ErrorTypes.RNGP_PAT_START_INTERLEAVE">
2941 <code class="sig-name descname">RNGP_PAT_START_INTERLEAVE</code><em class="property"> = 1092</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_PAT_START_INTERLEAVE" title="Permalink to this definition">¶</a></dt>
2944 <dl class="py attribute">
2945 <dt id="lxml.etree.ErrorTypes.RNGP_PAT_START_LIST">
2946 <code class="sig-name descname">RNGP_PAT_START_LIST</code><em class="property"> = 1093</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_PAT_START_LIST" title="Permalink to this definition">¶</a></dt>
2949 <dl class="py attribute">
2950 <dt id="lxml.etree.ErrorTypes.RNGP_PAT_START_ONEMORE">
2951 <code class="sig-name descname">RNGP_PAT_START_ONEMORE</code><em class="property"> = 1094</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_PAT_START_ONEMORE" title="Permalink to this definition">¶</a></dt>
2954 <dl class="py attribute">
2955 <dt id="lxml.etree.ErrorTypes.RNGP_PAT_START_TEXT">
2956 <code class="sig-name descname">RNGP_PAT_START_TEXT</code><em class="property"> = 1095</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_PAT_START_TEXT" title="Permalink to this definition">¶</a></dt>
2959 <dl class="py attribute">
2960 <dt id="lxml.etree.ErrorTypes.RNGP_PAT_START_VALUE">
2961 <code class="sig-name descname">RNGP_PAT_START_VALUE</code><em class="property"> = 1096</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_PAT_START_VALUE" title="Permalink to this definition">¶</a></dt>
2964 <dl class="py attribute">
2965 <dt id="lxml.etree.ErrorTypes.RNGP_PREFIX_UNDEFINED">
2966 <code class="sig-name descname">RNGP_PREFIX_UNDEFINED</code><em class="property"> = 1097</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_PREFIX_UNDEFINED" title="Permalink to this definition">¶</a></dt>
2969 <dl class="py attribute">
2970 <dt id="lxml.etree.ErrorTypes.RNGP_REF_CREATE_FAILED">
2971 <code class="sig-name descname">RNGP_REF_CREATE_FAILED</code><em class="property"> = 1098</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_REF_CREATE_FAILED" title="Permalink to this definition">¶</a></dt>
2974 <dl class="py attribute">
2975 <dt id="lxml.etree.ErrorTypes.RNGP_REF_CYCLE">
2976 <code class="sig-name descname">RNGP_REF_CYCLE</code><em class="property"> = 1099</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_REF_CYCLE" title="Permalink to this definition">¶</a></dt>
2979 <dl class="py attribute">
2980 <dt id="lxml.etree.ErrorTypes.RNGP_REF_NAME_INVALID">
2981 <code class="sig-name descname">RNGP_REF_NAME_INVALID</code><em class="property"> = 1100</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_REF_NAME_INVALID" title="Permalink to this definition">¶</a></dt>
2984 <dl class="py attribute">
2985 <dt id="lxml.etree.ErrorTypes.RNGP_REF_NOT_EMPTY">
2986 <code class="sig-name descname">RNGP_REF_NOT_EMPTY</code><em class="property"> = 1103</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_REF_NOT_EMPTY" title="Permalink to this definition">¶</a></dt>
2989 <dl class="py attribute">
2990 <dt id="lxml.etree.ErrorTypes.RNGP_REF_NO_DEF">
2991 <code class="sig-name descname">RNGP_REF_NO_DEF</code><em class="property"> = 1101</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_REF_NO_DEF" title="Permalink to this definition">¶</a></dt>
2994 <dl class="py attribute">
2995 <dt id="lxml.etree.ErrorTypes.RNGP_REF_NO_NAME">
2996 <code class="sig-name descname">RNGP_REF_NO_NAME</code><em class="property"> = 1102</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_REF_NO_NAME" title="Permalink to this definition">¶</a></dt>
2999 <dl class="py attribute">
3000 <dt id="lxml.etree.ErrorTypes.RNGP_START_CHOICE_AND_INTERLEAVE">
3001 <code class="sig-name descname">RNGP_START_CHOICE_AND_INTERLEAVE</code><em class="property"> = 1104</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_START_CHOICE_AND_INTERLEAVE" title="Permalink to this definition">¶</a></dt>
3004 <dl class="py attribute">
3005 <dt id="lxml.etree.ErrorTypes.RNGP_START_CONTENT">
3006 <code class="sig-name descname">RNGP_START_CONTENT</code><em class="property"> = 1105</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_START_CONTENT" title="Permalink to this definition">¶</a></dt>
3009 <dl class="py attribute">
3010 <dt id="lxml.etree.ErrorTypes.RNGP_START_EMPTY">
3011 <code class="sig-name descname">RNGP_START_EMPTY</code><em class="property"> = 1106</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_START_EMPTY" title="Permalink to this definition">¶</a></dt>
3014 <dl class="py attribute">
3015 <dt id="lxml.etree.ErrorTypes.RNGP_START_MISSING">
3016 <code class="sig-name descname">RNGP_START_MISSING</code><em class="property"> = 1107</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_START_MISSING" title="Permalink to this definition">¶</a></dt>
3019 <dl class="py attribute">
3020 <dt id="lxml.etree.ErrorTypes.RNGP_TEXT_EXPECTED">
3021 <code class="sig-name descname">RNGP_TEXT_EXPECTED</code><em class="property"> = 1108</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_TEXT_EXPECTED" title="Permalink to this definition">¶</a></dt>
3024 <dl class="py attribute">
3025 <dt id="lxml.etree.ErrorTypes.RNGP_TEXT_HAS_CHILD">
3026 <code class="sig-name descname">RNGP_TEXT_HAS_CHILD</code><em class="property"> = 1109</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_TEXT_HAS_CHILD" title="Permalink to this definition">¶</a></dt>
3029 <dl class="py attribute">
3030 <dt id="lxml.etree.ErrorTypes.RNGP_TYPE_MISSING">
3031 <code class="sig-name descname">RNGP_TYPE_MISSING</code><em class="property"> = 1110</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_TYPE_MISSING" title="Permalink to this definition">¶</a></dt>
3034 <dl class="py attribute">
3035 <dt id="lxml.etree.ErrorTypes.RNGP_TYPE_NOT_FOUND">
3036 <code class="sig-name descname">RNGP_TYPE_NOT_FOUND</code><em class="property"> = 1111</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_TYPE_NOT_FOUND" title="Permalink to this definition">¶</a></dt>
3039 <dl class="py attribute">
3040 <dt id="lxml.etree.ErrorTypes.RNGP_TYPE_VALUE">
3041 <code class="sig-name descname">RNGP_TYPE_VALUE</code><em class="property"> = 1112</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_TYPE_VALUE" title="Permalink to this definition">¶</a></dt>
3044 <dl class="py attribute">
3045 <dt id="lxml.etree.ErrorTypes.RNGP_UNKNOWN_ATTRIBUTE">
3046 <code class="sig-name descname">RNGP_UNKNOWN_ATTRIBUTE</code><em class="property"> = 1113</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_UNKNOWN_ATTRIBUTE" title="Permalink to this definition">¶</a></dt>
3049 <dl class="py attribute">
3050 <dt id="lxml.etree.ErrorTypes.RNGP_UNKNOWN_COMBINE">
3051 <code class="sig-name descname">RNGP_UNKNOWN_COMBINE</code><em class="property"> = 1114</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_UNKNOWN_COMBINE" title="Permalink to this definition">¶</a></dt>
3054 <dl class="py attribute">
3055 <dt id="lxml.etree.ErrorTypes.RNGP_UNKNOWN_CONSTRUCT">
3056 <code class="sig-name descname">RNGP_UNKNOWN_CONSTRUCT</code><em class="property"> = 1115</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_UNKNOWN_CONSTRUCT" title="Permalink to this definition">¶</a></dt>
3059 <dl class="py attribute">
3060 <dt id="lxml.etree.ErrorTypes.RNGP_UNKNOWN_TYPE_LIB">
3061 <code class="sig-name descname">RNGP_UNKNOWN_TYPE_LIB</code><em class="property"> = 1116</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_UNKNOWN_TYPE_LIB" title="Permalink to this definition">¶</a></dt>
3064 <dl class="py attribute">
3065 <dt id="lxml.etree.ErrorTypes.RNGP_URI_FRAGMENT">
3066 <code class="sig-name descname">RNGP_URI_FRAGMENT</code><em class="property"> = 1117</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_URI_FRAGMENT" title="Permalink to this definition">¶</a></dt>
3069 <dl class="py attribute">
3070 <dt id="lxml.etree.ErrorTypes.RNGP_URI_NOT_ABSOLUTE">
3071 <code class="sig-name descname">RNGP_URI_NOT_ABSOLUTE</code><em class="property"> = 1118</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_URI_NOT_ABSOLUTE" title="Permalink to this definition">¶</a></dt>
3074 <dl class="py attribute">
3075 <dt id="lxml.etree.ErrorTypes.RNGP_VALUE_EMPTY">
3076 <code class="sig-name descname">RNGP_VALUE_EMPTY</code><em class="property"> = 1119</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_VALUE_EMPTY" title="Permalink to this definition">¶</a></dt>
3079 <dl class="py attribute">
3080 <dt id="lxml.etree.ErrorTypes.RNGP_VALUE_NO_CONTENT">
3081 <code class="sig-name descname">RNGP_VALUE_NO_CONTENT</code><em class="property"> = 1120</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_VALUE_NO_CONTENT" title="Permalink to this definition">¶</a></dt>
3084 <dl class="py attribute">
3085 <dt id="lxml.etree.ErrorTypes.RNGP_XMLNS_NAME">
3086 <code class="sig-name descname">RNGP_XMLNS_NAME</code><em class="property"> = 1121</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_XMLNS_NAME" title="Permalink to this definition">¶</a></dt>
3089 <dl class="py attribute">
3090 <dt id="lxml.etree.ErrorTypes.RNGP_XML_NS">
3091 <code class="sig-name descname">RNGP_XML_NS</code><em class="property"> = 1122</em><a class="headerlink" href="#lxml.etree.ErrorTypes.RNGP_XML_NS" title="Permalink to this definition">¶</a></dt>
3094 <dl class="py attribute">
3095 <dt id="lxml.etree.ErrorTypes.SAVE_CHAR_INVALID">
3096 <code class="sig-name descname">SAVE_CHAR_INVALID</code><em class="property"> = 1401</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SAVE_CHAR_INVALID" title="Permalink to this definition">¶</a></dt>
3099 <dl class="py attribute">
3100 <dt id="lxml.etree.ErrorTypes.SAVE_NOT_UTF8">
3101 <code class="sig-name descname">SAVE_NOT_UTF8</code><em class="property"> = 1400</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SAVE_NOT_UTF8" title="Permalink to this definition">¶</a></dt>
3104 <dl class="py attribute">
3105 <dt id="lxml.etree.ErrorTypes.SAVE_NO_DOCTYPE">
3106 <code class="sig-name descname">SAVE_NO_DOCTYPE</code><em class="property"> = 1402</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SAVE_NO_DOCTYPE" title="Permalink to this definition">¶</a></dt>
3109 <dl class="py attribute">
3110 <dt id="lxml.etree.ErrorTypes.SAVE_UNKNOWN_ENCODING">
3111 <code class="sig-name descname">SAVE_UNKNOWN_ENCODING</code><em class="property"> = 1403</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SAVE_UNKNOWN_ENCODING" title="Permalink to this definition">¶</a></dt>
3114 <dl class="py attribute">
3115 <dt id="lxml.etree.ErrorTypes.SCHEMAP_AG_PROPS_CORRECT">
3116 <code class="sig-name descname">SCHEMAP_AG_PROPS_CORRECT</code><em class="property"> = 3087</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_AG_PROPS_CORRECT" title="Permalink to this definition">¶</a></dt>
3119 <dl class="py attribute">
3120 <dt id="lxml.etree.ErrorTypes.SCHEMAP_ATTRFORMDEFAULT_VALUE">
3121 <code class="sig-name descname">SCHEMAP_ATTRFORMDEFAULT_VALUE</code><em class="property"> = 1701</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_ATTRFORMDEFAULT_VALUE" title="Permalink to this definition">¶</a></dt>
3124 <dl class="py attribute">
3125 <dt id="lxml.etree.ErrorTypes.SCHEMAP_ATTRGRP_NONAME_NOREF">
3126 <code class="sig-name descname">SCHEMAP_ATTRGRP_NONAME_NOREF</code><em class="property"> = 1702</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_ATTRGRP_NONAME_NOREF" title="Permalink to this definition">¶</a></dt>
3129 <dl class="py attribute">
3130 <dt id="lxml.etree.ErrorTypes.SCHEMAP_ATTR_NONAME_NOREF">
3131 <code class="sig-name descname">SCHEMAP_ATTR_NONAME_NOREF</code><em class="property"> = 1703</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_ATTR_NONAME_NOREF" title="Permalink to this definition">¶</a></dt>
3134 <dl class="py attribute">
3135 <dt id="lxml.etree.ErrorTypes.SCHEMAP_AU_PROPS_CORRECT">
3136 <code class="sig-name descname">SCHEMAP_AU_PROPS_CORRECT</code><em class="property"> = 3089</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_AU_PROPS_CORRECT" title="Permalink to this definition">¶</a></dt>
3139 <dl class="py attribute">
3140 <dt id="lxml.etree.ErrorTypes.SCHEMAP_AU_PROPS_CORRECT_2">
3141 <code class="sig-name descname">SCHEMAP_AU_PROPS_CORRECT_2</code><em class="property"> = 3078</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_AU_PROPS_CORRECT_2" title="Permalink to this definition">¶</a></dt>
3144 <dl class="py attribute">
3145 <dt id="lxml.etree.ErrorTypes.SCHEMAP_A_PROPS_CORRECT_2">
3146 <code class="sig-name descname">SCHEMAP_A_PROPS_CORRECT_2</code><em class="property"> = 3079</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_A_PROPS_CORRECT_2" title="Permalink to this definition">¶</a></dt>
3149 <dl class="py attribute">
3150 <dt id="lxml.etree.ErrorTypes.SCHEMAP_A_PROPS_CORRECT_3">
3151 <code class="sig-name descname">SCHEMAP_A_PROPS_CORRECT_3</code><em class="property"> = 3090</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_A_PROPS_CORRECT_3" title="Permalink to this definition">¶</a></dt>
3154 <dl class="py attribute">
3155 <dt id="lxml.etree.ErrorTypes.SCHEMAP_COMPLEXTYPE_NONAME_NOREF">
3156 <code class="sig-name descname">SCHEMAP_COMPLEXTYPE_NONAME_NOREF</code><em class="property"> = 1704</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_COMPLEXTYPE_NONAME_NOREF" title="Permalink to this definition">¶</a></dt>
3159 <dl class="py attribute">
3160 <dt id="lxml.etree.ErrorTypes.SCHEMAP_COS_ALL_LIMITED">
3161 <code class="sig-name descname">SCHEMAP_COS_ALL_LIMITED</code><em class="property"> = 3091</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_COS_ALL_LIMITED" title="Permalink to this definition">¶</a></dt>
3164 <dl class="py attribute">
3165 <dt id="lxml.etree.ErrorTypes.SCHEMAP_COS_CT_EXTENDS_1_1">
3166 <code class="sig-name descname">SCHEMAP_COS_CT_EXTENDS_1_1</code><em class="property"> = 3063</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_COS_CT_EXTENDS_1_1" title="Permalink to this definition">¶</a></dt>
3169 <dl class="py attribute">
3170 <dt id="lxml.etree.ErrorTypes.SCHEMAP_COS_CT_EXTENDS_1_2">
3171 <code class="sig-name descname">SCHEMAP_COS_CT_EXTENDS_1_2</code><em class="property"> = 3088</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_COS_CT_EXTENDS_1_2" title="Permalink to this definition">¶</a></dt>
3174 <dl class="py attribute">
3175 <dt id="lxml.etree.ErrorTypes.SCHEMAP_COS_CT_EXTENDS_1_3">
3176 <code class="sig-name descname">SCHEMAP_COS_CT_EXTENDS_1_3</code><em class="property"> = 1800</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_COS_CT_EXTENDS_1_3" title="Permalink to this definition">¶</a></dt>
3179 <dl class="py attribute">
3180 <dt id="lxml.etree.ErrorTypes.SCHEMAP_COS_ST_DERIVED_OK_2_1">
3181 <code class="sig-name descname">SCHEMAP_COS_ST_DERIVED_OK_2_1</code><em class="property"> = 3031</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_COS_ST_DERIVED_OK_2_1" title="Permalink to this definition">¶</a></dt>
3184 <dl class="py attribute">
3185 <dt id="lxml.etree.ErrorTypes.SCHEMAP_COS_ST_DERIVED_OK_2_2">
3186 <code class="sig-name descname">SCHEMAP_COS_ST_DERIVED_OK_2_2</code><em class="property"> = 3032</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_COS_ST_DERIVED_OK_2_2" title="Permalink to this definition">¶</a></dt>
3189 <dl class="py attribute">
3190 <dt id="lxml.etree.ErrorTypes.SCHEMAP_COS_ST_RESTRICTS_1_1">
3191 <code class="sig-name descname">SCHEMAP_COS_ST_RESTRICTS_1_1</code><em class="property"> = 3011</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_COS_ST_RESTRICTS_1_1" title="Permalink to this definition">¶</a></dt>
3194 <dl class="py attribute">
3195 <dt id="lxml.etree.ErrorTypes.SCHEMAP_COS_ST_RESTRICTS_1_2">
3196 <code class="sig-name descname">SCHEMAP_COS_ST_RESTRICTS_1_2</code><em class="property"> = 3012</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_COS_ST_RESTRICTS_1_2" title="Permalink to this definition">¶</a></dt>
3199 <dl class="py attribute">
3200 <dt id="lxml.etree.ErrorTypes.SCHEMAP_COS_ST_RESTRICTS_1_3_1">
3201 <code class="sig-name descname">SCHEMAP_COS_ST_RESTRICTS_1_3_1</code><em class="property"> = 3013</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_COS_ST_RESTRICTS_1_3_1" title="Permalink to this definition">¶</a></dt>
3204 <dl class="py attribute">
3205 <dt id="lxml.etree.ErrorTypes.SCHEMAP_COS_ST_RESTRICTS_1_3_2">
3206 <code class="sig-name descname">SCHEMAP_COS_ST_RESTRICTS_1_3_2</code><em class="property"> = 3014</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_COS_ST_RESTRICTS_1_3_2" title="Permalink to this definition">¶</a></dt>
3209 <dl class="py attribute">
3210 <dt id="lxml.etree.ErrorTypes.SCHEMAP_COS_ST_RESTRICTS_2_1">
3211 <code class="sig-name descname">SCHEMAP_COS_ST_RESTRICTS_2_1</code><em class="property"> = 3015</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_COS_ST_RESTRICTS_2_1" title="Permalink to this definition">¶</a></dt>
3214 <dl class="py attribute">
3215 <dt id="lxml.etree.ErrorTypes.SCHEMAP_COS_ST_RESTRICTS_2_3_1_1">
3216 <code class="sig-name descname">SCHEMAP_COS_ST_RESTRICTS_2_3_1_1</code><em class="property"> = 3016</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_COS_ST_RESTRICTS_2_3_1_1" title="Permalink to this definition">¶</a></dt>
3219 <dl class="py attribute">
3220 <dt id="lxml.etree.ErrorTypes.SCHEMAP_COS_ST_RESTRICTS_2_3_1_2">
3221 <code class="sig-name descname">SCHEMAP_COS_ST_RESTRICTS_2_3_1_2</code><em class="property"> = 3017</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_COS_ST_RESTRICTS_2_3_1_2" title="Permalink to this definition">¶</a></dt>
3224 <dl class="py attribute">
3225 <dt id="lxml.etree.ErrorTypes.SCHEMAP_COS_ST_RESTRICTS_2_3_2_1">
3226 <code class="sig-name descname">SCHEMAP_COS_ST_RESTRICTS_2_3_2_1</code><em class="property"> = 3018</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_COS_ST_RESTRICTS_2_3_2_1" title="Permalink to this definition">¶</a></dt>
3229 <dl class="py attribute">
3230 <dt id="lxml.etree.ErrorTypes.SCHEMAP_COS_ST_RESTRICTS_2_3_2_2">
3231 <code class="sig-name descname">SCHEMAP_COS_ST_RESTRICTS_2_3_2_2</code><em class="property"> = 3019</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_COS_ST_RESTRICTS_2_3_2_2" title="Permalink to this definition">¶</a></dt>
3234 <dl class="py attribute">
3235 <dt id="lxml.etree.ErrorTypes.SCHEMAP_COS_ST_RESTRICTS_2_3_2_3">
3236 <code class="sig-name descname">SCHEMAP_COS_ST_RESTRICTS_2_3_2_3</code><em class="property"> = 3020</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_COS_ST_RESTRICTS_2_3_2_3" title="Permalink to this definition">¶</a></dt>
3239 <dl class="py attribute">
3240 <dt id="lxml.etree.ErrorTypes.SCHEMAP_COS_ST_RESTRICTS_2_3_2_4">
3241 <code class="sig-name descname">SCHEMAP_COS_ST_RESTRICTS_2_3_2_4</code><em class="property"> = 3021</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_COS_ST_RESTRICTS_2_3_2_4" title="Permalink to this definition">¶</a></dt>
3244 <dl class="py attribute">
3245 <dt id="lxml.etree.ErrorTypes.SCHEMAP_COS_ST_RESTRICTS_2_3_2_5">
3246 <code class="sig-name descname">SCHEMAP_COS_ST_RESTRICTS_2_3_2_5</code><em class="property"> = 3022</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_COS_ST_RESTRICTS_2_3_2_5" title="Permalink to this definition">¶</a></dt>
3249 <dl class="py attribute">
3250 <dt id="lxml.etree.ErrorTypes.SCHEMAP_COS_ST_RESTRICTS_3_1">
3251 <code class="sig-name descname">SCHEMAP_COS_ST_RESTRICTS_3_1</code><em class="property"> = 3023</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_COS_ST_RESTRICTS_3_1" title="Permalink to this definition">¶</a></dt>
3254 <dl class="py attribute">
3255 <dt id="lxml.etree.ErrorTypes.SCHEMAP_COS_ST_RESTRICTS_3_3_1">
3256 <code class="sig-name descname">SCHEMAP_COS_ST_RESTRICTS_3_3_1</code><em class="property"> = 3024</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_COS_ST_RESTRICTS_3_3_1" title="Permalink to this definition">¶</a></dt>
3259 <dl class="py attribute">
3260 <dt id="lxml.etree.ErrorTypes.SCHEMAP_COS_ST_RESTRICTS_3_3_1_2">
3261 <code class="sig-name descname">SCHEMAP_COS_ST_RESTRICTS_3_3_1_2</code><em class="property"> = 3025</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_COS_ST_RESTRICTS_3_3_1_2" title="Permalink to this definition">¶</a></dt>
3264 <dl class="py attribute">
3265 <dt id="lxml.etree.ErrorTypes.SCHEMAP_COS_ST_RESTRICTS_3_3_2_1">
3266 <code class="sig-name descname">SCHEMAP_COS_ST_RESTRICTS_3_3_2_1</code><em class="property"> = 3027</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_COS_ST_RESTRICTS_3_3_2_1" title="Permalink to this definition">¶</a></dt>
3269 <dl class="py attribute">
3270 <dt id="lxml.etree.ErrorTypes.SCHEMAP_COS_ST_RESTRICTS_3_3_2_2">
3271 <code class="sig-name descname">SCHEMAP_COS_ST_RESTRICTS_3_3_2_2</code><em class="property"> = 3026</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_COS_ST_RESTRICTS_3_3_2_2" title="Permalink to this definition">¶</a></dt>
3274 <dl class="py attribute">
3275 <dt id="lxml.etree.ErrorTypes.SCHEMAP_COS_ST_RESTRICTS_3_3_2_3">
3276 <code class="sig-name descname">SCHEMAP_COS_ST_RESTRICTS_3_3_2_3</code><em class="property"> = 3028</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_COS_ST_RESTRICTS_3_3_2_3" title="Permalink to this definition">¶</a></dt>
3279 <dl class="py attribute">
3280 <dt id="lxml.etree.ErrorTypes.SCHEMAP_COS_ST_RESTRICTS_3_3_2_4">
3281 <code class="sig-name descname">SCHEMAP_COS_ST_RESTRICTS_3_3_2_4</code><em class="property"> = 3029</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_COS_ST_RESTRICTS_3_3_2_4" title="Permalink to this definition">¶</a></dt>
3284 <dl class="py attribute">
3285 <dt id="lxml.etree.ErrorTypes.SCHEMAP_COS_ST_RESTRICTS_3_3_2_5">
3286 <code class="sig-name descname">SCHEMAP_COS_ST_RESTRICTS_3_3_2_5</code><em class="property"> = 3030</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_COS_ST_RESTRICTS_3_3_2_5" title="Permalink to this definition">¶</a></dt>
3289 <dl class="py attribute">
3290 <dt id="lxml.etree.ErrorTypes.SCHEMAP_COS_VALID_DEFAULT_1">
3291 <code class="sig-name descname">SCHEMAP_COS_VALID_DEFAULT_1</code><em class="property"> = 3058</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_COS_VALID_DEFAULT_1" title="Permalink to this definition">¶</a></dt>
3294 <dl class="py attribute">
3295 <dt id="lxml.etree.ErrorTypes.SCHEMAP_COS_VALID_DEFAULT_2_1">
3296 <code class="sig-name descname">SCHEMAP_COS_VALID_DEFAULT_2_1</code><em class="property"> = 3059</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_COS_VALID_DEFAULT_2_1" title="Permalink to this definition">¶</a></dt>
3299 <dl class="py attribute">
3300 <dt id="lxml.etree.ErrorTypes.SCHEMAP_COS_VALID_DEFAULT_2_2_1">
3301 <code class="sig-name descname">SCHEMAP_COS_VALID_DEFAULT_2_2_1</code><em class="property"> = 3060</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_COS_VALID_DEFAULT_2_2_1" title="Permalink to this definition">¶</a></dt>
3304 <dl class="py attribute">
3305 <dt id="lxml.etree.ErrorTypes.SCHEMAP_COS_VALID_DEFAULT_2_2_2">
3306 <code class="sig-name descname">SCHEMAP_COS_VALID_DEFAULT_2_2_2</code><em class="property"> = 3061</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_COS_VALID_DEFAULT_2_2_2" title="Permalink to this definition">¶</a></dt>
3309 <dl class="py attribute">
3310 <dt id="lxml.etree.ErrorTypes.SCHEMAP_CT_PROPS_CORRECT_1">
3311 <code class="sig-name descname">SCHEMAP_CT_PROPS_CORRECT_1</code><em class="property"> = 1782</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_CT_PROPS_CORRECT_1" title="Permalink to this definition">¶</a></dt>
3314 <dl class="py attribute">
3315 <dt id="lxml.etree.ErrorTypes.SCHEMAP_CT_PROPS_CORRECT_2">
3316 <code class="sig-name descname">SCHEMAP_CT_PROPS_CORRECT_2</code><em class="property"> = 1783</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_CT_PROPS_CORRECT_2" title="Permalink to this definition">¶</a></dt>
3319 <dl class="py attribute">
3320 <dt id="lxml.etree.ErrorTypes.SCHEMAP_CT_PROPS_CORRECT_3">
3321 <code class="sig-name descname">SCHEMAP_CT_PROPS_CORRECT_3</code><em class="property"> = 1784</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_CT_PROPS_CORRECT_3" title="Permalink to this definition">¶</a></dt>
3324 <dl class="py attribute">
3325 <dt id="lxml.etree.ErrorTypes.SCHEMAP_CT_PROPS_CORRECT_4">
3326 <code class="sig-name descname">SCHEMAP_CT_PROPS_CORRECT_4</code><em class="property"> = 1785</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_CT_PROPS_CORRECT_4" title="Permalink to this definition">¶</a></dt>
3329 <dl class="py attribute">
3330 <dt id="lxml.etree.ErrorTypes.SCHEMAP_CT_PROPS_CORRECT_5">
3331 <code class="sig-name descname">SCHEMAP_CT_PROPS_CORRECT_5</code><em class="property"> = 1786</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_CT_PROPS_CORRECT_5" title="Permalink to this definition">¶</a></dt>
3334 <dl class="py attribute">
3335 <dt id="lxml.etree.ErrorTypes.SCHEMAP_CVC_SIMPLE_TYPE">
3336 <code class="sig-name descname">SCHEMAP_CVC_SIMPLE_TYPE</code><em class="property"> = 3062</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_CVC_SIMPLE_TYPE" title="Permalink to this definition">¶</a></dt>
3339 <dl class="py attribute">
3340 <dt id="lxml.etree.ErrorTypes.SCHEMAP_C_PROPS_CORRECT">
3341 <code class="sig-name descname">SCHEMAP_C_PROPS_CORRECT</code><em class="property"> = 3080</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_C_PROPS_CORRECT" title="Permalink to this definition">¶</a></dt>
3344 <dl class="py attribute">
3345 <dt id="lxml.etree.ErrorTypes.SCHEMAP_DEF_AND_PREFIX">
3346 <code class="sig-name descname">SCHEMAP_DEF_AND_PREFIX</code><em class="property"> = 1768</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_DEF_AND_PREFIX" title="Permalink to this definition">¶</a></dt>
3349 <dl class="py attribute">
3350 <dt id="lxml.etree.ErrorTypes.SCHEMAP_DERIVATION_OK_RESTRICTION_1">
3351 <code class="sig-name descname">SCHEMAP_DERIVATION_OK_RESTRICTION_1</code><em class="property"> = 1787</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_DERIVATION_OK_RESTRICTION_1" title="Permalink to this definition">¶</a></dt>
3354 <dl class="py attribute">
3355 <dt id="lxml.etree.ErrorTypes.SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_1">
3356 <code class="sig-name descname">SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_1</code><em class="property"> = 1788</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_1" title="Permalink to this definition">¶</a></dt>
3359 <dl class="py attribute">
3360 <dt id="lxml.etree.ErrorTypes.SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_2">
3361 <code class="sig-name descname">SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_2</code><em class="property"> = 1789</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_2" title="Permalink to this definition">¶</a></dt>
3364 <dl class="py attribute">
3365 <dt id="lxml.etree.ErrorTypes.SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_3">
3366 <code class="sig-name descname">SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_3</code><em class="property"> = 3077</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_3" title="Permalink to this definition">¶</a></dt>
3369 <dl class="py attribute">
3370 <dt id="lxml.etree.ErrorTypes.SCHEMAP_DERIVATION_OK_RESTRICTION_2_2">
3371 <code class="sig-name descname">SCHEMAP_DERIVATION_OK_RESTRICTION_2_2</code><em class="property"> = 1790</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_DERIVATION_OK_RESTRICTION_2_2" title="Permalink to this definition">¶</a></dt>
3374 <dl class="py attribute">
3375 <dt id="lxml.etree.ErrorTypes.SCHEMAP_DERIVATION_OK_RESTRICTION_3">
3376 <code class="sig-name descname">SCHEMAP_DERIVATION_OK_RESTRICTION_3</code><em class="property"> = 1791</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_DERIVATION_OK_RESTRICTION_3" title="Permalink to this definition">¶</a></dt>
3379 <dl class="py attribute">
3380 <dt id="lxml.etree.ErrorTypes.SCHEMAP_DERIVATION_OK_RESTRICTION_4_1">
3381 <code class="sig-name descname">SCHEMAP_DERIVATION_OK_RESTRICTION_4_1</code><em class="property"> = 1797</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_DERIVATION_OK_RESTRICTION_4_1" title="Permalink to this definition">¶</a></dt>
3384 <dl class="py attribute">
3385 <dt id="lxml.etree.ErrorTypes.SCHEMAP_DERIVATION_OK_RESTRICTION_4_2">
3386 <code class="sig-name descname">SCHEMAP_DERIVATION_OK_RESTRICTION_4_2</code><em class="property"> = 1798</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_DERIVATION_OK_RESTRICTION_4_2" title="Permalink to this definition">¶</a></dt>
3389 <dl class="py attribute">
3390 <dt id="lxml.etree.ErrorTypes.SCHEMAP_DERIVATION_OK_RESTRICTION_4_3">
3391 <code class="sig-name descname">SCHEMAP_DERIVATION_OK_RESTRICTION_4_3</code><em class="property"> = 1799</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_DERIVATION_OK_RESTRICTION_4_3" title="Permalink to this definition">¶</a></dt>
3394 <dl class="py attribute">
3395 <dt id="lxml.etree.ErrorTypes.SCHEMAP_ELEMFORMDEFAULT_VALUE">
3396 <code class="sig-name descname">SCHEMAP_ELEMFORMDEFAULT_VALUE</code><em class="property"> = 1705</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_ELEMFORMDEFAULT_VALUE" title="Permalink to this definition">¶</a></dt>
3399 <dl class="py attribute">
3400 <dt id="lxml.etree.ErrorTypes.SCHEMAP_ELEM_DEFAULT_FIXED">
3401 <code class="sig-name descname">SCHEMAP_ELEM_DEFAULT_FIXED</code><em class="property"> = 1755</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_ELEM_DEFAULT_FIXED" title="Permalink to this definition">¶</a></dt>
3404 <dl class="py attribute">
3405 <dt id="lxml.etree.ErrorTypes.SCHEMAP_ELEM_NONAME_NOREF">
3406 <code class="sig-name descname">SCHEMAP_ELEM_NONAME_NOREF</code><em class="property"> = 1706</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_ELEM_NONAME_NOREF" title="Permalink to this definition">¶</a></dt>
3409 <dl class="py attribute">
3410 <dt id="lxml.etree.ErrorTypes.SCHEMAP_EXTENSION_NO_BASE">
3411 <code class="sig-name descname">SCHEMAP_EXTENSION_NO_BASE</code><em class="property"> = 1707</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_EXTENSION_NO_BASE" title="Permalink to this definition">¶</a></dt>
3414 <dl class="py attribute">
3415 <dt id="lxml.etree.ErrorTypes.SCHEMAP_E_PROPS_CORRECT_2">
3416 <code class="sig-name descname">SCHEMAP_E_PROPS_CORRECT_2</code><em class="property"> = 3045</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_E_PROPS_CORRECT_2" title="Permalink to this definition">¶</a></dt>
3419 <dl class="py attribute">
3420 <dt id="lxml.etree.ErrorTypes.SCHEMAP_E_PROPS_CORRECT_3">
3421 <code class="sig-name descname">SCHEMAP_E_PROPS_CORRECT_3</code><em class="property"> = 3046</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_E_PROPS_CORRECT_3" title="Permalink to this definition">¶</a></dt>
3424 <dl class="py attribute">
3425 <dt id="lxml.etree.ErrorTypes.SCHEMAP_E_PROPS_CORRECT_4">
3426 <code class="sig-name descname">SCHEMAP_E_PROPS_CORRECT_4</code><em class="property"> = 3047</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_E_PROPS_CORRECT_4" title="Permalink to this definition">¶</a></dt>
3429 <dl class="py attribute">
3430 <dt id="lxml.etree.ErrorTypes.SCHEMAP_E_PROPS_CORRECT_5">
3431 <code class="sig-name descname">SCHEMAP_E_PROPS_CORRECT_5</code><em class="property"> = 3048</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_E_PROPS_CORRECT_5" title="Permalink to this definition">¶</a></dt>
3434 <dl class="py attribute">
3435 <dt id="lxml.etree.ErrorTypes.SCHEMAP_E_PROPS_CORRECT_6">
3436 <code class="sig-name descname">SCHEMAP_E_PROPS_CORRECT_6</code><em class="property"> = 3049</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_E_PROPS_CORRECT_6" title="Permalink to this definition">¶</a></dt>
3439 <dl class="py attribute">
3440 <dt id="lxml.etree.ErrorTypes.SCHEMAP_FACET_NO_VALUE">
3441 <code class="sig-name descname">SCHEMAP_FACET_NO_VALUE</code><em class="property"> = 1708</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_FACET_NO_VALUE" title="Permalink to this definition">¶</a></dt>
3444 <dl class="py attribute">
3445 <dt id="lxml.etree.ErrorTypes.SCHEMAP_FAILED_BUILD_IMPORT">
3446 <code class="sig-name descname">SCHEMAP_FAILED_BUILD_IMPORT</code><em class="property"> = 1709</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_FAILED_BUILD_IMPORT" title="Permalink to this definition">¶</a></dt>
3449 <dl class="py attribute">
3450 <dt id="lxml.etree.ErrorTypes.SCHEMAP_FAILED_LOAD">
3451 <code class="sig-name descname">SCHEMAP_FAILED_LOAD</code><em class="property"> = 1757</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_FAILED_LOAD" title="Permalink to this definition">¶</a></dt>
3454 <dl class="py attribute">
3455 <dt id="lxml.etree.ErrorTypes.SCHEMAP_FAILED_PARSE">
3456 <code class="sig-name descname">SCHEMAP_FAILED_PARSE</code><em class="property"> = 1766</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_FAILED_PARSE" title="Permalink to this definition">¶</a></dt>
3459 <dl class="py attribute">
3460 <dt id="lxml.etree.ErrorTypes.SCHEMAP_GROUP_NONAME_NOREF">
3461 <code class="sig-name descname">SCHEMAP_GROUP_NONAME_NOREF</code><em class="property"> = 1710</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_GROUP_NONAME_NOREF" title="Permalink to this definition">¶</a></dt>
3464 <dl class="py attribute">
3465 <dt id="lxml.etree.ErrorTypes.SCHEMAP_IMPORT_NAMESPACE_NOT_URI">
3466 <code class="sig-name descname">SCHEMAP_IMPORT_NAMESPACE_NOT_URI</code><em class="property"> = 1711</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_IMPORT_NAMESPACE_NOT_URI" title="Permalink to this definition">¶</a></dt>
3469 <dl class="py attribute">
3470 <dt id="lxml.etree.ErrorTypes.SCHEMAP_IMPORT_REDEFINE_NSNAME">
3471 <code class="sig-name descname">SCHEMAP_IMPORT_REDEFINE_NSNAME</code><em class="property"> = 1712</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_IMPORT_REDEFINE_NSNAME" title="Permalink to this definition">¶</a></dt>
3474 <dl class="py attribute">
3475 <dt id="lxml.etree.ErrorTypes.SCHEMAP_IMPORT_SCHEMA_NOT_URI">
3476 <code class="sig-name descname">SCHEMAP_IMPORT_SCHEMA_NOT_URI</code><em class="property"> = 1713</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_IMPORT_SCHEMA_NOT_URI" title="Permalink to this definition">¶</a></dt>
3479 <dl class="py attribute">
3480 <dt id="lxml.etree.ErrorTypes.SCHEMAP_INCLUDE_SCHEMA_NOT_URI">
3481 <code class="sig-name descname">SCHEMAP_INCLUDE_SCHEMA_NOT_URI</code><em class="property"> = 1770</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_INCLUDE_SCHEMA_NOT_URI" title="Permalink to this definition">¶</a></dt>
3484 <dl class="py attribute">
3485 <dt id="lxml.etree.ErrorTypes.SCHEMAP_INCLUDE_SCHEMA_NO_URI">
3486 <code class="sig-name descname">SCHEMAP_INCLUDE_SCHEMA_NO_URI</code><em class="property"> = 1771</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_INCLUDE_SCHEMA_NO_URI" title="Permalink to this definition">¶</a></dt>
3489 <dl class="py attribute">
3490 <dt id="lxml.etree.ErrorTypes.SCHEMAP_INTERNAL">
3491 <code class="sig-name descname">SCHEMAP_INTERNAL</code><em class="property"> = 3069</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_INTERNAL" title="Permalink to this definition">¶</a></dt>
3494 <dl class="py attribute">
3495 <dt id="lxml.etree.ErrorTypes.SCHEMAP_INTERSECTION_NOT_EXPRESSIBLE">
3496 <code class="sig-name descname">SCHEMAP_INTERSECTION_NOT_EXPRESSIBLE</code><em class="property"> = 1793</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_INTERSECTION_NOT_EXPRESSIBLE" title="Permalink to this definition">¶</a></dt>
3499 <dl class="py attribute">
3500 <dt id="lxml.etree.ErrorTypes.SCHEMAP_INVALID_ATTR_COMBINATION">
3501 <code class="sig-name descname">SCHEMAP_INVALID_ATTR_COMBINATION</code><em class="property"> = 1777</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_INVALID_ATTR_COMBINATION" title="Permalink to this definition">¶</a></dt>
3504 <dl class="py attribute">
3505 <dt id="lxml.etree.ErrorTypes.SCHEMAP_INVALID_ATTR_INLINE_COMBINATION">
3506 <code class="sig-name descname">SCHEMAP_INVALID_ATTR_INLINE_COMBINATION</code><em class="property"> = 1778</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_INVALID_ATTR_INLINE_COMBINATION" title="Permalink to this definition">¶</a></dt>
3509 <dl class="py attribute">
3510 <dt id="lxml.etree.ErrorTypes.SCHEMAP_INVALID_ATTR_NAME">
3511 <code class="sig-name descname">SCHEMAP_INVALID_ATTR_NAME</code><em class="property"> = 1780</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_INVALID_ATTR_NAME" title="Permalink to this definition">¶</a></dt>
3514 <dl class="py attribute">
3515 <dt id="lxml.etree.ErrorTypes.SCHEMAP_INVALID_ATTR_USE">
3516 <code class="sig-name descname">SCHEMAP_INVALID_ATTR_USE</code><em class="property"> = 1774</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_INVALID_ATTR_USE" title="Permalink to this definition">¶</a></dt>
3519 <dl class="py attribute">
3520 <dt id="lxml.etree.ErrorTypes.SCHEMAP_INVALID_BOOLEAN">
3521 <code class="sig-name descname">SCHEMAP_INVALID_BOOLEAN</code><em class="property"> = 1714</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_INVALID_BOOLEAN" title="Permalink to this definition">¶</a></dt>
3524 <dl class="py attribute">
3525 <dt id="lxml.etree.ErrorTypes.SCHEMAP_INVALID_ENUM">
3526 <code class="sig-name descname">SCHEMAP_INVALID_ENUM</code><em class="property"> = 1715</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_INVALID_ENUM" title="Permalink to this definition">¶</a></dt>
3529 <dl class="py attribute">
3530 <dt id="lxml.etree.ErrorTypes.SCHEMAP_INVALID_FACET">
3531 <code class="sig-name descname">SCHEMAP_INVALID_FACET</code><em class="property"> = 1716</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_INVALID_FACET" title="Permalink to this definition">¶</a></dt>
3534 <dl class="py attribute">
3535 <dt id="lxml.etree.ErrorTypes.SCHEMAP_INVALID_FACET_VALUE">
3536 <code class="sig-name descname">SCHEMAP_INVALID_FACET_VALUE</code><em class="property"> = 1717</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_INVALID_FACET_VALUE" title="Permalink to this definition">¶</a></dt>
3539 <dl class="py attribute">
3540 <dt id="lxml.etree.ErrorTypes.SCHEMAP_INVALID_MAXOCCURS">
3541 <code class="sig-name descname">SCHEMAP_INVALID_MAXOCCURS</code><em class="property"> = 1718</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_INVALID_MAXOCCURS" title="Permalink to this definition">¶</a></dt>
3544 <dl class="py attribute">
3545 <dt id="lxml.etree.ErrorTypes.SCHEMAP_INVALID_MINOCCURS">
3546 <code class="sig-name descname">SCHEMAP_INVALID_MINOCCURS</code><em class="property"> = 1719</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_INVALID_MINOCCURS" title="Permalink to this definition">¶</a></dt>
3549 <dl class="py attribute">
3550 <dt id="lxml.etree.ErrorTypes.SCHEMAP_INVALID_REF_AND_SUBTYPE">
3551 <code class="sig-name descname">SCHEMAP_INVALID_REF_AND_SUBTYPE</code><em class="property"> = 1720</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_INVALID_REF_AND_SUBTYPE" title="Permalink to this definition">¶</a></dt>
3554 <dl class="py attribute">
3555 <dt id="lxml.etree.ErrorTypes.SCHEMAP_INVALID_WHITE_SPACE">
3556 <code class="sig-name descname">SCHEMAP_INVALID_WHITE_SPACE</code><em class="property"> = 1721</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_INVALID_WHITE_SPACE" title="Permalink to this definition">¶</a></dt>
3559 <dl class="py attribute">
3560 <dt id="lxml.etree.ErrorTypes.SCHEMAP_MG_PROPS_CORRECT_1">
3561 <code class="sig-name descname">SCHEMAP_MG_PROPS_CORRECT_1</code><em class="property"> = 3074</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_MG_PROPS_CORRECT_1" title="Permalink to this definition">¶</a></dt>
3564 <dl class="py attribute">
3565 <dt id="lxml.etree.ErrorTypes.SCHEMAP_MG_PROPS_CORRECT_2">
3566 <code class="sig-name descname">SCHEMAP_MG_PROPS_CORRECT_2</code><em class="property"> = 3075</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_MG_PROPS_CORRECT_2" title="Permalink to this definition">¶</a></dt>
3569 <dl class="py attribute">
3570 <dt id="lxml.etree.ErrorTypes.SCHEMAP_MISSING_SIMPLETYPE_CHILD">
3571 <code class="sig-name descname">SCHEMAP_MISSING_SIMPLETYPE_CHILD</code><em class="property"> = 1779</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_MISSING_SIMPLETYPE_CHILD" title="Permalink to this definition">¶</a></dt>
3574 <dl class="py attribute">
3575 <dt id="lxml.etree.ErrorTypes.SCHEMAP_NOATTR_NOREF">
3576 <code class="sig-name descname">SCHEMAP_NOATTR_NOREF</code><em class="property"> = 1722</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_NOATTR_NOREF" title="Permalink to this definition">¶</a></dt>
3579 <dl class="py attribute">
3580 <dt id="lxml.etree.ErrorTypes.SCHEMAP_NOROOT">
3581 <code class="sig-name descname">SCHEMAP_NOROOT</code><em class="property"> = 1759</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_NOROOT" title="Permalink to this definition">¶</a></dt>
3584 <dl class="py attribute">
3585 <dt id="lxml.etree.ErrorTypes.SCHEMAP_NOTATION_NO_NAME">
3586 <code class="sig-name descname">SCHEMAP_NOTATION_NO_NAME</code><em class="property"> = 1723</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_NOTATION_NO_NAME" title="Permalink to this definition">¶</a></dt>
3589 <dl class="py attribute">
3590 <dt id="lxml.etree.ErrorTypes.SCHEMAP_NOTHING_TO_PARSE">
3591 <code class="sig-name descname">SCHEMAP_NOTHING_TO_PARSE</code><em class="property"> = 1758</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_NOTHING_TO_PARSE" title="Permalink to this definition">¶</a></dt>
3594 <dl class="py attribute">
3595 <dt id="lxml.etree.ErrorTypes.SCHEMAP_NOTYPE_NOREF">
3596 <code class="sig-name descname">SCHEMAP_NOTYPE_NOREF</code><em class="property"> = 1724</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_NOTYPE_NOREF" title="Permalink to this definition">¶</a></dt>
3599 <dl class="py attribute">
3600 <dt id="lxml.etree.ErrorTypes.SCHEMAP_NOT_DETERMINISTIC">
3601 <code class="sig-name descname">SCHEMAP_NOT_DETERMINISTIC</code><em class="property"> = 3070</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_NOT_DETERMINISTIC" title="Permalink to this definition">¶</a></dt>
3604 <dl class="py attribute">
3605 <dt id="lxml.etree.ErrorTypes.SCHEMAP_NOT_SCHEMA">
3606 <code class="sig-name descname">SCHEMAP_NOT_SCHEMA</code><em class="property"> = 1772</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_NOT_SCHEMA" title="Permalink to this definition">¶</a></dt>
3609 <dl class="py attribute">
3610 <dt id="lxml.etree.ErrorTypes.SCHEMAP_NO_XMLNS">
3611 <code class="sig-name descname">SCHEMAP_NO_XMLNS</code><em class="property"> = 3056</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_NO_XMLNS" title="Permalink to this definition">¶</a></dt>
3614 <dl class="py attribute">
3615 <dt id="lxml.etree.ErrorTypes.SCHEMAP_NO_XSI">
3616 <code class="sig-name descname">SCHEMAP_NO_XSI</code><em class="property"> = 3057</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_NO_XSI" title="Permalink to this definition">¶</a></dt>
3619 <dl class="py attribute">
3620 <dt id="lxml.etree.ErrorTypes.SCHEMAP_PREFIX_UNDEFINED">
3621 <code class="sig-name descname">SCHEMAP_PREFIX_UNDEFINED</code><em class="property"> = 1700</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_PREFIX_UNDEFINED" title="Permalink to this definition">¶</a></dt>
3624 <dl class="py attribute">
3625 <dt id="lxml.etree.ErrorTypes.SCHEMAP_P_PROPS_CORRECT_1">
3626 <code class="sig-name descname">SCHEMAP_P_PROPS_CORRECT_1</code><em class="property"> = 3042</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_P_PROPS_CORRECT_1" title="Permalink to this definition">¶</a></dt>
3629 <dl class="py attribute">
3630 <dt id="lxml.etree.ErrorTypes.SCHEMAP_P_PROPS_CORRECT_2_1">
3631 <code class="sig-name descname">SCHEMAP_P_PROPS_CORRECT_2_1</code><em class="property"> = 3043</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_P_PROPS_CORRECT_2_1" title="Permalink to this definition">¶</a></dt>
3634 <dl class="py attribute">
3635 <dt id="lxml.etree.ErrorTypes.SCHEMAP_P_PROPS_CORRECT_2_2">
3636 <code class="sig-name descname">SCHEMAP_P_PROPS_CORRECT_2_2</code><em class="property"> = 3044</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_P_PROPS_CORRECT_2_2" title="Permalink to this definition">¶</a></dt>
3639 <dl class="py attribute">
3640 <dt id="lxml.etree.ErrorTypes.SCHEMAP_RECURSIVE">
3641 <code class="sig-name descname">SCHEMAP_RECURSIVE</code><em class="property"> = 1775</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_RECURSIVE" title="Permalink to this definition">¶</a></dt>
3644 <dl class="py attribute">
3645 <dt id="lxml.etree.ErrorTypes.SCHEMAP_REDEFINED_ATTR">
3646 <code class="sig-name descname">SCHEMAP_REDEFINED_ATTR</code><em class="property"> = 1764</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_REDEFINED_ATTR" title="Permalink to this definition">¶</a></dt>
3649 <dl class="py attribute">
3650 <dt id="lxml.etree.ErrorTypes.SCHEMAP_REDEFINED_ATTRGROUP">
3651 <code class="sig-name descname">SCHEMAP_REDEFINED_ATTRGROUP</code><em class="property"> = 1763</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_REDEFINED_ATTRGROUP" title="Permalink to this definition">¶</a></dt>
3654 <dl class="py attribute">
3655 <dt id="lxml.etree.ErrorTypes.SCHEMAP_REDEFINED_ELEMENT">
3656 <code class="sig-name descname">SCHEMAP_REDEFINED_ELEMENT</code><em class="property"> = 1762</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_REDEFINED_ELEMENT" title="Permalink to this definition">¶</a></dt>
3659 <dl class="py attribute">
3660 <dt id="lxml.etree.ErrorTypes.SCHEMAP_REDEFINED_GROUP">
3661 <code class="sig-name descname">SCHEMAP_REDEFINED_GROUP</code><em class="property"> = 1760</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_REDEFINED_GROUP" title="Permalink to this definition">¶</a></dt>
3664 <dl class="py attribute">
3665 <dt id="lxml.etree.ErrorTypes.SCHEMAP_REDEFINED_NOTATION">
3666 <code class="sig-name descname">SCHEMAP_REDEFINED_NOTATION</code><em class="property"> = 1765</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_REDEFINED_NOTATION" title="Permalink to this definition">¶</a></dt>
3669 <dl class="py attribute">
3670 <dt id="lxml.etree.ErrorTypes.SCHEMAP_REDEFINED_TYPE">
3671 <code class="sig-name descname">SCHEMAP_REDEFINED_TYPE</code><em class="property"> = 1761</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_REDEFINED_TYPE" title="Permalink to this definition">¶</a></dt>
3674 <dl class="py attribute">
3675 <dt id="lxml.etree.ErrorTypes.SCHEMAP_REF_AND_CONTENT">
3676 <code class="sig-name descname">SCHEMAP_REF_AND_CONTENT</code><em class="property"> = 1781</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_REF_AND_CONTENT" title="Permalink to this definition">¶</a></dt>
3679 <dl class="py attribute">
3680 <dt id="lxml.etree.ErrorTypes.SCHEMAP_REF_AND_SUBTYPE">
3681 <code class="sig-name descname">SCHEMAP_REF_AND_SUBTYPE</code><em class="property"> = 1725</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_REF_AND_SUBTYPE" title="Permalink to this definition">¶</a></dt>
3684 <dl class="py attribute">
3685 <dt id="lxml.etree.ErrorTypes.SCHEMAP_REGEXP_INVALID">
3686 <code class="sig-name descname">SCHEMAP_REGEXP_INVALID</code><em class="property"> = 1756</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_REGEXP_INVALID" title="Permalink to this definition">¶</a></dt>
3689 <dl class="py attribute">
3690 <dt id="lxml.etree.ErrorTypes.SCHEMAP_RESTRICTION_NONAME_NOREF">
3691 <code class="sig-name descname">SCHEMAP_RESTRICTION_NONAME_NOREF</code><em class="property"> = 1726</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_RESTRICTION_NONAME_NOREF" title="Permalink to this definition">¶</a></dt>
3694 <dl class="py attribute">
3695 <dt id="lxml.etree.ErrorTypes.SCHEMAP_S4S_ATTR_INVALID_VALUE">
3696 <code class="sig-name descname">SCHEMAP_S4S_ATTR_INVALID_VALUE</code><em class="property"> = 3037</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_S4S_ATTR_INVALID_VALUE" title="Permalink to this definition">¶</a></dt>
3699 <dl class="py attribute">
3700 <dt id="lxml.etree.ErrorTypes.SCHEMAP_S4S_ATTR_MISSING">
3701 <code class="sig-name descname">SCHEMAP_S4S_ATTR_MISSING</code><em class="property"> = 3036</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_S4S_ATTR_MISSING" title="Permalink to this definition">¶</a></dt>
3704 <dl class="py attribute">
3705 <dt id="lxml.etree.ErrorTypes.SCHEMAP_S4S_ATTR_NOT_ALLOWED">
3706 <code class="sig-name descname">SCHEMAP_S4S_ATTR_NOT_ALLOWED</code><em class="property"> = 3035</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_S4S_ATTR_NOT_ALLOWED" title="Permalink to this definition">¶</a></dt>
3709 <dl class="py attribute">
3710 <dt id="lxml.etree.ErrorTypes.SCHEMAP_S4S_ELEM_MISSING">
3711 <code class="sig-name descname">SCHEMAP_S4S_ELEM_MISSING</code><em class="property"> = 3034</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_S4S_ELEM_MISSING" title="Permalink to this definition">¶</a></dt>
3714 <dl class="py attribute">
3715 <dt id="lxml.etree.ErrorTypes.SCHEMAP_S4S_ELEM_NOT_ALLOWED">
3716 <code class="sig-name descname">SCHEMAP_S4S_ELEM_NOT_ALLOWED</code><em class="property"> = 3033</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_S4S_ELEM_NOT_ALLOWED" title="Permalink to this definition">¶</a></dt>
3719 <dl class="py attribute">
3720 <dt id="lxml.etree.ErrorTypes.SCHEMAP_SIMPLETYPE_NONAME">
3721 <code class="sig-name descname">SCHEMAP_SIMPLETYPE_NONAME</code><em class="property"> = 1727</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_SIMPLETYPE_NONAME" title="Permalink to this definition">¶</a></dt>
3724 <dl class="py attribute">
3725 <dt id="lxml.etree.ErrorTypes.SCHEMAP_SRC_ATTRIBUTE_1">
3726 <code class="sig-name descname">SCHEMAP_SRC_ATTRIBUTE_1</code><em class="property"> = 3051</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_SRC_ATTRIBUTE_1" title="Permalink to this definition">¶</a></dt>
3729 <dl class="py attribute">
3730 <dt id="lxml.etree.ErrorTypes.SCHEMAP_SRC_ATTRIBUTE_2">
3731 <code class="sig-name descname">SCHEMAP_SRC_ATTRIBUTE_2</code><em class="property"> = 3052</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_SRC_ATTRIBUTE_2" title="Permalink to this definition">¶</a></dt>
3734 <dl class="py attribute">
3735 <dt id="lxml.etree.ErrorTypes.SCHEMAP_SRC_ATTRIBUTE_3_1">
3736 <code class="sig-name descname">SCHEMAP_SRC_ATTRIBUTE_3_1</code><em class="property"> = 3053</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_SRC_ATTRIBUTE_3_1" title="Permalink to this definition">¶</a></dt>
3739 <dl class="py attribute">
3740 <dt id="lxml.etree.ErrorTypes.SCHEMAP_SRC_ATTRIBUTE_3_2">
3741 <code class="sig-name descname">SCHEMAP_SRC_ATTRIBUTE_3_2</code><em class="property"> = 3054</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_SRC_ATTRIBUTE_3_2" title="Permalink to this definition">¶</a></dt>
3744 <dl class="py attribute">
3745 <dt id="lxml.etree.ErrorTypes.SCHEMAP_SRC_ATTRIBUTE_4">
3746 <code class="sig-name descname">SCHEMAP_SRC_ATTRIBUTE_4</code><em class="property"> = 3055</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_SRC_ATTRIBUTE_4" title="Permalink to this definition">¶</a></dt>
3749 <dl class="py attribute">
3750 <dt id="lxml.etree.ErrorTypes.SCHEMAP_SRC_ATTRIBUTE_GROUP_1">
3751 <code class="sig-name descname">SCHEMAP_SRC_ATTRIBUTE_GROUP_1</code><em class="property"> = 3071</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_SRC_ATTRIBUTE_GROUP_1" title="Permalink to this definition">¶</a></dt>
3754 <dl class="py attribute">
3755 <dt id="lxml.etree.ErrorTypes.SCHEMAP_SRC_ATTRIBUTE_GROUP_2">
3756 <code class="sig-name descname">SCHEMAP_SRC_ATTRIBUTE_GROUP_2</code><em class="property"> = 3072</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_SRC_ATTRIBUTE_GROUP_2" title="Permalink to this definition">¶</a></dt>
3759 <dl class="py attribute">
3760 <dt id="lxml.etree.ErrorTypes.SCHEMAP_SRC_ATTRIBUTE_GROUP_3">
3761 <code class="sig-name descname">SCHEMAP_SRC_ATTRIBUTE_GROUP_3</code><em class="property"> = 3073</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_SRC_ATTRIBUTE_GROUP_3" title="Permalink to this definition">¶</a></dt>
3764 <dl class="py attribute">
3765 <dt id="lxml.etree.ErrorTypes.SCHEMAP_SRC_CT_1">
3766 <code class="sig-name descname">SCHEMAP_SRC_CT_1</code><em class="property"> = 3076</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_SRC_CT_1" title="Permalink to this definition">¶</a></dt>
3769 <dl class="py attribute">
3770 <dt id="lxml.etree.ErrorTypes.SCHEMAP_SRC_ELEMENT_1">
3771 <code class="sig-name descname">SCHEMAP_SRC_ELEMENT_1</code><em class="property"> = 3038</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_SRC_ELEMENT_1" title="Permalink to this definition">¶</a></dt>
3774 <dl class="py attribute">
3775 <dt id="lxml.etree.ErrorTypes.SCHEMAP_SRC_ELEMENT_2_1">
3776 <code class="sig-name descname">SCHEMAP_SRC_ELEMENT_2_1</code><em class="property"> = 3039</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_SRC_ELEMENT_2_1" title="Permalink to this definition">¶</a></dt>
3779 <dl class="py attribute">
3780 <dt id="lxml.etree.ErrorTypes.SCHEMAP_SRC_ELEMENT_2_2">
3781 <code class="sig-name descname">SCHEMAP_SRC_ELEMENT_2_2</code><em class="property"> = 3040</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_SRC_ELEMENT_2_2" title="Permalink to this definition">¶</a></dt>
3784 <dl class="py attribute">
3785 <dt id="lxml.etree.ErrorTypes.SCHEMAP_SRC_ELEMENT_3">
3786 <code class="sig-name descname">SCHEMAP_SRC_ELEMENT_3</code><em class="property"> = 3041</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_SRC_ELEMENT_3" title="Permalink to this definition">¶</a></dt>
3789 <dl class="py attribute">
3790 <dt id="lxml.etree.ErrorTypes.SCHEMAP_SRC_IMPORT">
3791 <code class="sig-name descname">SCHEMAP_SRC_IMPORT</code><em class="property"> = 3082</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_SRC_IMPORT" title="Permalink to this definition">¶</a></dt>
3794 <dl class="py attribute">
3795 <dt id="lxml.etree.ErrorTypes.SCHEMAP_SRC_IMPORT_1_1">
3796 <code class="sig-name descname">SCHEMAP_SRC_IMPORT_1_1</code><em class="property"> = 3064</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_SRC_IMPORT_1_1" title="Permalink to this definition">¶</a></dt>
3799 <dl class="py attribute">
3800 <dt id="lxml.etree.ErrorTypes.SCHEMAP_SRC_IMPORT_1_2">
3801 <code class="sig-name descname">SCHEMAP_SRC_IMPORT_1_2</code><em class="property"> = 3065</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_SRC_IMPORT_1_2" title="Permalink to this definition">¶</a></dt>
3804 <dl class="py attribute">
3805 <dt id="lxml.etree.ErrorTypes.SCHEMAP_SRC_IMPORT_2">
3806 <code class="sig-name descname">SCHEMAP_SRC_IMPORT_2</code><em class="property"> = 3066</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_SRC_IMPORT_2" title="Permalink to this definition">¶</a></dt>
3809 <dl class="py attribute">
3810 <dt id="lxml.etree.ErrorTypes.SCHEMAP_SRC_IMPORT_2_1">
3811 <code class="sig-name descname">SCHEMAP_SRC_IMPORT_2_1</code><em class="property"> = 3067</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_SRC_IMPORT_2_1" title="Permalink to this definition">¶</a></dt>
3814 <dl class="py attribute">
3815 <dt id="lxml.etree.ErrorTypes.SCHEMAP_SRC_IMPORT_2_2">
3816 <code class="sig-name descname">SCHEMAP_SRC_IMPORT_2_2</code><em class="property"> = 3068</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_SRC_IMPORT_2_2" title="Permalink to this definition">¶</a></dt>
3819 <dl class="py attribute">
3820 <dt id="lxml.etree.ErrorTypes.SCHEMAP_SRC_IMPORT_3_1">
3821 <code class="sig-name descname">SCHEMAP_SRC_IMPORT_3_1</code><em class="property"> = 1795</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_SRC_IMPORT_3_1" title="Permalink to this definition">¶</a></dt>
3824 <dl class="py attribute">
3825 <dt id="lxml.etree.ErrorTypes.SCHEMAP_SRC_IMPORT_3_2">
3826 <code class="sig-name descname">SCHEMAP_SRC_IMPORT_3_2</code><em class="property"> = 1796</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_SRC_IMPORT_3_2" title="Permalink to this definition">¶</a></dt>
3829 <dl class="py attribute">
3830 <dt id="lxml.etree.ErrorTypes.SCHEMAP_SRC_INCLUDE">
3831 <code class="sig-name descname">SCHEMAP_SRC_INCLUDE</code><em class="property"> = 3050</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_SRC_INCLUDE" title="Permalink to this definition">¶</a></dt>
3834 <dl class="py attribute">
3835 <dt id="lxml.etree.ErrorTypes.SCHEMAP_SRC_LIST_ITEMTYPE_OR_SIMPLETYPE">
3836 <code class="sig-name descname">SCHEMAP_SRC_LIST_ITEMTYPE_OR_SIMPLETYPE</code><em class="property"> = 3006</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_SRC_LIST_ITEMTYPE_OR_SIMPLETYPE" title="Permalink to this definition">¶</a></dt>
3839 <dl class="py attribute">
3840 <dt id="lxml.etree.ErrorTypes.SCHEMAP_SRC_REDEFINE">
3841 <code class="sig-name descname">SCHEMAP_SRC_REDEFINE</code><em class="property"> = 3081</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_SRC_REDEFINE" title="Permalink to this definition">¶</a></dt>
3844 <dl class="py attribute">
3845 <dt id="lxml.etree.ErrorTypes.SCHEMAP_SRC_RESOLVE">
3846 <code class="sig-name descname">SCHEMAP_SRC_RESOLVE</code><em class="property"> = 3004</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_SRC_RESOLVE" title="Permalink to this definition">¶</a></dt>
3849 <dl class="py attribute">
3850 <dt id="lxml.etree.ErrorTypes.SCHEMAP_SRC_RESTRICTION_BASE_OR_SIMPLETYPE">
3851 <code class="sig-name descname">SCHEMAP_SRC_RESTRICTION_BASE_OR_SIMPLETYPE</code><em class="property"> = 3005</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_SRC_RESTRICTION_BASE_OR_SIMPLETYPE" title="Permalink to this definition">¶</a></dt>
3854 <dl class="py attribute">
3855 <dt id="lxml.etree.ErrorTypes.SCHEMAP_SRC_SIMPLE_TYPE_1">
3856 <code class="sig-name descname">SCHEMAP_SRC_SIMPLE_TYPE_1</code><em class="property"> = 3000</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_SRC_SIMPLE_TYPE_1" title="Permalink to this definition">¶</a></dt>
3859 <dl class="py attribute">
3860 <dt id="lxml.etree.ErrorTypes.SCHEMAP_SRC_SIMPLE_TYPE_2">
3861 <code class="sig-name descname">SCHEMAP_SRC_SIMPLE_TYPE_2</code><em class="property"> = 3001</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_SRC_SIMPLE_TYPE_2" title="Permalink to this definition">¶</a></dt>
3864 <dl class="py attribute">
3865 <dt id="lxml.etree.ErrorTypes.SCHEMAP_SRC_SIMPLE_TYPE_3">
3866 <code class="sig-name descname">SCHEMAP_SRC_SIMPLE_TYPE_3</code><em class="property"> = 3002</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_SRC_SIMPLE_TYPE_3" title="Permalink to this definition">¶</a></dt>
3869 <dl class="py attribute">
3870 <dt id="lxml.etree.ErrorTypes.SCHEMAP_SRC_SIMPLE_TYPE_4">
3871 <code class="sig-name descname">SCHEMAP_SRC_SIMPLE_TYPE_4</code><em class="property"> = 3003</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_SRC_SIMPLE_TYPE_4" title="Permalink to this definition">¶</a></dt>
3874 <dl class="py attribute">
3875 <dt id="lxml.etree.ErrorTypes.SCHEMAP_SRC_UNION_MEMBERTYPES_OR_SIMPLETYPES">
3876 <code class="sig-name descname">SCHEMAP_SRC_UNION_MEMBERTYPES_OR_SIMPLETYPES</code><em class="property"> = 3007</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_SRC_UNION_MEMBERTYPES_OR_SIMPLETYPES" title="Permalink to this definition">¶</a></dt>
3879 <dl class="py attribute">
3880 <dt id="lxml.etree.ErrorTypes.SCHEMAP_ST_PROPS_CORRECT_1">
3881 <code class="sig-name descname">SCHEMAP_ST_PROPS_CORRECT_1</code><em class="property"> = 3008</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_ST_PROPS_CORRECT_1" title="Permalink to this definition">¶</a></dt>
3884 <dl class="py attribute">
3885 <dt id="lxml.etree.ErrorTypes.SCHEMAP_ST_PROPS_CORRECT_2">
3886 <code class="sig-name descname">SCHEMAP_ST_PROPS_CORRECT_2</code><em class="property"> = 3009</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_ST_PROPS_CORRECT_2" title="Permalink to this definition">¶</a></dt>
3889 <dl class="py attribute">
3890 <dt id="lxml.etree.ErrorTypes.SCHEMAP_ST_PROPS_CORRECT_3">
3891 <code class="sig-name descname">SCHEMAP_ST_PROPS_CORRECT_3</code><em class="property"> = 3010</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_ST_PROPS_CORRECT_3" title="Permalink to this definition">¶</a></dt>
3894 <dl class="py attribute">
3895 <dt id="lxml.etree.ErrorTypes.SCHEMAP_SUPERNUMEROUS_LIST_ITEM_TYPE">
3896 <code class="sig-name descname">SCHEMAP_SUPERNUMEROUS_LIST_ITEM_TYPE</code><em class="property"> = 1776</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_SUPERNUMEROUS_LIST_ITEM_TYPE" title="Permalink to this definition">¶</a></dt>
3899 <dl class="py attribute">
3900 <dt id="lxml.etree.ErrorTypes.SCHEMAP_TYPE_AND_SUBTYPE">
3901 <code class="sig-name descname">SCHEMAP_TYPE_AND_SUBTYPE</code><em class="property"> = 1728</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_TYPE_AND_SUBTYPE" title="Permalink to this definition">¶</a></dt>
3904 <dl class="py attribute">
3905 <dt id="lxml.etree.ErrorTypes.SCHEMAP_UNION_NOT_EXPRESSIBLE">
3906 <code class="sig-name descname">SCHEMAP_UNION_NOT_EXPRESSIBLE</code><em class="property"> = 1794</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_UNION_NOT_EXPRESSIBLE" title="Permalink to this definition">¶</a></dt>
3909 <dl class="py attribute">
3910 <dt id="lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_ALL_CHILD">
3911 <code class="sig-name descname">SCHEMAP_UNKNOWN_ALL_CHILD</code><em class="property"> = 1729</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_ALL_CHILD" title="Permalink to this definition">¶</a></dt>
3914 <dl class="py attribute">
3915 <dt id="lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_ANYATTRIBUTE_CHILD">
3916 <code class="sig-name descname">SCHEMAP_UNKNOWN_ANYATTRIBUTE_CHILD</code><em class="property"> = 1730</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_ANYATTRIBUTE_CHILD" title="Permalink to this definition">¶</a></dt>
3919 <dl class="py attribute">
3920 <dt id="lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_ATTRGRP_CHILD">
3921 <code class="sig-name descname">SCHEMAP_UNKNOWN_ATTRGRP_CHILD</code><em class="property"> = 1732</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_ATTRGRP_CHILD" title="Permalink to this definition">¶</a></dt>
3924 <dl class="py attribute">
3925 <dt id="lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_ATTRIBUTE_GROUP">
3926 <code class="sig-name descname">SCHEMAP_UNKNOWN_ATTRIBUTE_GROUP</code><em class="property"> = 1733</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_ATTRIBUTE_GROUP" title="Permalink to this definition">¶</a></dt>
3929 <dl class="py attribute">
3930 <dt id="lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_ATTR_CHILD">
3931 <code class="sig-name descname">SCHEMAP_UNKNOWN_ATTR_CHILD</code><em class="property"> = 1731</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_ATTR_CHILD" title="Permalink to this definition">¶</a></dt>
3934 <dl class="py attribute">
3935 <dt id="lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_BASE_TYPE">
3936 <code class="sig-name descname">SCHEMAP_UNKNOWN_BASE_TYPE</code><em class="property"> = 1734</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_BASE_TYPE" title="Permalink to this definition">¶</a></dt>
3939 <dl class="py attribute">
3940 <dt id="lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_CHOICE_CHILD">
3941 <code class="sig-name descname">SCHEMAP_UNKNOWN_CHOICE_CHILD</code><em class="property"> = 1735</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_CHOICE_CHILD" title="Permalink to this definition">¶</a></dt>
3944 <dl class="py attribute">
3945 <dt id="lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_COMPLEXCONTENT_CHILD">
3946 <code class="sig-name descname">SCHEMAP_UNKNOWN_COMPLEXCONTENT_CHILD</code><em class="property"> = 1736</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_COMPLEXCONTENT_CHILD" title="Permalink to this definition">¶</a></dt>
3949 <dl class="py attribute">
3950 <dt id="lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_COMPLEXTYPE_CHILD">
3951 <code class="sig-name descname">SCHEMAP_UNKNOWN_COMPLEXTYPE_CHILD</code><em class="property"> = 1737</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_COMPLEXTYPE_CHILD" title="Permalink to this definition">¶</a></dt>
3954 <dl class="py attribute">
3955 <dt id="lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_ELEM_CHILD">
3956 <code class="sig-name descname">SCHEMAP_UNKNOWN_ELEM_CHILD</code><em class="property"> = 1738</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_ELEM_CHILD" title="Permalink to this definition">¶</a></dt>
3959 <dl class="py attribute">
3960 <dt id="lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_EXTENSION_CHILD">
3961 <code class="sig-name descname">SCHEMAP_UNKNOWN_EXTENSION_CHILD</code><em class="property"> = 1739</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_EXTENSION_CHILD" title="Permalink to this definition">¶</a></dt>
3964 <dl class="py attribute">
3965 <dt id="lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_FACET_CHILD">
3966 <code class="sig-name descname">SCHEMAP_UNKNOWN_FACET_CHILD</code><em class="property"> = 1740</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_FACET_CHILD" title="Permalink to this definition">¶</a></dt>
3969 <dl class="py attribute">
3970 <dt id="lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_FACET_TYPE">
3971 <code class="sig-name descname">SCHEMAP_UNKNOWN_FACET_TYPE</code><em class="property"> = 1741</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_FACET_TYPE" title="Permalink to this definition">¶</a></dt>
3974 <dl class="py attribute">
3975 <dt id="lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_GROUP_CHILD">
3976 <code class="sig-name descname">SCHEMAP_UNKNOWN_GROUP_CHILD</code><em class="property"> = 1742</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_GROUP_CHILD" title="Permalink to this definition">¶</a></dt>
3979 <dl class="py attribute">
3980 <dt id="lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_IMPORT_CHILD">
3981 <code class="sig-name descname">SCHEMAP_UNKNOWN_IMPORT_CHILD</code><em class="property"> = 1743</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_IMPORT_CHILD" title="Permalink to this definition">¶</a></dt>
3984 <dl class="py attribute">
3985 <dt id="lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_INCLUDE_CHILD">
3986 <code class="sig-name descname">SCHEMAP_UNKNOWN_INCLUDE_CHILD</code><em class="property"> = 1769</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_INCLUDE_CHILD" title="Permalink to this definition">¶</a></dt>
3989 <dl class="py attribute">
3990 <dt id="lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_LIST_CHILD">
3991 <code class="sig-name descname">SCHEMAP_UNKNOWN_LIST_CHILD</code><em class="property"> = 1744</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_LIST_CHILD" title="Permalink to this definition">¶</a></dt>
3994 <dl class="py attribute">
3995 <dt id="lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_MEMBER_TYPE">
3996 <code class="sig-name descname">SCHEMAP_UNKNOWN_MEMBER_TYPE</code><em class="property"> = 1773</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_MEMBER_TYPE" title="Permalink to this definition">¶</a></dt>
3999 <dl class="py attribute">
4000 <dt id="lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_NOTATION_CHILD">
4001 <code class="sig-name descname">SCHEMAP_UNKNOWN_NOTATION_CHILD</code><em class="property"> = 1745</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_NOTATION_CHILD" title="Permalink to this definition">¶</a></dt>
4004 <dl class="py attribute">
4005 <dt id="lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_PREFIX">
4006 <code class="sig-name descname">SCHEMAP_UNKNOWN_PREFIX</code><em class="property"> = 1767</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_PREFIX" title="Permalink to this definition">¶</a></dt>
4009 <dl class="py attribute">
4010 <dt id="lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_PROCESSCONTENT_CHILD">
4011 <code class="sig-name descname">SCHEMAP_UNKNOWN_PROCESSCONTENT_CHILD</code><em class="property"> = 1746</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_PROCESSCONTENT_CHILD" title="Permalink to this definition">¶</a></dt>
4014 <dl class="py attribute">
4015 <dt id="lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_REF">
4016 <code class="sig-name descname">SCHEMAP_UNKNOWN_REF</code><em class="property"> = 1747</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_REF" title="Permalink to this definition">¶</a></dt>
4019 <dl class="py attribute">
4020 <dt id="lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_RESTRICTION_CHILD">
4021 <code class="sig-name descname">SCHEMAP_UNKNOWN_RESTRICTION_CHILD</code><em class="property"> = 1748</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_RESTRICTION_CHILD" title="Permalink to this definition">¶</a></dt>
4024 <dl class="py attribute">
4025 <dt id="lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_SCHEMAS_CHILD">
4026 <code class="sig-name descname">SCHEMAP_UNKNOWN_SCHEMAS_CHILD</code><em class="property"> = 1749</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_SCHEMAS_CHILD" title="Permalink to this definition">¶</a></dt>
4029 <dl class="py attribute">
4030 <dt id="lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_SEQUENCE_CHILD">
4031 <code class="sig-name descname">SCHEMAP_UNKNOWN_SEQUENCE_CHILD</code><em class="property"> = 1750</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_SEQUENCE_CHILD" title="Permalink to this definition">¶</a></dt>
4034 <dl class="py attribute">
4035 <dt id="lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_SIMPLECONTENT_CHILD">
4036 <code class="sig-name descname">SCHEMAP_UNKNOWN_SIMPLECONTENT_CHILD</code><em class="property"> = 1751</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_SIMPLECONTENT_CHILD" title="Permalink to this definition">¶</a></dt>
4039 <dl class="py attribute">
4040 <dt id="lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_SIMPLETYPE_CHILD">
4041 <code class="sig-name descname">SCHEMAP_UNKNOWN_SIMPLETYPE_CHILD</code><em class="property"> = 1752</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_SIMPLETYPE_CHILD" title="Permalink to this definition">¶</a></dt>
4044 <dl class="py attribute">
4045 <dt id="lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_TYPE">
4046 <code class="sig-name descname">SCHEMAP_UNKNOWN_TYPE</code><em class="property"> = 1753</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_TYPE" title="Permalink to this definition">¶</a></dt>
4049 <dl class="py attribute">
4050 <dt id="lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_UNION_CHILD">
4051 <code class="sig-name descname">SCHEMAP_UNKNOWN_UNION_CHILD</code><em class="property"> = 1754</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_UNKNOWN_UNION_CHILD" title="Permalink to this definition">¶</a></dt>
4054 <dl class="py attribute">
4055 <dt id="lxml.etree.ErrorTypes.SCHEMAP_WARN_ATTR_POINTLESS_PROH">
4056 <code class="sig-name descname">SCHEMAP_WARN_ATTR_POINTLESS_PROH</code><em class="property"> = 3086</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_WARN_ATTR_POINTLESS_PROH" title="Permalink to this definition">¶</a></dt>
4059 <dl class="py attribute">
4060 <dt id="lxml.etree.ErrorTypes.SCHEMAP_WARN_ATTR_REDECL_PROH">
4061 <code class="sig-name descname">SCHEMAP_WARN_ATTR_REDECL_PROH</code><em class="property"> = 3085</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_WARN_ATTR_REDECL_PROH" title="Permalink to this definition">¶</a></dt>
4064 <dl class="py attribute">
4065 <dt id="lxml.etree.ErrorTypes.SCHEMAP_WARN_SKIP_SCHEMA">
4066 <code class="sig-name descname">SCHEMAP_WARN_SKIP_SCHEMA</code><em class="property"> = 3083</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_WARN_SKIP_SCHEMA" title="Permalink to this definition">¶</a></dt>
4069 <dl class="py attribute">
4070 <dt id="lxml.etree.ErrorTypes.SCHEMAP_WARN_UNLOCATED_SCHEMA">
4071 <code class="sig-name descname">SCHEMAP_WARN_UNLOCATED_SCHEMA</code><em class="property"> = 3084</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_WARN_UNLOCATED_SCHEMA" title="Permalink to this definition">¶</a></dt>
4074 <dl class="py attribute">
4075 <dt id="lxml.etree.ErrorTypes.SCHEMAP_WILDCARD_INVALID_NS_MEMBER">
4076 <code class="sig-name descname">SCHEMAP_WILDCARD_INVALID_NS_MEMBER</code><em class="property"> = 1792</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAP_WILDCARD_INVALID_NS_MEMBER" title="Permalink to this definition">¶</a></dt>
4079 <dl class="py attribute">
4080 <dt id="lxml.etree.ErrorTypes.SCHEMATRONV_ASSERT">
4081 <code class="sig-name descname">SCHEMATRONV_ASSERT</code><em class="property"> = 4000</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMATRONV_ASSERT" title="Permalink to this definition">¶</a></dt>
4084 <dl class="py attribute">
4085 <dt id="lxml.etree.ErrorTypes.SCHEMATRONV_REPORT">
4086 <code class="sig-name descname">SCHEMATRONV_REPORT</code><em class="property"> = 4001</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMATRONV_REPORT" title="Permalink to this definition">¶</a></dt>
4089 <dl class="py attribute">
4090 <dt id="lxml.etree.ErrorTypes.SCHEMAV_ATTRINVALID">
4091 <code class="sig-name descname">SCHEMAV_ATTRINVALID</code><em class="property"> = 1821</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_ATTRINVALID" title="Permalink to this definition">¶</a></dt>
4094 <dl class="py attribute">
4095 <dt id="lxml.etree.ErrorTypes.SCHEMAV_ATTRUNKNOWN">
4096 <code class="sig-name descname">SCHEMAV_ATTRUNKNOWN</code><em class="property"> = 1820</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_ATTRUNKNOWN" title="Permalink to this definition">¶</a></dt>
4099 <dl class="py attribute">
4100 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CONSTRUCT">
4101 <code class="sig-name descname">SCHEMAV_CONSTRUCT</code><em class="property"> = 1817</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CONSTRUCT" title="Permalink to this definition">¶</a></dt>
4104 <dl class="py attribute">
4105 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_ATTRIBUTE_1">
4106 <code class="sig-name descname">SCHEMAV_CVC_ATTRIBUTE_1</code><em class="property"> = 1861</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_ATTRIBUTE_1" title="Permalink to this definition">¶</a></dt>
4109 <dl class="py attribute">
4110 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_ATTRIBUTE_2">
4111 <code class="sig-name descname">SCHEMAV_CVC_ATTRIBUTE_2</code><em class="property"> = 1862</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_ATTRIBUTE_2" title="Permalink to this definition">¶</a></dt>
4114 <dl class="py attribute">
4115 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_ATTRIBUTE_3">
4116 <code class="sig-name descname">SCHEMAV_CVC_ATTRIBUTE_3</code><em class="property"> = 1863</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_ATTRIBUTE_3" title="Permalink to this definition">¶</a></dt>
4119 <dl class="py attribute">
4120 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_ATTRIBUTE_4">
4121 <code class="sig-name descname">SCHEMAV_CVC_ATTRIBUTE_4</code><em class="property"> = 1864</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_ATTRIBUTE_4" title="Permalink to this definition">¶</a></dt>
4124 <dl class="py attribute">
4125 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_AU">
4126 <code class="sig-name descname">SCHEMAV_CVC_AU</code><em class="property"> = 1874</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_AU" title="Permalink to this definition">¶</a></dt>
4129 <dl class="py attribute">
4130 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_COMPLEX_TYPE_1">
4131 <code class="sig-name descname">SCHEMAV_CVC_COMPLEX_TYPE_1</code><em class="property"> = 1873</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_COMPLEX_TYPE_1" title="Permalink to this definition">¶</a></dt>
4134 <dl class="py attribute">
4135 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_COMPLEX_TYPE_2_1">
4136 <code class="sig-name descname">SCHEMAV_CVC_COMPLEX_TYPE_2_1</code><em class="property"> = 1841</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_COMPLEX_TYPE_2_1" title="Permalink to this definition">¶</a></dt>
4139 <dl class="py attribute">
4140 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_COMPLEX_TYPE_2_2">
4141 <code class="sig-name descname">SCHEMAV_CVC_COMPLEX_TYPE_2_2</code><em class="property"> = 1842</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_COMPLEX_TYPE_2_2" title="Permalink to this definition">¶</a></dt>
4144 <dl class="py attribute">
4145 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_COMPLEX_TYPE_2_3">
4146 <code class="sig-name descname">SCHEMAV_CVC_COMPLEX_TYPE_2_3</code><em class="property"> = 1843</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_COMPLEX_TYPE_2_3" title="Permalink to this definition">¶</a></dt>
4149 <dl class="py attribute">
4150 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_COMPLEX_TYPE_2_4">
4151 <code class="sig-name descname">SCHEMAV_CVC_COMPLEX_TYPE_2_4</code><em class="property"> = 1844</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_COMPLEX_TYPE_2_4" title="Permalink to this definition">¶</a></dt>
4154 <dl class="py attribute">
4155 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_COMPLEX_TYPE_3_1">
4156 <code class="sig-name descname">SCHEMAV_CVC_COMPLEX_TYPE_3_1</code><em class="property"> = 1865</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_COMPLEX_TYPE_3_1" title="Permalink to this definition">¶</a></dt>
4159 <dl class="py attribute">
4160 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_COMPLEX_TYPE_3_2_1">
4161 <code class="sig-name descname">SCHEMAV_CVC_COMPLEX_TYPE_3_2_1</code><em class="property"> = 1866</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_COMPLEX_TYPE_3_2_1" title="Permalink to this definition">¶</a></dt>
4164 <dl class="py attribute">
4165 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_COMPLEX_TYPE_3_2_2">
4166 <code class="sig-name descname">SCHEMAV_CVC_COMPLEX_TYPE_3_2_2</code><em class="property"> = 1867</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_COMPLEX_TYPE_3_2_2" title="Permalink to this definition">¶</a></dt>
4169 <dl class="py attribute">
4170 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_COMPLEX_TYPE_4">
4171 <code class="sig-name descname">SCHEMAV_CVC_COMPLEX_TYPE_4</code><em class="property"> = 1868</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_COMPLEX_TYPE_4" title="Permalink to this definition">¶</a></dt>
4174 <dl class="py attribute">
4175 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_COMPLEX_TYPE_5_1">
4176 <code class="sig-name descname">SCHEMAV_CVC_COMPLEX_TYPE_5_1</code><em class="property"> = 1869</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_COMPLEX_TYPE_5_1" title="Permalink to this definition">¶</a></dt>
4179 <dl class="py attribute">
4180 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_COMPLEX_TYPE_5_2">
4181 <code class="sig-name descname">SCHEMAV_CVC_COMPLEX_TYPE_5_2</code><em class="property"> = 1870</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_COMPLEX_TYPE_5_2" title="Permalink to this definition">¶</a></dt>
4184 <dl class="py attribute">
4185 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_DATATYPE_VALID_1_2_1">
4186 <code class="sig-name descname">SCHEMAV_CVC_DATATYPE_VALID_1_2_1</code><em class="property"> = 1824</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_DATATYPE_VALID_1_2_1" title="Permalink to this definition">¶</a></dt>
4189 <dl class="py attribute">
4190 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_DATATYPE_VALID_1_2_2">
4191 <code class="sig-name descname">SCHEMAV_CVC_DATATYPE_VALID_1_2_2</code><em class="property"> = 1825</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_DATATYPE_VALID_1_2_2" title="Permalink to this definition">¶</a></dt>
4194 <dl class="py attribute">
4195 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_DATATYPE_VALID_1_2_3">
4196 <code class="sig-name descname">SCHEMAV_CVC_DATATYPE_VALID_1_2_3</code><em class="property"> = 1826</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_DATATYPE_VALID_1_2_3" title="Permalink to this definition">¶</a></dt>
4199 <dl class="py attribute">
4200 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_ELT_1">
4201 <code class="sig-name descname">SCHEMAV_CVC_ELT_1</code><em class="property"> = 1845</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_ELT_1" title="Permalink to this definition">¶</a></dt>
4204 <dl class="py attribute">
4205 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_ELT_2">
4206 <code class="sig-name descname">SCHEMAV_CVC_ELT_2</code><em class="property"> = 1846</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_ELT_2" title="Permalink to this definition">¶</a></dt>
4209 <dl class="py attribute">
4210 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_ELT_3_1">
4211 <code class="sig-name descname">SCHEMAV_CVC_ELT_3_1</code><em class="property"> = 1847</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_ELT_3_1" title="Permalink to this definition">¶</a></dt>
4214 <dl class="py attribute">
4215 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_ELT_3_2_1">
4216 <code class="sig-name descname">SCHEMAV_CVC_ELT_3_2_1</code><em class="property"> = 1848</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_ELT_3_2_1" title="Permalink to this definition">¶</a></dt>
4219 <dl class="py attribute">
4220 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_ELT_3_2_2">
4221 <code class="sig-name descname">SCHEMAV_CVC_ELT_3_2_2</code><em class="property"> = 1849</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_ELT_3_2_2" title="Permalink to this definition">¶</a></dt>
4224 <dl class="py attribute">
4225 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_ELT_4_1">
4226 <code class="sig-name descname">SCHEMAV_CVC_ELT_4_1</code><em class="property"> = 1850</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_ELT_4_1" title="Permalink to this definition">¶</a></dt>
4229 <dl class="py attribute">
4230 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_ELT_4_2">
4231 <code class="sig-name descname">SCHEMAV_CVC_ELT_4_2</code><em class="property"> = 1851</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_ELT_4_2" title="Permalink to this definition">¶</a></dt>
4234 <dl class="py attribute">
4235 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_ELT_4_3">
4236 <code class="sig-name descname">SCHEMAV_CVC_ELT_4_3</code><em class="property"> = 1852</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_ELT_4_3" title="Permalink to this definition">¶</a></dt>
4239 <dl class="py attribute">
4240 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_ELT_5_1_1">
4241 <code class="sig-name descname">SCHEMAV_CVC_ELT_5_1_1</code><em class="property"> = 1853</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_ELT_5_1_1" title="Permalink to this definition">¶</a></dt>
4244 <dl class="py attribute">
4245 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_ELT_5_1_2">
4246 <code class="sig-name descname">SCHEMAV_CVC_ELT_5_1_2</code><em class="property"> = 1854</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_ELT_5_1_2" title="Permalink to this definition">¶</a></dt>
4249 <dl class="py attribute">
4250 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_ELT_5_2_1">
4251 <code class="sig-name descname">SCHEMAV_CVC_ELT_5_2_1</code><em class="property"> = 1855</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_ELT_5_2_1" title="Permalink to this definition">¶</a></dt>
4254 <dl class="py attribute">
4255 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_ELT_5_2_2_1">
4256 <code class="sig-name descname">SCHEMAV_CVC_ELT_5_2_2_1</code><em class="property"> = 1856</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_ELT_5_2_2_1" title="Permalink to this definition">¶</a></dt>
4259 <dl class="py attribute">
4260 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_ELT_5_2_2_2_1">
4261 <code class="sig-name descname">SCHEMAV_CVC_ELT_5_2_2_2_1</code><em class="property"> = 1857</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_ELT_5_2_2_2_1" title="Permalink to this definition">¶</a></dt>
4264 <dl class="py attribute">
4265 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_ELT_5_2_2_2_2">
4266 <code class="sig-name descname">SCHEMAV_CVC_ELT_5_2_2_2_2</code><em class="property"> = 1858</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_ELT_5_2_2_2_2" title="Permalink to this definition">¶</a></dt>
4269 <dl class="py attribute">
4270 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_ELT_6">
4271 <code class="sig-name descname">SCHEMAV_CVC_ELT_6</code><em class="property"> = 1859</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_ELT_6" title="Permalink to this definition">¶</a></dt>
4274 <dl class="py attribute">
4275 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_ELT_7">
4276 <code class="sig-name descname">SCHEMAV_CVC_ELT_7</code><em class="property"> = 1860</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_ELT_7" title="Permalink to this definition">¶</a></dt>
4279 <dl class="py attribute">
4280 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_ENUMERATION_VALID">
4281 <code class="sig-name descname">SCHEMAV_CVC_ENUMERATION_VALID</code><em class="property"> = 1840</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_ENUMERATION_VALID" title="Permalink to this definition">¶</a></dt>
4284 <dl class="py attribute">
4285 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_FACET_VALID">
4286 <code class="sig-name descname">SCHEMAV_CVC_FACET_VALID</code><em class="property"> = 1829</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_FACET_VALID" title="Permalink to this definition">¶</a></dt>
4289 <dl class="py attribute">
4290 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_FRACTIONDIGITS_VALID">
4291 <code class="sig-name descname">SCHEMAV_CVC_FRACTIONDIGITS_VALID</code><em class="property"> = 1838</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_FRACTIONDIGITS_VALID" title="Permalink to this definition">¶</a></dt>
4294 <dl class="py attribute">
4295 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_IDC">
4296 <code class="sig-name descname">SCHEMAV_CVC_IDC</code><em class="property"> = 1877</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_IDC" title="Permalink to this definition">¶</a></dt>
4299 <dl class="py attribute">
4300 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_LENGTH_VALID">
4301 <code class="sig-name descname">SCHEMAV_CVC_LENGTH_VALID</code><em class="property"> = 1830</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_LENGTH_VALID" title="Permalink to this definition">¶</a></dt>
4304 <dl class="py attribute">
4305 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_MAXEXCLUSIVE_VALID">
4306 <code class="sig-name descname">SCHEMAV_CVC_MAXEXCLUSIVE_VALID</code><em class="property"> = 1836</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_MAXEXCLUSIVE_VALID" title="Permalink to this definition">¶</a></dt>
4309 <dl class="py attribute">
4310 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_MAXINCLUSIVE_VALID">
4311 <code class="sig-name descname">SCHEMAV_CVC_MAXINCLUSIVE_VALID</code><em class="property"> = 1834</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_MAXINCLUSIVE_VALID" title="Permalink to this definition">¶</a></dt>
4314 <dl class="py attribute">
4315 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_MAXLENGTH_VALID">
4316 <code class="sig-name descname">SCHEMAV_CVC_MAXLENGTH_VALID</code><em class="property"> = 1832</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_MAXLENGTH_VALID" title="Permalink to this definition">¶</a></dt>
4319 <dl class="py attribute">
4320 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_MINEXCLUSIVE_VALID">
4321 <code class="sig-name descname">SCHEMAV_CVC_MINEXCLUSIVE_VALID</code><em class="property"> = 1835</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_MINEXCLUSIVE_VALID" title="Permalink to this definition">¶</a></dt>
4324 <dl class="py attribute">
4325 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_MININCLUSIVE_VALID">
4326 <code class="sig-name descname">SCHEMAV_CVC_MININCLUSIVE_VALID</code><em class="property"> = 1833</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_MININCLUSIVE_VALID" title="Permalink to this definition">¶</a></dt>
4329 <dl class="py attribute">
4330 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_MINLENGTH_VALID">
4331 <code class="sig-name descname">SCHEMAV_CVC_MINLENGTH_VALID</code><em class="property"> = 1831</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_MINLENGTH_VALID" title="Permalink to this definition">¶</a></dt>
4334 <dl class="py attribute">
4335 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_PATTERN_VALID">
4336 <code class="sig-name descname">SCHEMAV_CVC_PATTERN_VALID</code><em class="property"> = 1839</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_PATTERN_VALID" title="Permalink to this definition">¶</a></dt>
4339 <dl class="py attribute">
4340 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_TOTALDIGITS_VALID">
4341 <code class="sig-name descname">SCHEMAV_CVC_TOTALDIGITS_VALID</code><em class="property"> = 1837</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_TOTALDIGITS_VALID" title="Permalink to this definition">¶</a></dt>
4344 <dl class="py attribute">
4345 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_TYPE_1">
4346 <code class="sig-name descname">SCHEMAV_CVC_TYPE_1</code><em class="property"> = 1875</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_TYPE_1" title="Permalink to this definition">¶</a></dt>
4349 <dl class="py attribute">
4350 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_TYPE_2">
4351 <code class="sig-name descname">SCHEMAV_CVC_TYPE_2</code><em class="property"> = 1876</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_TYPE_2" title="Permalink to this definition">¶</a></dt>
4354 <dl class="py attribute">
4355 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_TYPE_3_1_1">
4356 <code class="sig-name descname">SCHEMAV_CVC_TYPE_3_1_1</code><em class="property"> = 1827</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_TYPE_3_1_1" title="Permalink to this definition">¶</a></dt>
4359 <dl class="py attribute">
4360 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_TYPE_3_1_2">
4361 <code class="sig-name descname">SCHEMAV_CVC_TYPE_3_1_2</code><em class="property"> = 1828</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_TYPE_3_1_2" title="Permalink to this definition">¶</a></dt>
4364 <dl class="py attribute">
4365 <dt id="lxml.etree.ErrorTypes.SCHEMAV_CVC_WILDCARD">
4366 <code class="sig-name descname">SCHEMAV_CVC_WILDCARD</code><em class="property"> = 1878</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_CVC_WILDCARD" title="Permalink to this definition">¶</a></dt>
4369 <dl class="py attribute">
4370 <dt id="lxml.etree.ErrorTypes.SCHEMAV_DOCUMENT_ELEMENT_MISSING">
4371 <code class="sig-name descname">SCHEMAV_DOCUMENT_ELEMENT_MISSING</code><em class="property"> = 1872</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_DOCUMENT_ELEMENT_MISSING" title="Permalink to this definition">¶</a></dt>
4374 <dl class="py attribute">
4375 <dt id="lxml.etree.ErrorTypes.SCHEMAV_ELEMCONT">
4376 <code class="sig-name descname">SCHEMAV_ELEMCONT</code><em class="property"> = 1810</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_ELEMCONT" title="Permalink to this definition">¶</a></dt>
4379 <dl class="py attribute">
4380 <dt id="lxml.etree.ErrorTypes.SCHEMAV_ELEMENT_CONTENT">
4381 <code class="sig-name descname">SCHEMAV_ELEMENT_CONTENT</code><em class="property"> = 1871</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_ELEMENT_CONTENT" title="Permalink to this definition">¶</a></dt>
4384 <dl class="py attribute">
4385 <dt id="lxml.etree.ErrorTypes.SCHEMAV_EXTRACONTENT">
4386 <code class="sig-name descname">SCHEMAV_EXTRACONTENT</code><em class="property"> = 1813</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_EXTRACONTENT" title="Permalink to this definition">¶</a></dt>
4389 <dl class="py attribute">
4390 <dt id="lxml.etree.ErrorTypes.SCHEMAV_FACET">
4391 <code class="sig-name descname">SCHEMAV_FACET</code><em class="property"> = 1823</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_FACET" title="Permalink to this definition">¶</a></dt>
4394 <dl class="py attribute">
4395 <dt id="lxml.etree.ErrorTypes.SCHEMAV_HAVEDEFAULT">
4396 <code class="sig-name descname">SCHEMAV_HAVEDEFAULT</code><em class="property"> = 1811</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_HAVEDEFAULT" title="Permalink to this definition">¶</a></dt>
4399 <dl class="py attribute">
4400 <dt id="lxml.etree.ErrorTypes.SCHEMAV_INTERNAL">
4401 <code class="sig-name descname">SCHEMAV_INTERNAL</code><em class="property"> = 1818</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_INTERNAL" title="Permalink to this definition">¶</a></dt>
4404 <dl class="py attribute">
4405 <dt id="lxml.etree.ErrorTypes.SCHEMAV_INVALIDATTR">
4406 <code class="sig-name descname">SCHEMAV_INVALIDATTR</code><em class="property"> = 1814</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_INVALIDATTR" title="Permalink to this definition">¶</a></dt>
4409 <dl class="py attribute">
4410 <dt id="lxml.etree.ErrorTypes.SCHEMAV_INVALIDELEM">
4411 <code class="sig-name descname">SCHEMAV_INVALIDELEM</code><em class="property"> = 1815</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_INVALIDELEM" title="Permalink to this definition">¶</a></dt>
4414 <dl class="py attribute">
4415 <dt id="lxml.etree.ErrorTypes.SCHEMAV_ISABSTRACT">
4416 <code class="sig-name descname">SCHEMAV_ISABSTRACT</code><em class="property"> = 1808</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_ISABSTRACT" title="Permalink to this definition">¶</a></dt>
4419 <dl class="py attribute">
4420 <dt id="lxml.etree.ErrorTypes.SCHEMAV_MISC">
4421 <code class="sig-name descname">SCHEMAV_MISC</code><em class="property"> = 1879</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_MISC" title="Permalink to this definition">¶</a></dt>
4424 <dl class="py attribute">
4425 <dt id="lxml.etree.ErrorTypes.SCHEMAV_MISSING">
4426 <code class="sig-name descname">SCHEMAV_MISSING</code><em class="property"> = 1804</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_MISSING" title="Permalink to this definition">¶</a></dt>
4429 <dl class="py attribute">
4430 <dt id="lxml.etree.ErrorTypes.SCHEMAV_NOROLLBACK">
4431 <code class="sig-name descname">SCHEMAV_NOROLLBACK</code><em class="property"> = 1807</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_NOROLLBACK" title="Permalink to this definition">¶</a></dt>
4434 <dl class="py attribute">
4435 <dt id="lxml.etree.ErrorTypes.SCHEMAV_NOROOT">
4436 <code class="sig-name descname">SCHEMAV_NOROOT</code><em class="property"> = 1801</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_NOROOT" title="Permalink to this definition">¶</a></dt>
4439 <dl class="py attribute">
4440 <dt id="lxml.etree.ErrorTypes.SCHEMAV_NOTDETERMINIST">
4441 <code class="sig-name descname">SCHEMAV_NOTDETERMINIST</code><em class="property"> = 1816</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_NOTDETERMINIST" title="Permalink to this definition">¶</a></dt>
4444 <dl class="py attribute">
4445 <dt id="lxml.etree.ErrorTypes.SCHEMAV_NOTEMPTY">
4446 <code class="sig-name descname">SCHEMAV_NOTEMPTY</code><em class="property"> = 1809</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_NOTEMPTY" title="Permalink to this definition">¶</a></dt>
4449 <dl class="py attribute">
4450 <dt id="lxml.etree.ErrorTypes.SCHEMAV_NOTNILLABLE">
4451 <code class="sig-name descname">SCHEMAV_NOTNILLABLE</code><em class="property"> = 1812</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_NOTNILLABLE" title="Permalink to this definition">¶</a></dt>
4454 <dl class="py attribute">
4455 <dt id="lxml.etree.ErrorTypes.SCHEMAV_NOTSIMPLE">
4456 <code class="sig-name descname">SCHEMAV_NOTSIMPLE</code><em class="property"> = 1819</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_NOTSIMPLE" title="Permalink to this definition">¶</a></dt>
4459 <dl class="py attribute">
4460 <dt id="lxml.etree.ErrorTypes.SCHEMAV_NOTTOPLEVEL">
4461 <code class="sig-name descname">SCHEMAV_NOTTOPLEVEL</code><em class="property"> = 1803</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_NOTTOPLEVEL" title="Permalink to this definition">¶</a></dt>
4464 <dl class="py attribute">
4465 <dt id="lxml.etree.ErrorTypes.SCHEMAV_NOTYPE">
4466 <code class="sig-name descname">SCHEMAV_NOTYPE</code><em class="property"> = 1806</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_NOTYPE" title="Permalink to this definition">¶</a></dt>
4469 <dl class="py attribute">
4470 <dt id="lxml.etree.ErrorTypes.SCHEMAV_UNDECLAREDELEM">
4471 <code class="sig-name descname">SCHEMAV_UNDECLAREDELEM</code><em class="property"> = 1802</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_UNDECLAREDELEM" title="Permalink to this definition">¶</a></dt>
4474 <dl class="py attribute">
4475 <dt id="lxml.etree.ErrorTypes.SCHEMAV_VALUE">
4476 <code class="sig-name descname">SCHEMAV_VALUE</code><em class="property"> = 1822</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_VALUE" title="Permalink to this definition">¶</a></dt>
4479 <dl class="py attribute">
4480 <dt id="lxml.etree.ErrorTypes.SCHEMAV_WRONGELEM">
4481 <code class="sig-name descname">SCHEMAV_WRONGELEM</code><em class="property"> = 1805</em><a class="headerlink" href="#lxml.etree.ErrorTypes.SCHEMAV_WRONGELEM" title="Permalink to this definition">¶</a></dt>
4484 <dl class="py attribute">
4485 <dt id="lxml.etree.ErrorTypes.TREE_INVALID_DEC">
4486 <code class="sig-name descname">TREE_INVALID_DEC</code><em class="property"> = 1301</em><a class="headerlink" href="#lxml.etree.ErrorTypes.TREE_INVALID_DEC" title="Permalink to this definition">¶</a></dt>
4489 <dl class="py attribute">
4490 <dt id="lxml.etree.ErrorTypes.TREE_INVALID_HEX">
4491 <code class="sig-name descname">TREE_INVALID_HEX</code><em class="property"> = 1300</em><a class="headerlink" href="#lxml.etree.ErrorTypes.TREE_INVALID_HEX" title="Permalink to this definition">¶</a></dt>
4494 <dl class="py attribute">
4495 <dt id="lxml.etree.ErrorTypes.TREE_NOT_UTF8">
4496 <code class="sig-name descname">TREE_NOT_UTF8</code><em class="property"> = 1303</em><a class="headerlink" href="#lxml.etree.ErrorTypes.TREE_NOT_UTF8" title="Permalink to this definition">¶</a></dt>
4499 <dl class="py attribute">
4500 <dt id="lxml.etree.ErrorTypes.TREE_UNTERMINATED_ENTITY">
4501 <code class="sig-name descname">TREE_UNTERMINATED_ENTITY</code><em class="property"> = 1302</em><a class="headerlink" href="#lxml.etree.ErrorTypes.TREE_UNTERMINATED_ENTITY" title="Permalink to this definition">¶</a></dt>
4504 <dl class="py attribute">
4505 <dt id="lxml.etree.ErrorTypes.WAR_CATALOG_PI">
4506 <code class="sig-name descname">WAR_CATALOG_PI</code><em class="property"> = 93</em><a class="headerlink" href="#lxml.etree.ErrorTypes.WAR_CATALOG_PI" title="Permalink to this definition">¶</a></dt>
4509 <dl class="py attribute">
4510 <dt id="lxml.etree.ErrorTypes.WAR_ENTITY_REDEFINED">
4511 <code class="sig-name descname">WAR_ENTITY_REDEFINED</code><em class="property"> = 107</em><a class="headerlink" href="#lxml.etree.ErrorTypes.WAR_ENTITY_REDEFINED" title="Permalink to this definition">¶</a></dt>
4514 <dl class="py attribute">
4515 <dt id="lxml.etree.ErrorTypes.WAR_LANG_VALUE">
4516 <code class="sig-name descname">WAR_LANG_VALUE</code><em class="property"> = 98</em><a class="headerlink" href="#lxml.etree.ErrorTypes.WAR_LANG_VALUE" title="Permalink to this definition">¶</a></dt>
4519 <dl class="py attribute">
4520 <dt id="lxml.etree.ErrorTypes.WAR_NS_COLUMN">
4521 <code class="sig-name descname">WAR_NS_COLUMN</code><em class="property"> = 106</em><a class="headerlink" href="#lxml.etree.ErrorTypes.WAR_NS_COLUMN" title="Permalink to this definition">¶</a></dt>
4524 <dl class="py attribute">
4525 <dt id="lxml.etree.ErrorTypes.WAR_NS_URI">
4526 <code class="sig-name descname">WAR_NS_URI</code><em class="property"> = 99</em><a class="headerlink" href="#lxml.etree.ErrorTypes.WAR_NS_URI" title="Permalink to this definition">¶</a></dt>
4529 <dl class="py attribute">
4530 <dt id="lxml.etree.ErrorTypes.WAR_NS_URI_RELATIVE">
4531 <code class="sig-name descname">WAR_NS_URI_RELATIVE</code><em class="property"> = 100</em><a class="headerlink" href="#lxml.etree.ErrorTypes.WAR_NS_URI_RELATIVE" title="Permalink to this definition">¶</a></dt>
4534 <dl class="py attribute">
4535 <dt id="lxml.etree.ErrorTypes.WAR_SPACE_VALUE">
4536 <code class="sig-name descname">WAR_SPACE_VALUE</code><em class="property"> = 102</em><a class="headerlink" href="#lxml.etree.ErrorTypes.WAR_SPACE_VALUE" title="Permalink to this definition">¶</a></dt>
4539 <dl class="py attribute">
4540 <dt id="lxml.etree.ErrorTypes.WAR_UNDECLARED_ENTITY">
4541 <code class="sig-name descname">WAR_UNDECLARED_ENTITY</code><em class="property"> = 27</em><a class="headerlink" href="#lxml.etree.ErrorTypes.WAR_UNDECLARED_ENTITY" title="Permalink to this definition">¶</a></dt>
4544 <dl class="py attribute">
4545 <dt id="lxml.etree.ErrorTypes.WAR_UNKNOWN_VERSION">
4546 <code class="sig-name descname">WAR_UNKNOWN_VERSION</code><em class="property"> = 97</em><a class="headerlink" href="#lxml.etree.ErrorTypes.WAR_UNKNOWN_VERSION" title="Permalink to this definition">¶</a></dt>
4549 <dl class="py attribute">
4550 <dt id="lxml.etree.ErrorTypes.XINCLUDE_BUILD_FAILED">
4551 <code class="sig-name descname">XINCLUDE_BUILD_FAILED</code><em class="property"> = 1609</em><a class="headerlink" href="#lxml.etree.ErrorTypes.XINCLUDE_BUILD_FAILED" title="Permalink to this definition">¶</a></dt>
4554 <dl class="py attribute">
4555 <dt id="lxml.etree.ErrorTypes.XINCLUDE_DEPRECATED_NS">
4556 <code class="sig-name descname">XINCLUDE_DEPRECATED_NS</code><em class="property"> = 1617</em><a class="headerlink" href="#lxml.etree.ErrorTypes.XINCLUDE_DEPRECATED_NS" title="Permalink to this definition">¶</a></dt>
4559 <dl class="py attribute">
4560 <dt id="lxml.etree.ErrorTypes.XINCLUDE_ENTITY_DEF_MISMATCH">
4561 <code class="sig-name descname">XINCLUDE_ENTITY_DEF_MISMATCH</code><em class="property"> = 1602</em><a class="headerlink" href="#lxml.etree.ErrorTypes.XINCLUDE_ENTITY_DEF_MISMATCH" title="Permalink to this definition">¶</a></dt>
4564 <dl class="py attribute">
4565 <dt id="lxml.etree.ErrorTypes.XINCLUDE_FALLBACKS_IN_INCLUDE">
4566 <code class="sig-name descname">XINCLUDE_FALLBACKS_IN_INCLUDE</code><em class="property"> = 1615</em><a class="headerlink" href="#lxml.etree.ErrorTypes.XINCLUDE_FALLBACKS_IN_INCLUDE" title="Permalink to this definition">¶</a></dt>
4569 <dl class="py attribute">
4570 <dt id="lxml.etree.ErrorTypes.XINCLUDE_FALLBACK_NOT_IN_INCLUDE">
4571 <code class="sig-name descname">XINCLUDE_FALLBACK_NOT_IN_INCLUDE</code><em class="property"> = 1616</em><a class="headerlink" href="#lxml.etree.ErrorTypes.XINCLUDE_FALLBACK_NOT_IN_INCLUDE" title="Permalink to this definition">¶</a></dt>
4574 <dl class="py attribute">
4575 <dt id="lxml.etree.ErrorTypes.XINCLUDE_FRAGMENT_ID">
4576 <code class="sig-name descname">XINCLUDE_FRAGMENT_ID</code><em class="property"> = 1618</em><a class="headerlink" href="#lxml.etree.ErrorTypes.XINCLUDE_FRAGMENT_ID" title="Permalink to this definition">¶</a></dt>
4579 <dl class="py attribute">
4580 <dt id="lxml.etree.ErrorTypes.XINCLUDE_HREF_URI">
4581 <code class="sig-name descname">XINCLUDE_HREF_URI</code><em class="property"> = 1605</em><a class="headerlink" href="#lxml.etree.ErrorTypes.XINCLUDE_HREF_URI" title="Permalink to this definition">¶</a></dt>
4584 <dl class="py attribute">
4585 <dt id="lxml.etree.ErrorTypes.XINCLUDE_INCLUDE_IN_INCLUDE">
4586 <code class="sig-name descname">XINCLUDE_INCLUDE_IN_INCLUDE</code><em class="property"> = 1614</em><a class="headerlink" href="#lxml.etree.ErrorTypes.XINCLUDE_INCLUDE_IN_INCLUDE" title="Permalink to this definition">¶</a></dt>
4589 <dl class="py attribute">
4590 <dt id="lxml.etree.ErrorTypes.XINCLUDE_INVALID_CHAR">
4591 <code class="sig-name descname">XINCLUDE_INVALID_CHAR</code><em class="property"> = 1608</em><a class="headerlink" href="#lxml.etree.ErrorTypes.XINCLUDE_INVALID_CHAR" title="Permalink to this definition">¶</a></dt>
4594 <dl class="py attribute">
4595 <dt id="lxml.etree.ErrorTypes.XINCLUDE_MULTIPLE_ROOT">
4596 <code class="sig-name descname">XINCLUDE_MULTIPLE_ROOT</code><em class="property"> = 1611</em><a class="headerlink" href="#lxml.etree.ErrorTypes.XINCLUDE_MULTIPLE_ROOT" title="Permalink to this definition">¶</a></dt>
4599 <dl class="py attribute">
4600 <dt id="lxml.etree.ErrorTypes.XINCLUDE_NO_FALLBACK">
4601 <code class="sig-name descname">XINCLUDE_NO_FALLBACK</code><em class="property"> = 1604</em><a class="headerlink" href="#lxml.etree.ErrorTypes.XINCLUDE_NO_FALLBACK" title="Permalink to this definition">¶</a></dt>
4604 <dl class="py attribute">
4605 <dt id="lxml.etree.ErrorTypes.XINCLUDE_NO_HREF">
4606 <code class="sig-name descname">XINCLUDE_NO_HREF</code><em class="property"> = 1603</em><a class="headerlink" href="#lxml.etree.ErrorTypes.XINCLUDE_NO_HREF" title="Permalink to this definition">¶</a></dt>
4609 <dl class="py attribute">
4610 <dt id="lxml.etree.ErrorTypes.XINCLUDE_PARSE_VALUE">
4611 <code class="sig-name descname">XINCLUDE_PARSE_VALUE</code><em class="property"> = 1601</em><a class="headerlink" href="#lxml.etree.ErrorTypes.XINCLUDE_PARSE_VALUE" title="Permalink to this definition">¶</a></dt>
4614 <dl class="py attribute">
4615 <dt id="lxml.etree.ErrorTypes.XINCLUDE_RECURSION">
4616 <code class="sig-name descname">XINCLUDE_RECURSION</code><em class="property"> = 1600</em><a class="headerlink" href="#lxml.etree.ErrorTypes.XINCLUDE_RECURSION" title="Permalink to this definition">¶</a></dt>
4619 <dl class="py attribute">
4620 <dt id="lxml.etree.ErrorTypes.XINCLUDE_TEXT_DOCUMENT">
4621 <code class="sig-name descname">XINCLUDE_TEXT_DOCUMENT</code><em class="property"> = 1607</em><a class="headerlink" href="#lxml.etree.ErrorTypes.XINCLUDE_TEXT_DOCUMENT" title="Permalink to this definition">¶</a></dt>
4624 <dl class="py attribute">
4625 <dt id="lxml.etree.ErrorTypes.XINCLUDE_TEXT_FRAGMENT">
4626 <code class="sig-name descname">XINCLUDE_TEXT_FRAGMENT</code><em class="property"> = 1606</em><a class="headerlink" href="#lxml.etree.ErrorTypes.XINCLUDE_TEXT_FRAGMENT" title="Permalink to this definition">¶</a></dt>
4629 <dl class="py attribute">
4630 <dt id="lxml.etree.ErrorTypes.XINCLUDE_UNKNOWN_ENCODING">
4631 <code class="sig-name descname">XINCLUDE_UNKNOWN_ENCODING</code><em class="property"> = 1610</em><a class="headerlink" href="#lxml.etree.ErrorTypes.XINCLUDE_UNKNOWN_ENCODING" title="Permalink to this definition">¶</a></dt>
4634 <dl class="py attribute">
4635 <dt id="lxml.etree.ErrorTypes.XINCLUDE_XPTR_FAILED">
4636 <code class="sig-name descname">XINCLUDE_XPTR_FAILED</code><em class="property"> = 1612</em><a class="headerlink" href="#lxml.etree.ErrorTypes.XINCLUDE_XPTR_FAILED" title="Permalink to this definition">¶</a></dt>
4639 <dl class="py attribute">
4640 <dt id="lxml.etree.ErrorTypes.XINCLUDE_XPTR_RESULT">
4641 <code class="sig-name descname">XINCLUDE_XPTR_RESULT</code><em class="property"> = 1613</em><a class="headerlink" href="#lxml.etree.ErrorTypes.XINCLUDE_XPTR_RESULT" title="Permalink to this definition">¶</a></dt>
4644 <dl class="py attribute">
4645 <dt id="lxml.etree.ErrorTypes.XPATH_ENCODING_ERROR">
4646 <code class="sig-name descname">XPATH_ENCODING_ERROR</code><em class="property"> = 1220</em><a class="headerlink" href="#lxml.etree.ErrorTypes.XPATH_ENCODING_ERROR" title="Permalink to this definition">¶</a></dt>
4649 <dl class="py attribute">
4650 <dt id="lxml.etree.ErrorTypes.XPATH_EXPRESSION_OK">
4651 <code class="sig-name descname">XPATH_EXPRESSION_OK</code><em class="property"> = 1200</em><a class="headerlink" href="#lxml.etree.ErrorTypes.XPATH_EXPRESSION_OK" title="Permalink to this definition">¶</a></dt>
4654 <dl class="py attribute">
4655 <dt id="lxml.etree.ErrorTypes.XPATH_EXPR_ERROR">
4656 <code class="sig-name descname">XPATH_EXPR_ERROR</code><em class="property"> = 1207</em><a class="headerlink" href="#lxml.etree.ErrorTypes.XPATH_EXPR_ERROR" title="Permalink to this definition">¶</a></dt>
4659 <dl class="py attribute">
4660 <dt id="lxml.etree.ErrorTypes.XPATH_INVALID_ARITY">
4661 <code class="sig-name descname">XPATH_INVALID_ARITY</code><em class="property"> = 1212</em><a class="headerlink" href="#lxml.etree.ErrorTypes.XPATH_INVALID_ARITY" title="Permalink to this definition">¶</a></dt>
4664 <dl class="py attribute">
4665 <dt id="lxml.etree.ErrorTypes.XPATH_INVALID_CHAR_ERROR">
4666 <code class="sig-name descname">XPATH_INVALID_CHAR_ERROR</code><em class="property"> = 1221</em><a class="headerlink" href="#lxml.etree.ErrorTypes.XPATH_INVALID_CHAR_ERROR" title="Permalink to this definition">¶</a></dt>
4669 <dl class="py attribute">
4670 <dt id="lxml.etree.ErrorTypes.XPATH_INVALID_CTXT_POSITION">
4671 <code class="sig-name descname">XPATH_INVALID_CTXT_POSITION</code><em class="property"> = 1214</em><a class="headerlink" href="#lxml.etree.ErrorTypes.XPATH_INVALID_CTXT_POSITION" title="Permalink to this definition">¶</a></dt>
4674 <dl class="py attribute">
4675 <dt id="lxml.etree.ErrorTypes.XPATH_INVALID_CTXT_SIZE">
4676 <code class="sig-name descname">XPATH_INVALID_CTXT_SIZE</code><em class="property"> = 1213</em><a class="headerlink" href="#lxml.etree.ErrorTypes.XPATH_INVALID_CTXT_SIZE" title="Permalink to this definition">¶</a></dt>
4679 <dl class="py attribute">
4680 <dt id="lxml.etree.ErrorTypes.XPATH_INVALID_OPERAND">
4681 <code class="sig-name descname">XPATH_INVALID_OPERAND</code><em class="property"> = 1210</em><a class="headerlink" href="#lxml.etree.ErrorTypes.XPATH_INVALID_OPERAND" title="Permalink to this definition">¶</a></dt>
4684 <dl class="py attribute">
4685 <dt id="lxml.etree.ErrorTypes.XPATH_INVALID_PREDICATE_ERROR">
4686 <code class="sig-name descname">XPATH_INVALID_PREDICATE_ERROR</code><em class="property"> = 1206</em><a class="headerlink" href="#lxml.etree.ErrorTypes.XPATH_INVALID_PREDICATE_ERROR" title="Permalink to this definition">¶</a></dt>
4689 <dl class="py attribute">
4690 <dt id="lxml.etree.ErrorTypes.XPATH_INVALID_TYPE">
4691 <code class="sig-name descname">XPATH_INVALID_TYPE</code><em class="property"> = 1211</em><a class="headerlink" href="#lxml.etree.ErrorTypes.XPATH_INVALID_TYPE" title="Permalink to this definition">¶</a></dt>
4694 <dl class="py attribute">
4695 <dt id="lxml.etree.ErrorTypes.XPATH_MEMORY_ERROR">
4696 <code class="sig-name descname">XPATH_MEMORY_ERROR</code><em class="property"> = 1215</em><a class="headerlink" href="#lxml.etree.ErrorTypes.XPATH_MEMORY_ERROR" title="Permalink to this definition">¶</a></dt>
4699 <dl class="py attribute">
4700 <dt id="lxml.etree.ErrorTypes.XPATH_NUMBER_ERROR">
4701 <code class="sig-name descname">XPATH_NUMBER_ERROR</code><em class="property"> = 1201</em><a class="headerlink" href="#lxml.etree.ErrorTypes.XPATH_NUMBER_ERROR" title="Permalink to this definition">¶</a></dt>
4704 <dl class="py attribute">
4705 <dt id="lxml.etree.ErrorTypes.XPATH_START_LITERAL_ERROR">
4706 <code class="sig-name descname">XPATH_START_LITERAL_ERROR</code><em class="property"> = 1203</em><a class="headerlink" href="#lxml.etree.ErrorTypes.XPATH_START_LITERAL_ERROR" title="Permalink to this definition">¶</a></dt>
4709 <dl class="py attribute">
4710 <dt id="lxml.etree.ErrorTypes.XPATH_UNCLOSED_ERROR">
4711 <code class="sig-name descname">XPATH_UNCLOSED_ERROR</code><em class="property"> = 1208</em><a class="headerlink" href="#lxml.etree.ErrorTypes.XPATH_UNCLOSED_ERROR" title="Permalink to this definition">¶</a></dt>
4714 <dl class="py attribute">
4715 <dt id="lxml.etree.ErrorTypes.XPATH_UNDEF_PREFIX_ERROR">
4716 <code class="sig-name descname">XPATH_UNDEF_PREFIX_ERROR</code><em class="property"> = 1219</em><a class="headerlink" href="#lxml.etree.ErrorTypes.XPATH_UNDEF_PREFIX_ERROR" title="Permalink to this definition">¶</a></dt>
4719 <dl class="py attribute">
4720 <dt id="lxml.etree.ErrorTypes.XPATH_UNDEF_VARIABLE_ERROR">
4721 <code class="sig-name descname">XPATH_UNDEF_VARIABLE_ERROR</code><em class="property"> = 1205</em><a class="headerlink" href="#lxml.etree.ErrorTypes.XPATH_UNDEF_VARIABLE_ERROR" title="Permalink to this definition">¶</a></dt>
4724 <dl class="py attribute">
4725 <dt id="lxml.etree.ErrorTypes.XPATH_UNFINISHED_LITERAL_ERROR">
4726 <code class="sig-name descname">XPATH_UNFINISHED_LITERAL_ERROR</code><em class="property"> = 1202</em><a class="headerlink" href="#lxml.etree.ErrorTypes.XPATH_UNFINISHED_LITERAL_ERROR" title="Permalink to this definition">¶</a></dt>
4729 <dl class="py attribute">
4730 <dt id="lxml.etree.ErrorTypes.XPATH_UNKNOWN_FUNC_ERROR">
4731 <code class="sig-name descname">XPATH_UNKNOWN_FUNC_ERROR</code><em class="property"> = 1209</em><a class="headerlink" href="#lxml.etree.ErrorTypes.XPATH_UNKNOWN_FUNC_ERROR" title="Permalink to this definition">¶</a></dt>
4734 <dl class="py attribute">
4735 <dt id="lxml.etree.ErrorTypes.XPATH_VARIABLE_REF_ERROR">
4736 <code class="sig-name descname">XPATH_VARIABLE_REF_ERROR</code><em class="property"> = 1204</em><a class="headerlink" href="#lxml.etree.ErrorTypes.XPATH_VARIABLE_REF_ERROR" title="Permalink to this definition">¶</a></dt>
4739 <dl class="py attribute">
4740 <dt id="lxml.etree.ErrorTypes.XPTR_CHILDSEQ_START">
4741 <code class="sig-name descname">XPTR_CHILDSEQ_START</code><em class="property"> = 1901</em><a class="headerlink" href="#lxml.etree.ErrorTypes.XPTR_CHILDSEQ_START" title="Permalink to this definition">¶</a></dt>
4744 <dl class="py attribute">
4745 <dt id="lxml.etree.ErrorTypes.XPTR_EVAL_FAILED">
4746 <code class="sig-name descname">XPTR_EVAL_FAILED</code><em class="property"> = 1902</em><a class="headerlink" href="#lxml.etree.ErrorTypes.XPTR_EVAL_FAILED" title="Permalink to this definition">¶</a></dt>
4749 <dl class="py attribute">
4750 <dt id="lxml.etree.ErrorTypes.XPTR_EXTRA_OBJECTS">
4751 <code class="sig-name descname">XPTR_EXTRA_OBJECTS</code><em class="property"> = 1903</em><a class="headerlink" href="#lxml.etree.ErrorTypes.XPTR_EXTRA_OBJECTS" title="Permalink to this definition">¶</a></dt>
4754 <dl class="py attribute">
4755 <dt id="lxml.etree.ErrorTypes.XPTR_RESOURCE_ERROR">
4756 <code class="sig-name descname">XPTR_RESOURCE_ERROR</code><em class="property"> = 1217</em><a class="headerlink" href="#lxml.etree.ErrorTypes.XPTR_RESOURCE_ERROR" title="Permalink to this definition">¶</a></dt>
4759 <dl class="py attribute">
4760 <dt id="lxml.etree.ErrorTypes.XPTR_SUB_RESOURCE_ERROR">
4761 <code class="sig-name descname">XPTR_SUB_RESOURCE_ERROR</code><em class="property"> = 1218</em><a class="headerlink" href="#lxml.etree.ErrorTypes.XPTR_SUB_RESOURCE_ERROR" title="Permalink to this definition">¶</a></dt>
4764 <dl class="py attribute">
4765 <dt id="lxml.etree.ErrorTypes.XPTR_SYNTAX_ERROR">
4766 <code class="sig-name descname">XPTR_SYNTAX_ERROR</code><em class="property"> = 1216</em><a class="headerlink" href="#lxml.etree.ErrorTypes.XPTR_SYNTAX_ERROR" title="Permalink to this definition">¶</a></dt>
4769 <dl class="py attribute">
4770 <dt id="lxml.etree.ErrorTypes.XPTR_UNKNOWN_SCHEME">
4771 <code class="sig-name descname">XPTR_UNKNOWN_SCHEME</code><em class="property"> = 1900</em><a class="headerlink" href="#lxml.etree.ErrorTypes.XPTR_UNKNOWN_SCHEME" title="Permalink to this definition">¶</a></dt>
4774 <dl class="py attribute">
4775 <dt id="lxml.etree.ErrorTypes._names">
4776 <code class="sig-name descname">_names</code><em class="property"> = {0: 'ERR_OK', 1: 'ERR_INTERNAL_ERROR', 2: 'ERR_NO_MEMORY', 3: 'ERR_DOCUMENT_START', 4: 'ERR_DOCUMENT_EMPTY', 5: 'ERR_DOCUMENT_END', 6: 'ERR_INVALID_HEX_CHARREF', 7: 'ERR_INVALID_DEC_CHARREF', 8: 'ERR_INVALID_CHARREF', 9: 'ERR_INVALID_CHAR', 10: 'ERR_CHARREF_AT_EOF', 11: 'ERR_CHARREF_IN_PROLOG', 12: 'ERR_CHARREF_IN_EPILOG', 13: 'ERR_CHARREF_IN_DTD', 14: 'ERR_ENTITYREF_AT_EOF', 15: 'ERR_ENTITYREF_IN_PROLOG', 16: 'ERR_ENTITYREF_IN_EPILOG', 17: 'ERR_ENTITYREF_IN_DTD', 18: 'ERR_PEREF_AT_EOF', 19: 'ERR_PEREF_IN_PROLOG', 20: 'ERR_PEREF_IN_EPILOG', 21: 'ERR_PEREF_IN_INT_SUBSET', 22: 'ERR_ENTITYREF_NO_NAME', 23: 'ERR_ENTITYREF_SEMICOL_MISSING', 24: 'ERR_PEREF_NO_NAME', 25: 'ERR_PEREF_SEMICOL_MISSING', 26: 'ERR_UNDECLARED_ENTITY', 27: 'WAR_UNDECLARED_ENTITY', 28: 'ERR_UNPARSED_ENTITY', 29: 'ERR_ENTITY_IS_EXTERNAL', 30: 'ERR_ENTITY_IS_PARAMETER', 31: 'ERR_UNKNOWN_ENCODING', 32: 'ERR_UNSUPPORTED_ENCODING', 33: 'ERR_STRING_NOT_STARTED', 34: 'ERR_STRING_NOT_CLOSED', 35: 'ERR_NS_DECL_ERROR', 36: 'ERR_ENTITY_NOT_STARTED', 37: 'ERR_ENTITY_NOT_FINISHED', 38: 'ERR_LT_IN_ATTRIBUTE', 39: 'ERR_ATTRIBUTE_NOT_STARTED', 40: 'ERR_ATTRIBUTE_NOT_FINISHED', 41: 'ERR_ATTRIBUTE_WITHOUT_VALUE', 42: 'ERR_ATTRIBUTE_REDEFINED', 43: 'ERR_LITERAL_NOT_STARTED', 44: 'ERR_LITERAL_NOT_FINISHED', 45: 'ERR_COMMENT_NOT_FINISHED', 46: 'ERR_PI_NOT_STARTED', 47: 'ERR_PI_NOT_FINISHED', 48: 'ERR_NOTATION_NOT_STARTED', 49: 'ERR_NOTATION_NOT_FINISHED', 50: 'ERR_ATTLIST_NOT_STARTED', 51: 'ERR_ATTLIST_NOT_FINISHED', 52: 'ERR_MIXED_NOT_STARTED', 53: 'ERR_MIXED_NOT_FINISHED', 54: 'ERR_ELEMCONTENT_NOT_STARTED', 55: 'ERR_ELEMCONTENT_NOT_FINISHED', 56: 'ERR_XMLDECL_NOT_STARTED', 57: 'ERR_XMLDECL_NOT_FINISHED', 58: 'ERR_CONDSEC_NOT_STARTED', 59: 'ERR_CONDSEC_NOT_FINISHED', 60: 'ERR_EXT_SUBSET_NOT_FINISHED', 61: 'ERR_DOCTYPE_NOT_FINISHED', 62: 'ERR_MISPLACED_CDATA_END', 63: 'ERR_CDATA_NOT_FINISHED', 64: 'ERR_RESERVED_XML_NAME', 65: 'ERR_SPACE_REQUIRED', 66: 'ERR_SEPARATOR_REQUIRED', 67: 'ERR_NMTOKEN_REQUIRED', 68: 'ERR_NAME_REQUIRED', 69: 'ERR_PCDATA_REQUIRED', 70: 'ERR_URI_REQUIRED', 71: 'ERR_PUBID_REQUIRED', 72: 'ERR_LT_REQUIRED', 73: 'ERR_GT_REQUIRED', 74: 'ERR_LTSLASH_REQUIRED', 75: 'ERR_EQUAL_REQUIRED', 76: 'ERR_TAG_NAME_MISMATCH', 77: 'ERR_TAG_NOT_FINISHED', 78: 'ERR_STANDALONE_VALUE', 79: 'ERR_ENCODING_NAME', 80: 'ERR_HYPHEN_IN_COMMENT', 81: 'ERR_INVALID_ENCODING', 82: 'ERR_EXT_ENTITY_STANDALONE', 83: 'ERR_CONDSEC_INVALID', 84: 'ERR_VALUE_REQUIRED', 85: 'ERR_NOT_WELL_BALANCED', 86: 'ERR_EXTRA_CONTENT', 87: 'ERR_ENTITY_CHAR_ERROR', 88: 'ERR_ENTITY_PE_INTERNAL', 89: 'ERR_ENTITY_LOOP', 90: 'ERR_ENTITY_BOUNDARY', 91: 'ERR_INVALID_URI', 92: 'ERR_URI_FRAGMENT', 93: 'WAR_CATALOG_PI', 94: 'ERR_NO_DTD', 95: 'ERR_CONDSEC_INVALID_KEYWORD', 96: 'ERR_VERSION_MISSING', 97: 'WAR_UNKNOWN_VERSION', 98: 'WAR_LANG_VALUE', 99: 'WAR_NS_URI', 100: 'WAR_NS_URI_RELATIVE', 101: 'ERR_MISSING_ENCODING', 102: 'WAR_SPACE_VALUE', 103: 'ERR_NOT_STANDALONE', 104: 'ERR_ENTITY_PROCESSING', 105: 'ERR_NOTATION_PROCESSING', 106: 'WAR_NS_COLUMN', 107: 'WAR_ENTITY_REDEFINED', 108: 'ERR_UNKNOWN_VERSION', 109: 'ERR_VERSION_MISMATCH', 110: 'ERR_NAME_TOO_LONG', 111: 'ERR_USER_STOP', 200: 'NS_ERR_XML_NAMESPACE', 201: 'NS_ERR_UNDEFINED_NAMESPACE', 202: 'NS_ERR_QNAME', 203: 'NS_ERR_ATTRIBUTE_REDEFINED', 204: 'NS_ERR_EMPTY', 205: 'NS_ERR_COLON', 500: 'DTD_ATTRIBUTE_DEFAULT', 501: 'DTD_ATTRIBUTE_REDEFINED', 502: 'DTD_ATTRIBUTE_VALUE', 503: 'DTD_CONTENT_ERROR', 504: 'DTD_CONTENT_MODEL', 505: 'DTD_CONTENT_NOT_DETERMINIST', 506: 'DTD_DIFFERENT_PREFIX', 507: 'DTD_ELEM_DEFAULT_NAMESPACE', 508: 'DTD_ELEM_NAMESPACE', 509: 'DTD_ELEM_REDEFINED', 510: 'DTD_EMPTY_NOTATION', 511: 'DTD_ENTITY_TYPE', 512: 'DTD_ID_FIXED', 513: 'DTD_ID_REDEFINED', 514: 'DTD_ID_SUBSET', 515: 'DTD_INVALID_CHILD', 516: 'DTD_INVALID_DEFAULT', 517: 'DTD_LOAD_ERROR', 518: 'DTD_MISSING_ATTRIBUTE', 519: 'DTD_MIXED_CORRUPT', 520: 'DTD_MULTIPLE_ID', 521: 'DTD_NO_DOC', 522: 'DTD_NO_DTD', 523: 'DTD_NO_ELEM_NAME', 524: 'DTD_NO_PREFIX', 525: 'DTD_NO_ROOT', 526: 'DTD_NOTATION_REDEFINED', 527: 'DTD_NOTATION_VALUE', 528: 'DTD_NOT_EMPTY', 529: 'DTD_NOT_PCDATA', 530: 'DTD_NOT_STANDALONE', 531: 'DTD_ROOT_NAME', 532: 'DTD_STANDALONE_WHITE_SPACE', 533: 'DTD_UNKNOWN_ATTRIBUTE', 534: 'DTD_UNKNOWN_ELEM', 535: 'DTD_UNKNOWN_ENTITY', 536: 'DTD_UNKNOWN_ID', 537: 'DTD_UNKNOWN_NOTATION', 538: 'DTD_STANDALONE_DEFAULTED', 539: 'DTD_XMLID_VALUE', 540: 'DTD_XMLID_TYPE', 541: 'DTD_DUP_TOKEN', 800: 'HTML_STRUCURE_ERROR', 801: 'HTML_UNKNOWN_TAG', 1000: 'RNGP_ANYNAME_ATTR_ANCESTOR', 1001: 'RNGP_ATTR_CONFLICT', 1002: 'RNGP_ATTRIBUTE_CHILDREN', 1003: 'RNGP_ATTRIBUTE_CONTENT', 1004: 'RNGP_ATTRIBUTE_EMPTY', 1005: 'RNGP_ATTRIBUTE_NOOP', 1006: 'RNGP_CHOICE_CONTENT', 1007: 'RNGP_CHOICE_EMPTY', 1008: 'RNGP_CREATE_FAILURE', 1009: 'RNGP_DATA_CONTENT', 1010: 'RNGP_DEF_CHOICE_AND_INTERLEAVE', 1011: 'RNGP_DEFINE_CREATE_FAILED', 1012: 'RNGP_DEFINE_EMPTY', 1013: 'RNGP_DEFINE_MISSING', 1014: 'RNGP_DEFINE_NAME_MISSING', 1015: 'RNGP_ELEM_CONTENT_EMPTY', 1016: 'RNGP_ELEM_CONTENT_ERROR', 1017: 'RNGP_ELEMENT_EMPTY', 1018: 'RNGP_ELEMENT_CONTENT', 1019: 'RNGP_ELEMENT_NAME', 1020: 'RNGP_ELEMENT_NO_CONTENT', 1021: 'RNGP_ELEM_TEXT_CONFLICT', 1022: 'RNGP_EMPTY', 1023: 'RNGP_EMPTY_CONSTRUCT', 1024: 'RNGP_EMPTY_CONTENT', 1025: 'RNGP_EMPTY_NOT_EMPTY', 1026: 'RNGP_ERROR_TYPE_LIB', 1027: 'RNGP_EXCEPT_EMPTY', 1028: 'RNGP_EXCEPT_MISSING', 1029: 'RNGP_EXCEPT_MULTIPLE', 1030: 'RNGP_EXCEPT_NO_CONTENT', 1031: 'RNGP_EXTERNALREF_EMTPY', 1032: 'RNGP_EXTERNAL_REF_FAILURE', 1033: 'RNGP_EXTERNALREF_RECURSE', 1034: 'RNGP_FORBIDDEN_ATTRIBUTE', 1035: 'RNGP_FOREIGN_ELEMENT', 1036: 'RNGP_GRAMMAR_CONTENT', 1037: 'RNGP_GRAMMAR_EMPTY', 1038: 'RNGP_GRAMMAR_MISSING', 1039: 'RNGP_GRAMMAR_NO_START', 1040: 'RNGP_GROUP_ATTR_CONFLICT', 1041: 'RNGP_HREF_ERROR', 1042: 'RNGP_INCLUDE_EMPTY', 1043: 'RNGP_INCLUDE_FAILURE', 1044: 'RNGP_INCLUDE_RECURSE', 1045: 'RNGP_INTERLEAVE_ADD', 1046: 'RNGP_INTERLEAVE_CREATE_FAILED', 1047: 'RNGP_INTERLEAVE_EMPTY', 1048: 'RNGP_INTERLEAVE_NO_CONTENT', 1049: 'RNGP_INVALID_DEFINE_NAME', 1050: 'RNGP_INVALID_URI', 1051: 'RNGP_INVALID_VALUE', 1052: 'RNGP_MISSING_HREF', 1053: 'RNGP_NAME_MISSING', 1054: 'RNGP_NEED_COMBINE', 1055: 'RNGP_NOTALLOWED_NOT_EMPTY', 1056: 'RNGP_NSNAME_ATTR_ANCESTOR', 1057: 'RNGP_NSNAME_NO_NS', 1058: 'RNGP_PARAM_FORBIDDEN', 1059: 'RNGP_PARAM_NAME_MISSING', 1060: 'RNGP_PARENTREF_CREATE_FAILED', 1061: 'RNGP_PARENTREF_NAME_INVALID', 1062: 'RNGP_PARENTREF_NO_NAME', 1063: 'RNGP_PARENTREF_NO_PARENT', 1064: 'RNGP_PARENTREF_NOT_EMPTY', 1065: 'RNGP_PARSE_ERROR', 1066: 'RNGP_PAT_ANYNAME_EXCEPT_ANYNAME', 1067: 'RNGP_PAT_ATTR_ATTR', 1068: 'RNGP_PAT_ATTR_ELEM', 1069: 'RNGP_PAT_DATA_EXCEPT_ATTR', 1070: 'RNGP_PAT_DATA_EXCEPT_ELEM', 1071: 'RNGP_PAT_DATA_EXCEPT_EMPTY', 1072: 'RNGP_PAT_DATA_EXCEPT_GROUP', 1073: 'RNGP_PAT_DATA_EXCEPT_INTERLEAVE', 1074: 'RNGP_PAT_DATA_EXCEPT_LIST', 1075: 'RNGP_PAT_DATA_EXCEPT_ONEMORE', 1076: 'RNGP_PAT_DATA_EXCEPT_REF', 1077: 'RNGP_PAT_DATA_EXCEPT_TEXT', 1078: 'RNGP_PAT_LIST_ATTR', 1079: 'RNGP_PAT_LIST_ELEM', 1080: 'RNGP_PAT_LIST_INTERLEAVE', 1081: 'RNGP_PAT_LIST_LIST', 1082: 'RNGP_PAT_LIST_REF', 1083: 'RNGP_PAT_LIST_TEXT', 1084: 'RNGP_PAT_NSNAME_EXCEPT_ANYNAME', 1085: 'RNGP_PAT_NSNAME_EXCEPT_NSNAME', 1086: 'RNGP_PAT_ONEMORE_GROUP_ATTR', 1087: 'RNGP_PAT_ONEMORE_INTERLEAVE_ATTR', 1088: 'RNGP_PAT_START_ATTR', 1089: 'RNGP_PAT_START_DATA', 1090: 'RNGP_PAT_START_EMPTY', 1091: 'RNGP_PAT_START_GROUP', 1092: 'RNGP_PAT_START_INTERLEAVE', 1093: 'RNGP_PAT_START_LIST', 1094: 'RNGP_PAT_START_ONEMORE', 1095: 'RNGP_PAT_START_TEXT', 1096: 'RNGP_PAT_START_VALUE', 1097: 'RNGP_PREFIX_UNDEFINED', 1098: 'RNGP_REF_CREATE_FAILED', 1099: 'RNGP_REF_CYCLE', 1100: 'RNGP_REF_NAME_INVALID', 1101: 'RNGP_REF_NO_DEF', 1102: 'RNGP_REF_NO_NAME', 1103: 'RNGP_REF_NOT_EMPTY', 1104: 'RNGP_START_CHOICE_AND_INTERLEAVE', 1105: 'RNGP_START_CONTENT', 1106: 'RNGP_START_EMPTY', 1107: 'RNGP_START_MISSING', 1108: 'RNGP_TEXT_EXPECTED', 1109: 'RNGP_TEXT_HAS_CHILD', 1110: 'RNGP_TYPE_MISSING', 1111: 'RNGP_TYPE_NOT_FOUND', 1112: 'RNGP_TYPE_VALUE', 1113: 'RNGP_UNKNOWN_ATTRIBUTE', 1114: 'RNGP_UNKNOWN_COMBINE', 1115: 'RNGP_UNKNOWN_CONSTRUCT', 1116: 'RNGP_UNKNOWN_TYPE_LIB', 1117: 'RNGP_URI_FRAGMENT', 1118: 'RNGP_URI_NOT_ABSOLUTE', 1119: 'RNGP_VALUE_EMPTY', 1120: 'RNGP_VALUE_NO_CONTENT', 1121: 'RNGP_XMLNS_NAME', 1122: 'RNGP_XML_NS', 1200: 'XPATH_EXPRESSION_OK', 1201: 'XPATH_NUMBER_ERROR', 1202: 'XPATH_UNFINISHED_LITERAL_ERROR', 1203: 'XPATH_START_LITERAL_ERROR', 1204: 'XPATH_VARIABLE_REF_ERROR', 1205: 'XPATH_UNDEF_VARIABLE_ERROR', 1206: 'XPATH_INVALID_PREDICATE_ERROR', 1207: 'XPATH_EXPR_ERROR', 1208: 'XPATH_UNCLOSED_ERROR', 1209: 'XPATH_UNKNOWN_FUNC_ERROR', 1210: 'XPATH_INVALID_OPERAND', 1211: 'XPATH_INVALID_TYPE', 1212: 'XPATH_INVALID_ARITY', 1213: 'XPATH_INVALID_CTXT_SIZE', 1214: 'XPATH_INVALID_CTXT_POSITION', 1215: 'XPATH_MEMORY_ERROR', 1216: 'XPTR_SYNTAX_ERROR', 1217: 'XPTR_RESOURCE_ERROR', 1218: 'XPTR_SUB_RESOURCE_ERROR', 1219: 'XPATH_UNDEF_PREFIX_ERROR', 1220: 'XPATH_ENCODING_ERROR', 1221: 'XPATH_INVALID_CHAR_ERROR', 1300: 'TREE_INVALID_HEX', 1301: 'TREE_INVALID_DEC', 1302: 'TREE_UNTERMINATED_ENTITY', 1303: 'TREE_NOT_UTF8', 1400: 'SAVE_NOT_UTF8', 1401: 'SAVE_CHAR_INVALID', 1402: 'SAVE_NO_DOCTYPE', 1403: 'SAVE_UNKNOWN_ENCODING', 1450: 'REGEXP_COMPILE_ERROR', 1500: 'IO_UNKNOWN', 1501: 'IO_EACCES', 1502: 'IO_EAGAIN', 1503: 'IO_EBADF', 1504: 'IO_EBADMSG', 1505: 'IO_EBUSY', 1506: 'IO_ECANCELED', 1507: 'IO_ECHILD', 1508: 'IO_EDEADLK', 1509: 'IO_EDOM', 1510: 'IO_EEXIST', 1511: 'IO_EFAULT', 1512: 'IO_EFBIG', 1513: 'IO_EINPROGRESS', 1514: 'IO_EINTR', 1515: 'IO_EINVAL', 1516: 'IO_EIO', 1517: 'IO_EISDIR', 1518: 'IO_EMFILE', 1519: 'IO_EMLINK', 1520: 'IO_EMSGSIZE', 1521: 'IO_ENAMETOOLONG', 1522: 'IO_ENFILE', 1523: 'IO_ENODEV', 1524: 'IO_ENOENT', 1525: 'IO_ENOEXEC', 1526: 'IO_ENOLCK', 1527: 'IO_ENOMEM', 1528: 'IO_ENOSPC', 1529: 'IO_ENOSYS', 1530: 'IO_ENOTDIR', 1531: 'IO_ENOTEMPTY', 1532: 'IO_ENOTSUP', 1533: 'IO_ENOTTY', 1534: 'IO_ENXIO', 1535: 'IO_EPERM', 1536: 'IO_EPIPE', 1537: 'IO_ERANGE', 1538: 'IO_EROFS', 1539: 'IO_ESPIPE', 1540: 'IO_ESRCH', 1541: 'IO_ETIMEDOUT', 1542: 'IO_EXDEV', 1543: 'IO_NETWORK_ATTEMPT', 1544: 'IO_ENCODER', 1545: 'IO_FLUSH', 1546: 'IO_WRITE', 1547: 'IO_NO_INPUT', 1548: 'IO_BUFFER_FULL', 1549: 'IO_LOAD_ERROR', 1550: 'IO_ENOTSOCK', 1551: 'IO_EISCONN', 1552: 'IO_ECONNREFUSED', 1553: 'IO_ENETUNREACH', 1554: 'IO_EADDRINUSE', 1555: 'IO_EALREADY', 1556: 'IO_EAFNOSUPPORT', 1600: 'XINCLUDE_RECURSION', 1601: 'XINCLUDE_PARSE_VALUE', 1602: 'XINCLUDE_ENTITY_DEF_MISMATCH', 1603: 'XINCLUDE_NO_HREF', 1604: 'XINCLUDE_NO_FALLBACK', 1605: 'XINCLUDE_HREF_URI', 1606: 'XINCLUDE_TEXT_FRAGMENT', 1607: 'XINCLUDE_TEXT_DOCUMENT', 1608: 'XINCLUDE_INVALID_CHAR', 1609: 'XINCLUDE_BUILD_FAILED', 1610: 'XINCLUDE_UNKNOWN_ENCODING', 1611: 'XINCLUDE_MULTIPLE_ROOT', 1612: 'XINCLUDE_XPTR_FAILED', 1613: 'XINCLUDE_XPTR_RESULT', 1614: 'XINCLUDE_INCLUDE_IN_INCLUDE', 1615: 'XINCLUDE_FALLBACKS_IN_INCLUDE', 1616: 'XINCLUDE_FALLBACK_NOT_IN_INCLUDE', 1617: 'XINCLUDE_DEPRECATED_NS', 1618: 'XINCLUDE_FRAGMENT_ID', 1650: 'CATALOG_MISSING_ATTR', 1651: 'CATALOG_ENTRY_BROKEN', 1652: 'CATALOG_PREFER_VALUE', 1653: 'CATALOG_NOT_CATALOG', 1654: 'CATALOG_RECURSION', 1700: 'SCHEMAP_PREFIX_UNDEFINED', 1701: 'SCHEMAP_ATTRFORMDEFAULT_VALUE', 1702: 'SCHEMAP_ATTRGRP_NONAME_NOREF', 1703: 'SCHEMAP_ATTR_NONAME_NOREF', 1704: 'SCHEMAP_COMPLEXTYPE_NONAME_NOREF', 1705: 'SCHEMAP_ELEMFORMDEFAULT_VALUE', 1706: 'SCHEMAP_ELEM_NONAME_NOREF', 1707: 'SCHEMAP_EXTENSION_NO_BASE', 1708: 'SCHEMAP_FACET_NO_VALUE', 1709: 'SCHEMAP_FAILED_BUILD_IMPORT', 1710: 'SCHEMAP_GROUP_NONAME_NOREF', 1711: 'SCHEMAP_IMPORT_NAMESPACE_NOT_URI', 1712: 'SCHEMAP_IMPORT_REDEFINE_NSNAME', 1713: 'SCHEMAP_IMPORT_SCHEMA_NOT_URI', 1714: 'SCHEMAP_INVALID_BOOLEAN', 1715: 'SCHEMAP_INVALID_ENUM', 1716: 'SCHEMAP_INVALID_FACET', 1717: 'SCHEMAP_INVALID_FACET_VALUE', 1718: 'SCHEMAP_INVALID_MAXOCCURS', 1719: 'SCHEMAP_INVALID_MINOCCURS', 1720: 'SCHEMAP_INVALID_REF_AND_SUBTYPE', 1721: 'SCHEMAP_INVALID_WHITE_SPACE', 1722: 'SCHEMAP_NOATTR_NOREF', 1723: 'SCHEMAP_NOTATION_NO_NAME', 1724: 'SCHEMAP_NOTYPE_NOREF', 1725: 'SCHEMAP_REF_AND_SUBTYPE', 1726: 'SCHEMAP_RESTRICTION_NONAME_NOREF', 1727: 'SCHEMAP_SIMPLETYPE_NONAME', 1728: 'SCHEMAP_TYPE_AND_SUBTYPE', 1729: 'SCHEMAP_UNKNOWN_ALL_CHILD', 1730: 'SCHEMAP_UNKNOWN_ANYATTRIBUTE_CHILD', 1731: 'SCHEMAP_UNKNOWN_ATTR_CHILD', 1732: 'SCHEMAP_UNKNOWN_ATTRGRP_CHILD', 1733: 'SCHEMAP_UNKNOWN_ATTRIBUTE_GROUP', 1734: 'SCHEMAP_UNKNOWN_BASE_TYPE', 1735: 'SCHEMAP_UNKNOWN_CHOICE_CHILD', 1736: 'SCHEMAP_UNKNOWN_COMPLEXCONTENT_CHILD', 1737: 'SCHEMAP_UNKNOWN_COMPLEXTYPE_CHILD', 1738: 'SCHEMAP_UNKNOWN_ELEM_CHILD', 1739: 'SCHEMAP_UNKNOWN_EXTENSION_CHILD', 1740: 'SCHEMAP_UNKNOWN_FACET_CHILD', 1741: 'SCHEMAP_UNKNOWN_FACET_TYPE', 1742: 'SCHEMAP_UNKNOWN_GROUP_CHILD', 1743: 'SCHEMAP_UNKNOWN_IMPORT_CHILD', 1744: 'SCHEMAP_UNKNOWN_LIST_CHILD', 1745: 'SCHEMAP_UNKNOWN_NOTATION_CHILD', 1746: 'SCHEMAP_UNKNOWN_PROCESSCONTENT_CHILD', 1747: 'SCHEMAP_UNKNOWN_REF', 1748: 'SCHEMAP_UNKNOWN_RESTRICTION_CHILD', 1749: 'SCHEMAP_UNKNOWN_SCHEMAS_CHILD', 1750: 'SCHEMAP_UNKNOWN_SEQUENCE_CHILD', 1751: 'SCHEMAP_UNKNOWN_SIMPLECONTENT_CHILD', 1752: 'SCHEMAP_UNKNOWN_SIMPLETYPE_CHILD', 1753: 'SCHEMAP_UNKNOWN_TYPE', 1754: 'SCHEMAP_UNKNOWN_UNION_CHILD', 1755: 'SCHEMAP_ELEM_DEFAULT_FIXED', 1756: 'SCHEMAP_REGEXP_INVALID', 1757: 'SCHEMAP_FAILED_LOAD', 1758: 'SCHEMAP_NOTHING_TO_PARSE', 1759: 'SCHEMAP_NOROOT', 1760: 'SCHEMAP_REDEFINED_GROUP', 1761: 'SCHEMAP_REDEFINED_TYPE', 1762: 'SCHEMAP_REDEFINED_ELEMENT', 1763: 'SCHEMAP_REDEFINED_ATTRGROUP', 1764: 'SCHEMAP_REDEFINED_ATTR', 1765: 'SCHEMAP_REDEFINED_NOTATION', 1766: 'SCHEMAP_FAILED_PARSE', 1767: 'SCHEMAP_UNKNOWN_PREFIX', 1768: 'SCHEMAP_DEF_AND_PREFIX', 1769: 'SCHEMAP_UNKNOWN_INCLUDE_CHILD', 1770: 'SCHEMAP_INCLUDE_SCHEMA_NOT_URI', 1771: 'SCHEMAP_INCLUDE_SCHEMA_NO_URI', 1772: 'SCHEMAP_NOT_SCHEMA', 1773: 'SCHEMAP_UNKNOWN_MEMBER_TYPE', 1774: 'SCHEMAP_INVALID_ATTR_USE', 1775: 'SCHEMAP_RECURSIVE', 1776: 'SCHEMAP_SUPERNUMEROUS_LIST_ITEM_TYPE', 1777: 'SCHEMAP_INVALID_ATTR_COMBINATION', 1778: 'SCHEMAP_INVALID_ATTR_INLINE_COMBINATION', 1779: 'SCHEMAP_MISSING_SIMPLETYPE_CHILD', 1780: 'SCHEMAP_INVALID_ATTR_NAME', 1781: 'SCHEMAP_REF_AND_CONTENT', 1782: 'SCHEMAP_CT_PROPS_CORRECT_1', 1783: 'SCHEMAP_CT_PROPS_CORRECT_2', 1784: 'SCHEMAP_CT_PROPS_CORRECT_3', 1785: 'SCHEMAP_CT_PROPS_CORRECT_4', 1786: 'SCHEMAP_CT_PROPS_CORRECT_5', 1787: 'SCHEMAP_DERIVATION_OK_RESTRICTION_1', 1788: 'SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_1', 1789: 'SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_2', 1790: 'SCHEMAP_DERIVATION_OK_RESTRICTION_2_2', 1791: 'SCHEMAP_DERIVATION_OK_RESTRICTION_3', 1792: 'SCHEMAP_WILDCARD_INVALID_NS_MEMBER', 1793: 'SCHEMAP_INTERSECTION_NOT_EXPRESSIBLE', 1794: 'SCHEMAP_UNION_NOT_EXPRESSIBLE', 1795: 'SCHEMAP_SRC_IMPORT_3_1', 1796: 'SCHEMAP_SRC_IMPORT_3_2', 1797: 'SCHEMAP_DERIVATION_OK_RESTRICTION_4_1', 1798: 'SCHEMAP_DERIVATION_OK_RESTRICTION_4_2', 1799: 'SCHEMAP_DERIVATION_OK_RESTRICTION_4_3', 1800: 'SCHEMAP_COS_CT_EXTENDS_1_3', 1801: 'SCHEMAV_NOROOT', 1802: 'SCHEMAV_UNDECLAREDELEM', 1803: 'SCHEMAV_NOTTOPLEVEL', 1804: 'SCHEMAV_MISSING', 1805: 'SCHEMAV_WRONGELEM', 1806: 'SCHEMAV_NOTYPE', 1807: 'SCHEMAV_NOROLLBACK', 1808: 'SCHEMAV_ISABSTRACT', 1809: 'SCHEMAV_NOTEMPTY', 1810: 'SCHEMAV_ELEMCONT', 1811: 'SCHEMAV_HAVEDEFAULT', 1812: 'SCHEMAV_NOTNILLABLE', 1813: 'SCHEMAV_EXTRACONTENT', 1814: 'SCHEMAV_INVALIDATTR', 1815: 'SCHEMAV_INVALIDELEM', 1816: 'SCHEMAV_NOTDETERMINIST', 1817: 'SCHEMAV_CONSTRUCT', 1818: 'SCHEMAV_INTERNAL', 1819: 'SCHEMAV_NOTSIMPLE', 1820: 'SCHEMAV_ATTRUNKNOWN', 1821: 'SCHEMAV_ATTRINVALID', 1822: 'SCHEMAV_VALUE', 1823: 'SCHEMAV_FACET', 1824: 'SCHEMAV_CVC_DATATYPE_VALID_1_2_1', 1825: 'SCHEMAV_CVC_DATATYPE_VALID_1_2_2', 1826: 'SCHEMAV_CVC_DATATYPE_VALID_1_2_3', 1827: 'SCHEMAV_CVC_TYPE_3_1_1', 1828: 'SCHEMAV_CVC_TYPE_3_1_2', 1829: 'SCHEMAV_CVC_FACET_VALID', 1830: 'SCHEMAV_CVC_LENGTH_VALID', 1831: 'SCHEMAV_CVC_MINLENGTH_VALID', 1832: 'SCHEMAV_CVC_MAXLENGTH_VALID', 1833: 'SCHEMAV_CVC_MININCLUSIVE_VALID', 1834: 'SCHEMAV_CVC_MAXINCLUSIVE_VALID', 1835: 'SCHEMAV_CVC_MINEXCLUSIVE_VALID', 1836: 'SCHEMAV_CVC_MAXEXCLUSIVE_VALID', 1837: 'SCHEMAV_CVC_TOTALDIGITS_VALID', 1838: 'SCHEMAV_CVC_FRACTIONDIGITS_VALID', 1839: 'SCHEMAV_CVC_PATTERN_VALID', 1840: 'SCHEMAV_CVC_ENUMERATION_VALID', 1841: 'SCHEMAV_CVC_COMPLEX_TYPE_2_1', 1842: 'SCHEMAV_CVC_COMPLEX_TYPE_2_2', 1843: 'SCHEMAV_CVC_COMPLEX_TYPE_2_3', 1844: 'SCHEMAV_CVC_COMPLEX_TYPE_2_4', 1845: 'SCHEMAV_CVC_ELT_1', 1846: 'SCHEMAV_CVC_ELT_2', 1847: 'SCHEMAV_CVC_ELT_3_1', 1848: 'SCHEMAV_CVC_ELT_3_2_1', 1849: 'SCHEMAV_CVC_ELT_3_2_2', 1850: 'SCHEMAV_CVC_ELT_4_1', 1851: 'SCHEMAV_CVC_ELT_4_2', 1852: 'SCHEMAV_CVC_ELT_4_3', 1853: 'SCHEMAV_CVC_ELT_5_1_1', 1854: 'SCHEMAV_CVC_ELT_5_1_2', 1855: 'SCHEMAV_CVC_ELT_5_2_1', 1856: 'SCHEMAV_CVC_ELT_5_2_2_1', 1857: 'SCHEMAV_CVC_ELT_5_2_2_2_1', 1858: 'SCHEMAV_CVC_ELT_5_2_2_2_2', 1859: 'SCHEMAV_CVC_ELT_6', 1860: 'SCHEMAV_CVC_ELT_7', 1861: 'SCHEMAV_CVC_ATTRIBUTE_1', 1862: 'SCHEMAV_CVC_ATTRIBUTE_2', 1863: 'SCHEMAV_CVC_ATTRIBUTE_3', 1864: 'SCHEMAV_CVC_ATTRIBUTE_4', 1865: 'SCHEMAV_CVC_COMPLEX_TYPE_3_1', 1866: 'SCHEMAV_CVC_COMPLEX_TYPE_3_2_1', 1867: 'SCHEMAV_CVC_COMPLEX_TYPE_3_2_2', 1868: 'SCHEMAV_CVC_COMPLEX_TYPE_4', 1869: 'SCHEMAV_CVC_COMPLEX_TYPE_5_1', 1870: 'SCHEMAV_CVC_COMPLEX_TYPE_5_2', 1871: 'SCHEMAV_ELEMENT_CONTENT', 1872: 'SCHEMAV_DOCUMENT_ELEMENT_MISSING', 1873: 'SCHEMAV_CVC_COMPLEX_TYPE_1', 1874: 'SCHEMAV_CVC_AU', 1875: 'SCHEMAV_CVC_TYPE_1', 1876: 'SCHEMAV_CVC_TYPE_2', 1877: 'SCHEMAV_CVC_IDC', 1878: 'SCHEMAV_CVC_WILDCARD', 1879: 'SCHEMAV_MISC', 1900: 'XPTR_UNKNOWN_SCHEME', 1901: 'XPTR_CHILDSEQ_START', 1902: 'XPTR_EVAL_FAILED', 1903: 'XPTR_EXTRA_OBJECTS', 1950: 'C14N_CREATE_CTXT', 1951: 'C14N_REQUIRES_UTF8', 1952: 'C14N_CREATE_STACK', 1953: 'C14N_INVALID_NODE', 1954: 'C14N_UNKNOW_NODE', 1955: 'C14N_RELATIVE_NAMESPACE', 2000: 'FTP_PASV_ANSWER', 2001: 'FTP_EPSV_ANSWER', 2002: 'FTP_ACCNT', 2003: 'FTP_URL_SYNTAX', 2020: 'HTTP_URL_SYNTAX', 2021: 'HTTP_USE_IP', 2022: 'HTTP_UNKNOWN_HOST', 3000: 'SCHEMAP_SRC_SIMPLE_TYPE_1', 3001: 'SCHEMAP_SRC_SIMPLE_TYPE_2', 3002: 'SCHEMAP_SRC_SIMPLE_TYPE_3', 3003: 'SCHEMAP_SRC_SIMPLE_TYPE_4', 3004: 'SCHEMAP_SRC_RESOLVE', 3005: 'SCHEMAP_SRC_RESTRICTION_BASE_OR_SIMPLETYPE', 3006: 'SCHEMAP_SRC_LIST_ITEMTYPE_OR_SIMPLETYPE', 3007: 'SCHEMAP_SRC_UNION_MEMBERTYPES_OR_SIMPLETYPES', 3008: 'SCHEMAP_ST_PROPS_CORRECT_1', 3009: 'SCHEMAP_ST_PROPS_CORRECT_2', 3010: 'SCHEMAP_ST_PROPS_CORRECT_3', 3011: 'SCHEMAP_COS_ST_RESTRICTS_1_1', 3012: 'SCHEMAP_COS_ST_RESTRICTS_1_2', 3013: 'SCHEMAP_COS_ST_RESTRICTS_1_3_1', 3014: 'SCHEMAP_COS_ST_RESTRICTS_1_3_2', 3015: 'SCHEMAP_COS_ST_RESTRICTS_2_1', 3016: 'SCHEMAP_COS_ST_RESTRICTS_2_3_1_1', 3017: 'SCHEMAP_COS_ST_RESTRICTS_2_3_1_2', 3018: 'SCHEMAP_COS_ST_RESTRICTS_2_3_2_1', 3019: 'SCHEMAP_COS_ST_RESTRICTS_2_3_2_2', 3020: 'SCHEMAP_COS_ST_RESTRICTS_2_3_2_3', 3021: 'SCHEMAP_COS_ST_RESTRICTS_2_3_2_4', 3022: 'SCHEMAP_COS_ST_RESTRICTS_2_3_2_5', 3023: 'SCHEMAP_COS_ST_RESTRICTS_3_1', 3024: 'SCHEMAP_COS_ST_RESTRICTS_3_3_1', 3025: 'SCHEMAP_COS_ST_RESTRICTS_3_3_1_2', 3026: 'SCHEMAP_COS_ST_RESTRICTS_3_3_2_2', 3027: 'SCHEMAP_COS_ST_RESTRICTS_3_3_2_1', 3028: 'SCHEMAP_COS_ST_RESTRICTS_3_3_2_3', 3029: 'SCHEMAP_COS_ST_RESTRICTS_3_3_2_4', 3030: 'SCHEMAP_COS_ST_RESTRICTS_3_3_2_5', 3031: 'SCHEMAP_COS_ST_DERIVED_OK_2_1', 3032: 'SCHEMAP_COS_ST_DERIVED_OK_2_2', 3033: 'SCHEMAP_S4S_ELEM_NOT_ALLOWED', 3034: 'SCHEMAP_S4S_ELEM_MISSING', 3035: 'SCHEMAP_S4S_ATTR_NOT_ALLOWED', 3036: 'SCHEMAP_S4S_ATTR_MISSING', 3037: 'SCHEMAP_S4S_ATTR_INVALID_VALUE', 3038: 'SCHEMAP_SRC_ELEMENT_1', 3039: 'SCHEMAP_SRC_ELEMENT_2_1', 3040: 'SCHEMAP_SRC_ELEMENT_2_2', 3041: 'SCHEMAP_SRC_ELEMENT_3', 3042: 'SCHEMAP_P_PROPS_CORRECT_1', 3043: 'SCHEMAP_P_PROPS_CORRECT_2_1', 3044: 'SCHEMAP_P_PROPS_CORRECT_2_2', 3045: 'SCHEMAP_E_PROPS_CORRECT_2', 3046: 'SCHEMAP_E_PROPS_CORRECT_3', 3047: 'SCHEMAP_E_PROPS_CORRECT_4', 3048: 'SCHEMAP_E_PROPS_CORRECT_5', 3049: 'SCHEMAP_E_PROPS_CORRECT_6', 3050: 'SCHEMAP_SRC_INCLUDE', 3051: 'SCHEMAP_SRC_ATTRIBUTE_1', 3052: 'SCHEMAP_SRC_ATTRIBUTE_2', 3053: 'SCHEMAP_SRC_ATTRIBUTE_3_1', 3054: 'SCHEMAP_SRC_ATTRIBUTE_3_2', 3055: 'SCHEMAP_SRC_ATTRIBUTE_4', 3056: 'SCHEMAP_NO_XMLNS', 3057: 'SCHEMAP_NO_XSI', 3058: 'SCHEMAP_COS_VALID_DEFAULT_1', 3059: 'SCHEMAP_COS_VALID_DEFAULT_2_1', 3060: 'SCHEMAP_COS_VALID_DEFAULT_2_2_1', 3061: 'SCHEMAP_COS_VALID_DEFAULT_2_2_2', 3062: 'SCHEMAP_CVC_SIMPLE_TYPE', 3063: 'SCHEMAP_COS_CT_EXTENDS_1_1', 3064: 'SCHEMAP_SRC_IMPORT_1_1', 3065: 'SCHEMAP_SRC_IMPORT_1_2', 3066: 'SCHEMAP_SRC_IMPORT_2', 3067: 'SCHEMAP_SRC_IMPORT_2_1', 3068: 'SCHEMAP_SRC_IMPORT_2_2', 3069: 'SCHEMAP_INTERNAL', 3070: 'SCHEMAP_NOT_DETERMINISTIC', 3071: 'SCHEMAP_SRC_ATTRIBUTE_GROUP_1', 3072: 'SCHEMAP_SRC_ATTRIBUTE_GROUP_2', 3073: 'SCHEMAP_SRC_ATTRIBUTE_GROUP_3', 3074: 'SCHEMAP_MG_PROPS_CORRECT_1', 3075: 'SCHEMAP_MG_PROPS_CORRECT_2', 3076: 'SCHEMAP_SRC_CT_1', 3077: 'SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_3', 3078: 'SCHEMAP_AU_PROPS_CORRECT_2', 3079: 'SCHEMAP_A_PROPS_CORRECT_2', 3080: 'SCHEMAP_C_PROPS_CORRECT', 3081: 'SCHEMAP_SRC_REDEFINE', 3082: 'SCHEMAP_SRC_IMPORT', 3083: 'SCHEMAP_WARN_SKIP_SCHEMA', 3084: 'SCHEMAP_WARN_UNLOCATED_SCHEMA', 3085: 'SCHEMAP_WARN_ATTR_REDECL_PROH', 3086: 'SCHEMAP_WARN_ATTR_POINTLESS_PROH', 3087: 'SCHEMAP_AG_PROPS_CORRECT', 3088: 'SCHEMAP_COS_CT_EXTENDS_1_2', 3089: 'SCHEMAP_AU_PROPS_CORRECT', 3090: 'SCHEMAP_A_PROPS_CORRECT_3', 3091: 'SCHEMAP_COS_ALL_LIMITED', 4000: 'SCHEMATRONV_ASSERT', 4001: 'SCHEMATRONV_REPORT', 4900: 'MODULE_OPEN', 4901: 'MODULE_CLOSE', 5000: 'CHECK_FOUND_ELEMENT', 5001: 'CHECK_FOUND_ATTRIBUTE', 5002: 'CHECK_FOUND_TEXT', 5003: 'CHECK_FOUND_CDATA', 5004: 'CHECK_FOUND_ENTITYREF', 5005: 'CHECK_FOUND_ENTITY', 5006: 'CHECK_FOUND_PI', 5007: 'CHECK_FOUND_COMMENT', 5008: 'CHECK_FOUND_DOCTYPE', 5009: 'CHECK_FOUND_FRAGMENT', 5010: 'CHECK_FOUND_NOTATION', 5011: 'CHECK_UNKNOWN_NODE', 5012: 'CHECK_ENTITY_TYPE', 5013: 'CHECK_NO_PARENT', 5014: 'CHECK_NO_DOC', 5015: 'CHECK_NO_NAME', 5016: 'CHECK_NO_ELEM', 5017: 'CHECK_WRONG_DOC', 5018: 'CHECK_NO_PREV', 5019: 'CHECK_WRONG_PREV', 5020: 'CHECK_NO_NEXT', 5021: 'CHECK_WRONG_NEXT', 5022: 'CHECK_NOT_DTD', 5023: 'CHECK_NOT_ATTR', 5024: 'CHECK_NOT_ATTR_DECL', 5025: 'CHECK_NOT_ELEM_DECL', 5026: 'CHECK_NOT_ENTITY_DECL', 5027: 'CHECK_NOT_NS_DECL', 5028: 'CHECK_NO_HREF', 5029: 'CHECK_WRONG_PARENT', 5030: 'CHECK_NS_SCOPE', 5031: 'CHECK_NS_ANCESTOR', 5032: 'CHECK_NOT_UTF8', 5033: 'CHECK_NO_DICT', 5034: 'CHECK_NOT_NCNAME', 5035: 'CHECK_OUTSIDE_DICT', 5036: 'CHECK_WRONG_NAME', 5037: 'CHECK_NAME_NOT_NULL', 6000: 'I18N_NO_NAME', 6001: 'I18N_NO_HANDLER', 6002: 'I18N_EXCESS_HANDLER', 6003: 'I18N_CONV_FAILED', 6004: 'I18N_NO_OUTPUT', 7000: 'BUF_OVERFLOW'}</em><a class="headerlink" href="#lxml.etree.ErrorTypes._names" title="Permalink to this definition">¶</a></dt>
4781 <dl class="py class">
4782 <dt id="lxml.etree.FallbackElementClassLookup">
4783 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">FallbackElementClassLookup</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">fallback</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.FallbackElementClassLookup" title="Permalink to this definition">¶</a></dt>
4784 <dd><p>Bases: <a class="reference internal" href="#lxml.etree.ElementClassLookup" title="lxml.etree.ElementClassLookup"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.ElementClassLookup</span></code></a></p>
4785 <p>Superclass of Element class lookups with additional fallback.</p>
4786 <dl class="py method">
4787 <dt id="lxml.etree.FallbackElementClassLookup.set_fallback">
4788 <code class="sig-name descname">set_fallback</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">lookup</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.FallbackElementClassLookup.set_fallback" title="Permalink to this definition">¶</a></dt>
4789 <dd><p>Sets the fallback scheme for this lookup method.</p>
4792 <dl class="py attribute">
4793 <dt id="lxml.etree.FallbackElementClassLookup.fallback">
4794 <code class="sig-name descname">fallback</code><a class="headerlink" href="#lxml.etree.FallbackElementClassLookup.fallback" title="Permalink to this definition">¶</a></dt>
4799 <dl class="py class">
4800 <dt id="lxml.etree.HTMLParser">
4801 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">HTMLParser</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">encoding</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">remove_blank_text</span><span class="o">=</span><span class="default_value">False</span></em>, <em class="sig-param"><span class="n">remove_comments</span><span class="o">=</span><span class="default_value">False</span></em>, <em class="sig-param"><span class="n">remove_pis</span><span class="o">=</span><span class="default_value">False</span></em>, <em class="sig-param"><span class="n">strip_cdata</span><span class="o">=</span><span class="default_value">True</span></em>, <em class="sig-param"><span class="n">no_network</span><span class="o">=</span><span class="default_value">True</span></em>, <em class="sig-param"><span class="n">target</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">schema</span><span class="p">:</span> <span class="n"><a class="reference internal" href="#lxml.etree.XMLSchema" title="lxml.etree.XMLSchema">XMLSchema</a></span> <span class="o">=</span> <span class="default_value">None</span></em>, <em class="sig-param"><span class="n">recover</span><span class="o">=</span><span class="default_value">True</span></em>, <em class="sig-param"><span class="n">compact</span><span class="o">=</span><span class="default_value">True</span></em>, <em class="sig-param"><span class="n">collect_ids</span><span class="o">=</span><span class="default_value">True</span></em>, <em class="sig-param"><span class="n">huge_tree</span><span class="o">=</span><span class="default_value">False</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.HTMLParser" title="Permalink to this definition">¶</a></dt>
4802 <dd><p>Bases: <a class="reference internal" href="#lxml.etree._FeedParser" title="lxml.etree._FeedParser"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree._FeedParser</span></code></a></p>
4803 <p>The HTML parser.</p>
4804 <p>This parser allows reading HTML into a normal XML tree. By
4805 default, it can read broken (non well-formed) HTML, depending on
4806 the capabilities of libxml2. Use the ‘recover’ option to switch
4808 <p>Available boolean keyword arguments:</p>
4810 <li><p>recover - try hard to parse through broken HTML (default: True)</p></li>
4811 <li><p>no_network - prevent network access for related files (default: True)</p></li>
4812 <li><p>remove_blank_text - discard empty text nodes that are ignorable (i.e. not actual text content)</p></li>
4813 <li><p>remove_comments - discard comments</p></li>
4814 <li><p>remove_pis - discard processing instructions</p></li>
4815 <li><p>strip_cdata - replace CDATA sections by normal text content (default: True)</p></li>
4816 <li><p>compact - save memory for short text content (default: True)</p></li>
4817 <li><p>default_doctype - add a default doctype even if it is not found in the HTML (default: True)</p></li>
4818 <li><p>collect_ids - use a hash table of XML IDs for fast access (default: True)</p></li>
4819 <li><dl class="simple">
4820 <dt>huge_tree - disable security restrictions and support very deep trees</dt><dd><p>and very long text content (only affects libxml2 2.7+)</p>
4825 <p>Other keyword arguments:</p>
4827 <li><p>encoding - override the document encoding</p></li>
4828 <li><p>target - a parser target object that will receive the parse events</p></li>
4829 <li><p>schema - an XMLSchema to validate against</p></li>
4831 <p>Note that you should avoid sharing parsers between threads for performance
4835 <dl class="py class">
4836 <dt id="lxml.etree.HTMLPullParser">
4837 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">HTMLPullParser</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">events</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="o">*</span></em>, <em class="sig-param"><span class="n">tag</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">base_url</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="o">**</span><span class="n">kwargs</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.HTMLPullParser" title="Permalink to this definition">¶</a></dt>
4838 <dd><p>Bases: <a class="reference internal" href="#lxml.etree.HTMLParser" title="lxml.etree.HTMLParser"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.HTMLParser</span></code></a></p>
4839 <p>HTML parser that collects parse events in an iterator.</p>
4840 <p>The collected events are the same as for iterparse(), but the
4841 parser itself is non-blocking in the sense that it receives
4842 data chunks incrementally through its .feed() method, instead
4843 of reading them directly from a file(-like) object all by itself.</p>
4844 <p>By default, it collects Element end events. To change that,
4845 pass any subset of the available events into the <code class="docutils literal notranslate"><span class="pre">events</span></code>
4846 argument: <code class="docutils literal notranslate"><span class="pre">'start'</span></code>, <code class="docutils literal notranslate"><span class="pre">'end'</span></code>, <code class="docutils literal notranslate"><span class="pre">'start-ns'</span></code>,
4847 <code class="docutils literal notranslate"><span class="pre">'end-ns'</span></code>, <code class="docutils literal notranslate"><span class="pre">'comment'</span></code>, <code class="docutils literal notranslate"><span class="pre">'pi'</span></code>.</p>
4848 <p>To support loading external dependencies relative to the input
4849 source, you can pass the <code class="docutils literal notranslate"><span class="pre">base_url</span></code>.</p>
4850 <dl class="py method">
4851 <dt id="lxml.etree.HTMLPullParser.read_events">
4852 <code class="sig-name descname">read_events</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.HTMLPullParser.read_events" title="Permalink to this definition">¶</a></dt>
4857 <dl class="py class">
4858 <dt id="lxml.etree.PIBase">
4859 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">PIBase</code><a class="headerlink" href="#lxml.etree.PIBase" title="Permalink to this definition">¶</a></dt>
4860 <dd><p>Bases: <a class="reference internal" href="#lxml.etree._ProcessingInstruction" title="lxml.etree._ProcessingInstruction"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree._ProcessingInstruction</span></code></a></p>
4861 <p>All custom Processing Instruction classes must inherit from this one.</p>
4862 <p>To create an XML ProcessingInstruction instance, use the <code class="docutils literal notranslate"><span class="pre">PI()</span></code>
4864 <p>Subclasses <em>must not</em> override __init__ or __new__ as it is
4865 absolutely undefined when these objects will be created or
4866 destroyed. All persistent state of PIs must be stored in the
4867 underlying XML. If you really need to initialize the object after
4868 creation, you can implement an <code class="docutils literal notranslate"><span class="pre">_init(self)</span></code> method that will be
4869 called after object creation.</p>
4872 <dl class="py class">
4873 <dt id="lxml.etree.ParserBasedElementClassLookup">
4874 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">ParserBasedElementClassLookup</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">fallback</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.ParserBasedElementClassLookup" title="Permalink to this definition">¶</a></dt>
4875 <dd><p>Bases: <a class="reference internal" href="#lxml.etree.FallbackElementClassLookup" title="lxml.etree.FallbackElementClassLookup"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.FallbackElementClassLookup</span></code></a></p>
4876 <p>Element class lookup based on the XML parser.</p>
4879 <dl class="py class">
4880 <dt id="lxml.etree.PyErrorLog">
4881 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">PyErrorLog</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">logger_name</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">logger</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.PyErrorLog" title="Permalink to this definition">¶</a></dt>
4882 <dd><p>Bases: <a class="reference internal" href="#lxml.etree._BaseErrorLog" title="lxml.etree._BaseErrorLog"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree._BaseErrorLog</span></code></a></p>
4883 <p>A global error log that connects to the Python stdlib logging package.</p>
4884 <p>The constructor accepts an optional logger name or a readily
4885 instantiated logger instance.</p>
4886 <p>If you want to change the mapping between libxml2’s ErrorLevels and Python
4887 logging levels, you can modify the level_map dictionary from a subclass.</p>
4888 <p>The default mapping is:</p>
4889 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">ErrorLevels</span><span class="o">.</span><span class="n">WARNING</span> <span class="o">=</span> <span class="n">logging</span><span class="o">.</span><span class="n">WARNING</span>
4890 <span class="n">ErrorLevels</span><span class="o">.</span><span class="n">ERROR</span> <span class="o">=</span> <span class="n">logging</span><span class="o">.</span><span class="n">ERROR</span>
4891 <span class="n">ErrorLevels</span><span class="o">.</span><span class="n">FATAL</span> <span class="o">=</span> <span class="n">logging</span><span class="o">.</span><span class="n">CRITICAL</span>
4894 <p>You can also override the method <code class="docutils literal notranslate"><span class="pre">receive()</span></code> that takes a LogEntry
4895 object and calls <code class="docutils literal notranslate"><span class="pre">self.log(log_entry,</span> <span class="pre">format_string,</span> <span class="pre">arg1,</span> <span class="pre">arg2,</span> <span class="pre">...)</span></code>
4896 with appropriate data.</p>
4897 <dl class="py method">
4898 <dt id="lxml.etree.PyErrorLog.copy">
4899 <code class="sig-name descname">copy</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.PyErrorLog.copy" title="Permalink to this definition">¶</a></dt>
4900 <dd><p>Dummy method that returns an empty error log.</p>
4903 <dl class="py method">
4904 <dt id="lxml.etree.PyErrorLog.log">
4905 <code class="sig-name descname">log</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">log_entry</span></em>, <em class="sig-param"><span class="n">message</span></em>, <em class="sig-param"><span class="o">*</span><span class="n">args</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.PyErrorLog.log" title="Permalink to this definition">¶</a></dt>
4906 <dd><p>Called by the .receive() method to log a _LogEntry instance to
4907 the Python logging system. This handles the error level
4909 <p>In the default implementation, the <code class="docutils literal notranslate"><span class="pre">message</span></code> argument
4910 receives a complete log line, and there are no further
4911 <code class="docutils literal notranslate"><span class="pre">args</span></code>. To change the message format, it is best to
4912 override the .receive() method instead of this one.</p>
4915 <dl class="py method">
4916 <dt id="lxml.etree.PyErrorLog.receive">
4917 <code class="sig-name descname">receive</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">log_entry</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.PyErrorLog.receive" title="Permalink to this definition">¶</a></dt>
4918 <dd><p>Receive a _LogEntry instance from the logging system. Calls
4919 the .log() method with appropriate parameters:</p>
4920 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="bp">self</span><span class="o">.</span><span class="n">log</span><span class="p">(</span><span class="n">log_entry</span><span class="p">,</span> <span class="nb">repr</span><span class="p">(</span><span class="n">log_entry</span><span class="p">))</span>
4923 <p>You can override this method to provide your own log output
4927 <dl class="py attribute">
4928 <dt id="lxml.etree.PyErrorLog.level_map">
4929 <code class="sig-name descname">level_map</code><a class="headerlink" href="#lxml.etree.PyErrorLog.level_map" title="Permalink to this definition">¶</a></dt>
4934 <dl class="py class">
4935 <dt id="lxml.etree.PythonElementClassLookup">
4936 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">PythonElementClassLookup</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">fallback</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.PythonElementClassLookup" title="Permalink to this definition">¶</a></dt>
4937 <dd><p>Bases: <a class="reference internal" href="#lxml.etree.FallbackElementClassLookup" title="lxml.etree.FallbackElementClassLookup"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.FallbackElementClassLookup</span></code></a></p>
4938 <p>Element class lookup based on a subclass method.</p>
4939 <p>This class lookup scheme allows access to the entire XML tree in
4940 read-only mode. To use it, re-implement the <code class="docutils literal notranslate"><span class="pre">lookup(self,</span> <span class="pre">doc,</span>
4941 <span class="pre">root)</span></code> method in a subclass:</p>
4942 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="kn">from</span> <span class="nn">lxml</span> <span class="kn">import</span> <span class="n">etree</span><span class="p">,</span> <span class="n">pyclasslookup</span>
4944 <span class="k">class</span> <span class="nc">MyElementClass</span><span class="p">(</span><span class="n">etree</span><span class="o">.</span><span class="n">ElementBase</span><span class="p">):</span>
4945 <span class="n">honkey</span> <span class="o">=</span> <span class="kc">True</span>
4947 <span class="k">class</span> <span class="nc">MyLookup</span><span class="p">(</span><span class="n">pyclasslookup</span><span class="o">.</span><span class="n">PythonElementClassLookup</span><span class="p">):</span>
4948 <span class="k">def</span> <span class="nf">lookup</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">doc</span><span class="p">,</span> <span class="n">root</span><span class="p">):</span>
4949 <span class="k">if</span> <span class="n">root</span><span class="o">.</span><span class="n">tag</span> <span class="o">==</span> <span class="s2">"sometag"</span><span class="p">:</span>
4950 <span class="k">return</span> <span class="n">MyElementClass</span>
4951 <span class="k">else</span><span class="p">:</span>
4952 <span class="k">for</span> <span class="n">child</span> <span class="ow">in</span> <span class="n">root</span><span class="p">:</span>
4953 <span class="k">if</span> <span class="n">child</span><span class="o">.</span><span class="n">tag</span> <span class="o">==</span> <span class="s2">"someothertag"</span><span class="p">:</span>
4954 <span class="k">return</span> <span class="n">MyElementClass</span>
4955 <span class="c1"># delegate to default</span>
4956 <span class="k">return</span> <span class="kc">None</span>
4959 <p>If you return None from this method, the fallback will be called.</p>
4960 <p>The first argument is the opaque document instance that contains
4961 the Element. The second argument is a lightweight Element proxy
4962 implementation that is only valid during the lookup. Do not try
4963 to keep a reference to it. Once the lookup is done, the proxy
4964 will be invalid.</p>
4965 <p>Also, you cannot wrap such a read-only Element in an ElementTree,
4966 and you must take care not to keep a reference to them outside of
4967 the <cite>lookup()</cite> method.</p>
4968 <p>Note that the API of the Element objects is not complete. It is
4969 purely read-only and does not support all features of the normal
4970 <cite>lxml.etree</cite> API (such as XPath, extended slicing or some
4971 iteration methods).</p>
4972 <p>See <a class="reference external" href="http://codespeak.net/lxml/element_classes.html">http://codespeak.net/lxml/element_classes.html</a></p>
4973 <dl class="py method">
4974 <dt id="lxml.etree.PythonElementClassLookup.lookup">
4975 <code class="sig-name descname">lookup</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">doc</span></em>, <em class="sig-param"><span class="n">element</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.PythonElementClassLookup.lookup" title="Permalink to this definition">¶</a></dt>
4976 <dd><p>Override this method to implement your own lookup scheme.</p>
4981 <dl class="py class">
4982 <dt id="lxml.etree.QName">
4983 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">QName</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">text_or_uri_or_element</span></em>, <em class="sig-param"><span class="n">tag</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.QName" title="Permalink to this definition">¶</a></dt>
4984 <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
4985 <p>QName wrapper for qualified XML names.</p>
4986 <p>Pass a tag name by itself or a namespace URI and a tag name to
4987 create a qualified name. Alternatively, pass an Element to
4988 extract its tag name. <code class="docutils literal notranslate"><span class="pre">None</span></code> as first argument is ignored in
4989 order to allow for generic 2-argument usage.</p>
4990 <p>The <code class="docutils literal notranslate"><span class="pre">text</span></code> property holds the qualified name in
4991 <code class="docutils literal notranslate"><span class="pre">{namespace}tagname</span></code> notation. The <code class="docutils literal notranslate"><span class="pre">namespace</span></code> and
4992 <code class="docutils literal notranslate"><span class="pre">localname</span></code> properties hold the respective parts of the tag
4994 <p>You can pass QName objects wherever a tag name is expected. Also,
4995 setting Element text from a QName will resolve the namespace prefix
4996 on assignment and set a qualified text value. This is helpful in XML
4997 languages like SOAP or XML-Schema that use prefixed tag names in
4998 their text content.</p>
4999 <dl class="py attribute">
5000 <dt id="lxml.etree.QName.localname">
5001 <code class="sig-name descname">localname</code><a class="headerlink" href="#lxml.etree.QName.localname" title="Permalink to this definition">¶</a></dt>
5004 <dl class="py attribute">
5005 <dt id="lxml.etree.QName.namespace">
5006 <code class="sig-name descname">namespace</code><a class="headerlink" href="#lxml.etree.QName.namespace" title="Permalink to this definition">¶</a></dt>
5009 <dl class="py attribute">
5010 <dt id="lxml.etree.QName.text">
5011 <code class="sig-name descname">text</code><a class="headerlink" href="#lxml.etree.QName.text" title="Permalink to this definition">¶</a></dt>
5016 <dl class="py class">
5017 <dt id="lxml.etree.RelaxNG">
5018 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">RelaxNG</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">etree</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">file</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.RelaxNG" title="Permalink to this definition">¶</a></dt>
5019 <dd><p>Bases: <a class="reference internal" href="#lxml.etree._Validator" title="lxml.etree._Validator"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree._Validator</span></code></a></p>
5020 <p>Turn a document into a Relax NG validator.</p>
5021 <p>Either pass a schema as Element or ElementTree, or pass a file or
5022 filename through the <code class="docutils literal notranslate"><span class="pre">file</span></code> keyword argument.</p>
5023 <dl class="py method">
5024 <dt id="lxml.etree.RelaxNG.from_rnc_string">
5025 <em class="property">classmethod </em><code class="sig-name descname">from_rnc_string</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">src</span></em>, <em class="sig-param"><span class="n">base_url</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.RelaxNG.from_rnc_string" title="Permalink to this definition">¶</a></dt>
5026 <dd><p>Parse a RelaxNG schema in compact syntax from a text string</p>
5027 <p>Requires the rnc2rng package to be installed.</p>
5028 <p>Passing the source URL or file path of the source as ‘base_url’
5029 will enable resolving resource references relative to the source.</p>
5034 <dl class="py class">
5035 <dt id="lxml.etree.RelaxNGErrorTypes">
5036 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">RelaxNGErrorTypes</code><a class="headerlink" href="#lxml.etree.RelaxNGErrorTypes" title="Permalink to this definition">¶</a></dt>
5037 <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
5038 <p>Libxml2 RelaxNG error types</p>
5039 <dl class="py method">
5040 <dt id="lxml.etree.RelaxNGErrorTypes._getName">
5041 <code class="sig-name descname">_getName</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">default</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="o">/</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.RelaxNGErrorTypes._getName" title="Permalink to this definition">¶</a></dt>
5042 <dd><p>Return the value for key if key is in the dictionary, else default.</p>
5045 <dl class="py attribute">
5046 <dt id="lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_ATTREXTRANS">
5047 <code class="sig-name descname">RELAXNG_ERR_ATTREXTRANS</code><em class="property"> = 20</em><a class="headerlink" href="#lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_ATTREXTRANS" title="Permalink to this definition">¶</a></dt>
5050 <dl class="py attribute">
5051 <dt id="lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_ATTRNAME">
5052 <code class="sig-name descname">RELAXNG_ERR_ATTRNAME</code><em class="property"> = 14</em><a class="headerlink" href="#lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_ATTRNAME" title="Permalink to this definition">¶</a></dt>
5055 <dl class="py attribute">
5056 <dt id="lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_ATTRNONS">
5057 <code class="sig-name descname">RELAXNG_ERR_ATTRNONS</code><em class="property"> = 16</em><a class="headerlink" href="#lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_ATTRNONS" title="Permalink to this definition">¶</a></dt>
5060 <dl class="py attribute">
5061 <dt id="lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_ATTRVALID">
5062 <code class="sig-name descname">RELAXNG_ERR_ATTRVALID</code><em class="property"> = 24</em><a class="headerlink" href="#lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_ATTRVALID" title="Permalink to this definition">¶</a></dt>
5065 <dl class="py attribute">
5066 <dt id="lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_ATTRWRONGNS">
5067 <code class="sig-name descname">RELAXNG_ERR_ATTRWRONGNS</code><em class="property"> = 18</em><a class="headerlink" href="#lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_ATTRWRONGNS" title="Permalink to this definition">¶</a></dt>
5070 <dl class="py attribute">
5071 <dt id="lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_CONTENTVALID">
5072 <code class="sig-name descname">RELAXNG_ERR_CONTENTVALID</code><em class="property"> = 25</em><a class="headerlink" href="#lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_CONTENTVALID" title="Permalink to this definition">¶</a></dt>
5075 <dl class="py attribute">
5076 <dt id="lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_DATAELEM">
5077 <code class="sig-name descname">RELAXNG_ERR_DATAELEM</code><em class="property"> = 28</em><a class="headerlink" href="#lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_DATAELEM" title="Permalink to this definition">¶</a></dt>
5080 <dl class="py attribute">
5081 <dt id="lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_DATATYPE">
5082 <code class="sig-name descname">RELAXNG_ERR_DATATYPE</code><em class="property"> = 31</em><a class="headerlink" href="#lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_DATATYPE" title="Permalink to this definition">¶</a></dt>
5085 <dl class="py attribute">
5086 <dt id="lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_DUPID">
5087 <code class="sig-name descname">RELAXNG_ERR_DUPID</code><em class="property"> = 4</em><a class="headerlink" href="#lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_DUPID" title="Permalink to this definition">¶</a></dt>
5090 <dl class="py attribute">
5091 <dt id="lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_ELEMEXTRANS">
5092 <code class="sig-name descname">RELAXNG_ERR_ELEMEXTRANS</code><em class="property"> = 19</em><a class="headerlink" href="#lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_ELEMEXTRANS" title="Permalink to this definition">¶</a></dt>
5095 <dl class="py attribute">
5096 <dt id="lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_ELEMNAME">
5097 <code class="sig-name descname">RELAXNG_ERR_ELEMNAME</code><em class="property"> = 13</em><a class="headerlink" href="#lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_ELEMNAME" title="Permalink to this definition">¶</a></dt>
5100 <dl class="py attribute">
5101 <dt id="lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_ELEMNONS">
5102 <code class="sig-name descname">RELAXNG_ERR_ELEMNONS</code><em class="property"> = 15</em><a class="headerlink" href="#lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_ELEMNONS" title="Permalink to this definition">¶</a></dt>
5105 <dl class="py attribute">
5106 <dt id="lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_ELEMNOTEMPTY">
5107 <code class="sig-name descname">RELAXNG_ERR_ELEMNOTEMPTY</code><em class="property"> = 21</em><a class="headerlink" href="#lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_ELEMNOTEMPTY" title="Permalink to this definition">¶</a></dt>
5110 <dl class="py attribute">
5111 <dt id="lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_ELEMWRONG">
5112 <code class="sig-name descname">RELAXNG_ERR_ELEMWRONG</code><em class="property"> = 38</em><a class="headerlink" href="#lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_ELEMWRONG" title="Permalink to this definition">¶</a></dt>
5115 <dl class="py attribute">
5116 <dt id="lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_ELEMWRONGNS">
5117 <code class="sig-name descname">RELAXNG_ERR_ELEMWRONGNS</code><em class="property"> = 17</em><a class="headerlink" href="#lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_ELEMWRONGNS" title="Permalink to this definition">¶</a></dt>
5120 <dl class="py attribute">
5121 <dt id="lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_EXTRACONTENT">
5122 <code class="sig-name descname">RELAXNG_ERR_EXTRACONTENT</code><em class="property"> = 26</em><a class="headerlink" href="#lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_EXTRACONTENT" title="Permalink to this definition">¶</a></dt>
5125 <dl class="py attribute">
5126 <dt id="lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_EXTRADATA">
5127 <code class="sig-name descname">RELAXNG_ERR_EXTRADATA</code><em class="property"> = 35</em><a class="headerlink" href="#lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_EXTRADATA" title="Permalink to this definition">¶</a></dt>
5130 <dl class="py attribute">
5131 <dt id="lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_INTEREXTRA">
5132 <code class="sig-name descname">RELAXNG_ERR_INTEREXTRA</code><em class="property"> = 12</em><a class="headerlink" href="#lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_INTEREXTRA" title="Permalink to this definition">¶</a></dt>
5135 <dl class="py attribute">
5136 <dt id="lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_INTERNAL">
5137 <code class="sig-name descname">RELAXNG_ERR_INTERNAL</code><em class="property"> = 37</em><a class="headerlink" href="#lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_INTERNAL" title="Permalink to this definition">¶</a></dt>
5140 <dl class="py attribute">
5141 <dt id="lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_INTERNODATA">
5142 <code class="sig-name descname">RELAXNG_ERR_INTERNODATA</code><em class="property"> = 10</em><a class="headerlink" href="#lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_INTERNODATA" title="Permalink to this definition">¶</a></dt>
5145 <dl class="py attribute">
5146 <dt id="lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_INTERSEQ">
5147 <code class="sig-name descname">RELAXNG_ERR_INTERSEQ</code><em class="property"> = 11</em><a class="headerlink" href="#lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_INTERSEQ" title="Permalink to this definition">¶</a></dt>
5150 <dl class="py attribute">
5151 <dt id="lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_INVALIDATTR">
5152 <code class="sig-name descname">RELAXNG_ERR_INVALIDATTR</code><em class="property"> = 27</em><a class="headerlink" href="#lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_INVALIDATTR" title="Permalink to this definition">¶</a></dt>
5155 <dl class="py attribute">
5156 <dt id="lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_LACKDATA">
5157 <code class="sig-name descname">RELAXNG_ERR_LACKDATA</code><em class="property"> = 36</em><a class="headerlink" href="#lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_LACKDATA" title="Permalink to this definition">¶</a></dt>
5160 <dl class="py attribute">
5161 <dt id="lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_LIST">
5162 <code class="sig-name descname">RELAXNG_ERR_LIST</code><em class="property"> = 33</em><a class="headerlink" href="#lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_LIST" title="Permalink to this definition">¶</a></dt>
5165 <dl class="py attribute">
5166 <dt id="lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_LISTELEM">
5167 <code class="sig-name descname">RELAXNG_ERR_LISTELEM</code><em class="property"> = 30</em><a class="headerlink" href="#lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_LISTELEM" title="Permalink to this definition">¶</a></dt>
5170 <dl class="py attribute">
5171 <dt id="lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_LISTEMPTY">
5172 <code class="sig-name descname">RELAXNG_ERR_LISTEMPTY</code><em class="property"> = 9</em><a class="headerlink" href="#lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_LISTEMPTY" title="Permalink to this definition">¶</a></dt>
5175 <dl class="py attribute">
5176 <dt id="lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_LISTEXTRA">
5177 <code class="sig-name descname">RELAXNG_ERR_LISTEXTRA</code><em class="property"> = 8</em><a class="headerlink" href="#lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_LISTEXTRA" title="Permalink to this definition">¶</a></dt>
5180 <dl class="py attribute">
5181 <dt id="lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_MEMORY">
5182 <code class="sig-name descname">RELAXNG_ERR_MEMORY</code><em class="property"> = 1</em><a class="headerlink" href="#lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_MEMORY" title="Permalink to this definition">¶</a></dt>
5185 <dl class="py attribute">
5186 <dt id="lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_NODEFINE">
5187 <code class="sig-name descname">RELAXNG_ERR_NODEFINE</code><em class="property"> = 7</em><a class="headerlink" href="#lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_NODEFINE" title="Permalink to this definition">¶</a></dt>
5190 <dl class="py attribute">
5191 <dt id="lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_NOELEM">
5192 <code class="sig-name descname">RELAXNG_ERR_NOELEM</code><em class="property"> = 22</em><a class="headerlink" href="#lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_NOELEM" title="Permalink to this definition">¶</a></dt>
5195 <dl class="py attribute">
5196 <dt id="lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_NOGRAMMAR">
5197 <code class="sig-name descname">RELAXNG_ERR_NOGRAMMAR</code><em class="property"> = 34</em><a class="headerlink" href="#lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_NOGRAMMAR" title="Permalink to this definition">¶</a></dt>
5200 <dl class="py attribute">
5201 <dt id="lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_NOSTATE">
5202 <code class="sig-name descname">RELAXNG_ERR_NOSTATE</code><em class="property"> = 6</em><a class="headerlink" href="#lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_NOSTATE" title="Permalink to this definition">¶</a></dt>
5205 <dl class="py attribute">
5206 <dt id="lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_NOTELEM">
5207 <code class="sig-name descname">RELAXNG_ERR_NOTELEM</code><em class="property"> = 23</em><a class="headerlink" href="#lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_NOTELEM" title="Permalink to this definition">¶</a></dt>
5210 <dl class="py attribute">
5211 <dt id="lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_TEXTWRONG">
5212 <code class="sig-name descname">RELAXNG_ERR_TEXTWRONG</code><em class="property"> = 39</em><a class="headerlink" href="#lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_TEXTWRONG" title="Permalink to this definition">¶</a></dt>
5215 <dl class="py attribute">
5216 <dt id="lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_TYPE">
5217 <code class="sig-name descname">RELAXNG_ERR_TYPE</code><em class="property"> = 2</em><a class="headerlink" href="#lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_TYPE" title="Permalink to this definition">¶</a></dt>
5220 <dl class="py attribute">
5221 <dt id="lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_TYPECMP">
5222 <code class="sig-name descname">RELAXNG_ERR_TYPECMP</code><em class="property"> = 5</em><a class="headerlink" href="#lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_TYPECMP" title="Permalink to this definition">¶</a></dt>
5225 <dl class="py attribute">
5226 <dt id="lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_TYPEVAL">
5227 <code class="sig-name descname">RELAXNG_ERR_TYPEVAL</code><em class="property"> = 3</em><a class="headerlink" href="#lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_TYPEVAL" title="Permalink to this definition">¶</a></dt>
5230 <dl class="py attribute">
5231 <dt id="lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_VALELEM">
5232 <code class="sig-name descname">RELAXNG_ERR_VALELEM</code><em class="property"> = 29</em><a class="headerlink" href="#lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_VALELEM" title="Permalink to this definition">¶</a></dt>
5235 <dl class="py attribute">
5236 <dt id="lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_VALUE">
5237 <code class="sig-name descname">RELAXNG_ERR_VALUE</code><em class="property"> = 32</em><a class="headerlink" href="#lxml.etree.RelaxNGErrorTypes.RELAXNG_ERR_VALUE" title="Permalink to this definition">¶</a></dt>
5240 <dl class="py attribute">
5241 <dt id="lxml.etree.RelaxNGErrorTypes.RELAXNG_OK">
5242 <code class="sig-name descname">RELAXNG_OK</code><em class="property"> = 0</em><a class="headerlink" href="#lxml.etree.RelaxNGErrorTypes.RELAXNG_OK" title="Permalink to this definition">¶</a></dt>
5245 <dl class="py attribute">
5246 <dt id="lxml.etree.RelaxNGErrorTypes._names">
5247 <code class="sig-name descname">_names</code><em class="property"> = {0: 'RELAXNG_OK', 1: 'RELAXNG_ERR_MEMORY', 2: 'RELAXNG_ERR_TYPE', 3: 'RELAXNG_ERR_TYPEVAL', 4: 'RELAXNG_ERR_DUPID', 5: 'RELAXNG_ERR_TYPECMP', 6: 'RELAXNG_ERR_NOSTATE', 7: 'RELAXNG_ERR_NODEFINE', 8: 'RELAXNG_ERR_LISTEXTRA', 9: 'RELAXNG_ERR_LISTEMPTY', 10: 'RELAXNG_ERR_INTERNODATA', 11: 'RELAXNG_ERR_INTERSEQ', 12: 'RELAXNG_ERR_INTEREXTRA', 13: 'RELAXNG_ERR_ELEMNAME', 14: 'RELAXNG_ERR_ATTRNAME', 15: 'RELAXNG_ERR_ELEMNONS', 16: 'RELAXNG_ERR_ATTRNONS', 17: 'RELAXNG_ERR_ELEMWRONGNS', 18: 'RELAXNG_ERR_ATTRWRONGNS', 19: 'RELAXNG_ERR_ELEMEXTRANS', 20: 'RELAXNG_ERR_ATTREXTRANS', 21: 'RELAXNG_ERR_ELEMNOTEMPTY', 22: 'RELAXNG_ERR_NOELEM', 23: 'RELAXNG_ERR_NOTELEM', 24: 'RELAXNG_ERR_ATTRVALID', 25: 'RELAXNG_ERR_CONTENTVALID', 26: 'RELAXNG_ERR_EXTRACONTENT', 27: 'RELAXNG_ERR_INVALIDATTR', 28: 'RELAXNG_ERR_DATAELEM', 29: 'RELAXNG_ERR_VALELEM', 30: 'RELAXNG_ERR_LISTELEM', 31: 'RELAXNG_ERR_DATATYPE', 32: 'RELAXNG_ERR_VALUE', 33: 'RELAXNG_ERR_LIST', 34: 'RELAXNG_ERR_NOGRAMMAR', 35: 'RELAXNG_ERR_EXTRADATA', 36: 'RELAXNG_ERR_LACKDATA', 37: 'RELAXNG_ERR_INTERNAL', 38: 'RELAXNG_ERR_ELEMWRONG', 39: 'RELAXNG_ERR_TEXTWRONG'}</em><a class="headerlink" href="#lxml.etree.RelaxNGErrorTypes._names" title="Permalink to this definition">¶</a></dt>
5252 <dl class="py class">
5253 <dt id="lxml.etree.Resolver">
5254 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">Resolver</code><a class="headerlink" href="#lxml.etree.Resolver" title="Permalink to this definition">¶</a></dt>
5255 <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
5256 <p>This is the base class of all resolvers.</p>
5257 <dl class="py method">
5258 <dt id="lxml.etree.Resolver.resolve">
5259 <code class="sig-name descname">resolve</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">system_url</span></em>, <em class="sig-param"><span class="n">public_id</span></em>, <em class="sig-param"><span class="n">context</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.Resolver.resolve" title="Permalink to this definition">¶</a></dt>
5260 <dd><p>Override this method to resolve an external source by
5261 <code class="docutils literal notranslate"><span class="pre">system_url</span></code> and <code class="docutils literal notranslate"><span class="pre">public_id</span></code>. The third argument is an
5262 opaque context object.</p>
5263 <p>Return the result of one of the <code class="docutils literal notranslate"><span class="pre">resolve_*()</span></code> methods.</p>
5266 <dl class="py method">
5267 <dt id="lxml.etree.Resolver.resolve_empty">
5268 <code class="sig-name descname">resolve_empty</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">context</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.Resolver.resolve_empty" title="Permalink to this definition">¶</a></dt>
5269 <dd><p>Return an empty input document.</p>
5270 <p>Pass context as parameter.</p>
5273 <dl class="py method">
5274 <dt id="lxml.etree.Resolver.resolve_file">
5275 <code class="sig-name descname">resolve_file</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">f</span></em>, <em class="sig-param"><span class="n">context</span></em>, <em class="sig-param"><span class="n">base_url</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">close</span><span class="o">=</span><span class="default_value">True</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.Resolver.resolve_file" title="Permalink to this definition">¶</a></dt>
5276 <dd><p>Return an open file-like object as input document.</p>
5277 <p>Pass open file and context as parameters. You can pass the
5278 base URL or filename of the file through the <code class="docutils literal notranslate"><span class="pre">base_url</span></code>
5279 keyword argument. If the <code class="docutils literal notranslate"><span class="pre">close</span></code> flag is True (the
5280 default), the file will be closed after reading.</p>
5281 <p>Note that using <code class="docutils literal notranslate"><span class="pre">.resolve_filename()</span></code> is more efficient,
5282 especially in threaded environments.</p>
5285 <dl class="py method">
5286 <dt id="lxml.etree.Resolver.resolve_filename">
5287 <code class="sig-name descname">resolve_filename</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">filename</span></em>, <em class="sig-param"><span class="n">context</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.Resolver.resolve_filename" title="Permalink to this definition">¶</a></dt>
5288 <dd><p>Return the name of a parsable file as input document.</p>
5289 <p>Pass filename and context as parameters. You can also pass a
5290 URL with an HTTP, FTP or file target.</p>
5293 <dl class="py method">
5294 <dt id="lxml.etree.Resolver.resolve_string">
5295 <code class="sig-name descname">resolve_string</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">string</span></em>, <em class="sig-param"><span class="n">context</span></em>, <em class="sig-param"><span class="n">base_url</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.Resolver.resolve_string" title="Permalink to this definition">¶</a></dt>
5296 <dd><p>Return a parsable string as input document.</p>
5297 <p>Pass data string and context as parameters. You can pass the
5298 source URL or filename through the <code class="docutils literal notranslate"><span class="pre">base_url</span></code> keyword
5304 <dl class="py class">
5305 <dt id="lxml.etree.Schematron">
5306 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">Schematron</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">etree</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">file</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.Schematron" title="Permalink to this definition">¶</a></dt>
5307 <dd><p>Bases: <a class="reference internal" href="#lxml.etree._Validator" title="lxml.etree._Validator"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree._Validator</span></code></a></p>
5308 <p>A Schematron validator.</p>
5309 <p>Pass a root Element or an ElementTree to turn it into a validator.
5310 Alternatively, pass a filename as keyword argument ‘file’ to parse from
5311 the file system.</p>
5312 <p>Schematron is a less well known, but very powerful schema language. The main
5313 idea is to use the capabilities of XPath to put restrictions on the structure
5314 and the content of XML documents. Here is a simple example:</p>
5315 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">schematron</span> <span class="o">=</span> <span class="n">Schematron</span><span class="p">(</span><span class="n">XML</span><span class="p">(</span><span class="s1">'''</span>
5316 <span class="gp">... </span><span class="s1"><schema xmlns="http://www.ascc.net/xml/schematron" ></span>
5317 <span class="gp">... </span><span class="s1"> <pattern name="id is the only permitted attribute name"></span>
5318 <span class="gp">... </span><span class="s1"> <rule context="*"></span>
5319 <span class="gp">... </span><span class="s1"> <report test="@*[not(name()='id')]">Attribute</span>
5320 <span class="gp">... </span><span class="s1"> <name path="@*[not(name()='id')]"/> is forbidden<name/></span>
5321 <span class="gp">... </span><span class="s1"> </report></span>
5322 <span class="gp">... </span><span class="s1"> </rule></span>
5323 <span class="gp">... </span><span class="s1"> </pattern></span>
5324 <span class="gp">... </span><span class="s1"></schema></span>
5325 <span class="gp">... </span><span class="s1">'''</span><span class="p">))</span>
5327 <span class="gp">>>> </span><span class="n">xml</span> <span class="o">=</span> <span class="n">XML</span><span class="p">(</span><span class="s1">'''</span>
5328 <span class="gp">... </span><span class="s1"><AAA name="aaa"></span>
5329 <span class="gp">... </span><span class="s1"> <BBB id="bbb"/></span>
5330 <span class="gp">... </span><span class="s1"> <CCC color="ccc"/></span>
5331 <span class="gp">... </span><span class="s1"></AAA></span>
5332 <span class="gp">... </span><span class="s1">'''</span><span class="p">)</span>
5334 <span class="gp">>>> </span><span class="n">schematron</span><span class="o">.</span><span class="n">validate</span><span class="p">(</span><span class="n">xml</span><span class="p">)</span>
5335 <span class="go">0</span>
5337 <span class="gp">>>> </span><span class="n">xml</span> <span class="o">=</span> <span class="n">XML</span><span class="p">(</span><span class="s1">'''</span>
5338 <span class="gp">... </span><span class="s1"><AAA id="aaa"></span>
5339 <span class="gp">... </span><span class="s1"> <BBB id="bbb"/></span>
5340 <span class="gp">... </span><span class="s1"> <CCC/></span>
5341 <span class="gp">... </span><span class="s1"></AAA></span>
5342 <span class="gp">... </span><span class="s1">'''</span><span class="p">)</span>
5344 <span class="gp">>>> </span><span class="n">schematron</span><span class="o">.</span><span class="n">validate</span><span class="p">(</span><span class="n">xml</span><span class="p">)</span>
5345 <span class="go">1</span>
5348 <p>Schematron was added to libxml2 in version 2.6.21. Before version 2.6.32,
5349 however, Schematron lacked support for error reporting other than to stderr.
5350 This version is therefore required to retrieve validation warnings and
5354 <dl class="py class">
5355 <dt id="lxml.etree.SiblingsIterator">
5356 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">SiblingsIterator</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">node</span></em>, <em class="sig-param"><span class="n">tag</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">preceding</span><span class="o">=</span><span class="default_value">False</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.SiblingsIterator" title="Permalink to this definition">¶</a></dt>
5357 <dd><p>Bases: <a class="reference internal" href="#lxml.etree._ElementMatchIterator" title="lxml.etree._ElementMatchIterator"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree._ElementMatchIterator</span></code></a></p>
5358 <p>Iterates over the siblings of an element.</p>
5359 <p>You can pass the boolean keyword <code class="docutils literal notranslate"><span class="pre">preceding</span></code> to specify the direction.</p>
5362 <dl class="py class">
5363 <dt id="lxml.etree.TreeBuilder">
5364 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">TreeBuilder</code><a class="headerlink" href="#lxml.etree.TreeBuilder" title="Permalink to this definition">¶</a></dt>
5365 <dd><p>Bases: <a class="reference internal" href="#lxml.etree._SaxParserTarget" title="lxml.etree._SaxParserTarget"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree._SaxParserTarget</span></code></a></p>
5367 <dt>TreeBuilder(self, element_factory=None, parser=None,</dt><dd><p>comment_factory=None, pi_factory=None,
5368 insert_comments=True, insert_pis=True)</p>
5371 <p>Parser target that builds a tree from parse event callbacks.</p>
5372 <p>The factory arguments can be used to influence the creation of
5373 elements, comments and processing instructions.</p>
5374 <p>By default, comments and processing instructions are inserted into
5375 the tree, but they can be ignored by passing the respective flags.</p>
5376 <p>The final tree is returned by the <code class="docutils literal notranslate"><span class="pre">close()</span></code> method.</p>
5377 <dl class="py method">
5378 <dt id="lxml.etree.TreeBuilder.close">
5379 <code class="sig-name descname">close</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.TreeBuilder.close" title="Permalink to this definition">¶</a></dt>
5380 <dd><p>Flushes the builder buffers, and returns the toplevel document
5384 <dl class="py method">
5385 <dt id="lxml.etree.TreeBuilder.comment">
5386 <code class="sig-name descname">comment</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">comment</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.TreeBuilder.comment" title="Permalink to this definition">¶</a></dt>
5387 <dd><p>Creates a comment using the factory, appends it (unless disabled)
5391 <dl class="py method">
5392 <dt id="lxml.etree.TreeBuilder.data">
5393 <code class="sig-name descname">data</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">data</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.TreeBuilder.data" title="Permalink to this definition">¶</a></dt>
5394 <dd><p>Adds text to the current element. The value should be either an
5395 8-bit string containing ASCII text, or a Unicode string.</p>
5398 <dl class="py method">
5399 <dt id="lxml.etree.TreeBuilder.end">
5400 <code class="sig-name descname">end</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">tag</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.TreeBuilder.end" title="Permalink to this definition">¶</a></dt>
5401 <dd><p>Closes the current element.</p>
5404 <dl class="py method">
5405 <dt id="lxml.etree.TreeBuilder.pi">
5406 <code class="sig-name descname">pi</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">target</span></em>, <em class="sig-param"><span class="n">data</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.TreeBuilder.pi" title="Permalink to this definition">¶</a></dt>
5407 <dd><p>Creates a processing instruction using the factory, appends it
5408 (unless disabled) and returns it.</p>
5411 <dl class="py method">
5412 <dt id="lxml.etree.TreeBuilder.start">
5413 <code class="sig-name descname">start</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">tag</span></em>, <em class="sig-param"><span class="n">attrs</span></em>, <em class="sig-param"><span class="n">nsmap</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.TreeBuilder.start" title="Permalink to this definition">¶</a></dt>
5414 <dd><p>Opens a new element.</p>
5419 <dl class="py class">
5420 <dt id="lxml.etree.XInclude">
5421 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">XInclude</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.XInclude" title="Permalink to this definition">¶</a></dt>
5422 <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
5423 <p>XInclude processor.</p>
5424 <p>Create an instance and call it on an Element to run XInclude
5426 <dl class="py attribute">
5427 <dt id="lxml.etree.XInclude.error_log">
5428 <code class="sig-name descname">error_log</code><a class="headerlink" href="#lxml.etree.XInclude.error_log" title="Permalink to this definition">¶</a></dt>
5433 <dl class="py class">
5434 <dt id="lxml.etree.XMLParser">
5435 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">XMLParser</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">encoding</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">attribute_defaults</span><span class="o">=</span><span class="default_value">False</span></em>, <em class="sig-param"><span class="n">dtd_validation</span><span class="o">=</span><span class="default_value">False</span></em>, <em class="sig-param"><span class="n">load_dtd</span><span class="o">=</span><span class="default_value">False</span></em>, <em class="sig-param"><span class="n">no_network</span><span class="o">=</span><span class="default_value">True</span></em>, <em class="sig-param"><span class="n">ns_clean</span><span class="o">=</span><span class="default_value">False</span></em>, <em class="sig-param"><span class="n">recover</span><span class="o">=</span><span class="default_value">False</span></em>, <em class="sig-param"><span class="n">schema</span><span class="p">:</span> <span class="n"><a class="reference internal" href="#lxml.etree.XMLSchema" title="lxml.etree.XMLSchema">XMLSchema</a></span> <span class="o">=</span> <span class="default_value">None</span></em>, <em class="sig-param"><span class="n">huge_tree</span><span class="o">=</span><span class="default_value">False</span></em>, <em class="sig-param"><span class="n">remove_blank_text</span><span class="o">=</span><span class="default_value">False</span></em>, <em class="sig-param"><span class="n">resolve_entities</span><span class="o">=</span><span class="default_value">True</span></em>, <em class="sig-param"><span class="n">remove_comments</span><span class="o">=</span><span class="default_value">False</span></em>, <em class="sig-param"><span class="n">remove_pis</span><span class="o">=</span><span class="default_value">False</span></em>, <em class="sig-param"><span class="n">strip_cdata</span><span class="o">=</span><span class="default_value">True</span></em>, <em class="sig-param"><span class="n">collect_ids</span><span class="o">=</span><span class="default_value">True</span></em>, <em class="sig-param"><span class="n">target</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">compact</span><span class="o">=</span><span class="default_value">True</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.XMLParser" title="Permalink to this definition">¶</a></dt>
5436 <dd><p>Bases: <a class="reference internal" href="#lxml.etree._FeedParser" title="lxml.etree._FeedParser"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree._FeedParser</span></code></a></p>
5437 <p>The XML parser.</p>
5438 <p>Parsers can be supplied as additional argument to various parse
5439 functions of the lxml API. A default parser is always available
5440 and can be replaced by a call to the global function
5441 ‘set_default_parser’. New parsers can be created at any time
5442 without a major run-time overhead.</p>
5443 <p>The keyword arguments in the constructor are mainly based on the
5444 libxml2 parser configuration. A DTD will also be loaded if DTD
5445 validation or attribute default values are requested (unless you
5446 additionally provide an XMLSchema from which the default
5447 attributes can be read).</p>
5448 <p>Available boolean keyword arguments:</p>
5450 <li><p>attribute_defaults - inject default attributes from DTD or XMLSchema</p></li>
5451 <li><p>dtd_validation - validate against a DTD referenced by the document</p></li>
5452 <li><p>load_dtd - use DTD for parsing</p></li>
5453 <li><p>no_network - prevent network access for related files (default: True)</p></li>
5454 <li><p>ns_clean - clean up redundant namespace declarations</p></li>
5455 <li><p>recover - try hard to parse through broken XML</p></li>
5456 <li><p>remove_blank_text - discard blank text nodes that appear ignorable</p></li>
5457 <li><p>remove_comments - discard comments</p></li>
5458 <li><p>remove_pis - discard processing instructions</p></li>
5459 <li><p>strip_cdata - replace CDATA sections by normal text content (default: True)</p></li>
5460 <li><p>compact - save memory for short text content (default: True)</p></li>
5461 <li><p>collect_ids - use a hash table of XML IDs for fast access (default: True, always True with DTD validation)</p></li>
5462 <li><p>resolve_entities - replace entities by their text value (default: True)</p></li>
5463 <li><dl class="simple">
5464 <dt>huge_tree - disable security restrictions and support very deep trees</dt><dd><p>and very long text content (only affects libxml2 2.7+)</p>
5469 <p>Other keyword arguments:</p>
5471 <li><p>encoding - override the document encoding</p></li>
5472 <li><p>target - a parser target object that will receive the parse events</p></li>
5473 <li><p>schema - an XMLSchema to validate against</p></li>
5475 <p>Note that you should avoid sharing parsers between threads. While this is
5476 not harmful, it is more efficient to use separate parsers. This does not
5477 apply to the default parser.</p>
5480 <dl class="py class">
5481 <dt id="lxml.etree.XMLPullParser">
5482 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">XMLPullParser</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">events</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="o">*</span></em>, <em class="sig-param"><span class="n">tag</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="o">**</span><span class="n">kwargs</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.XMLPullParser" title="Permalink to this definition">¶</a></dt>
5483 <dd><p>Bases: <a class="reference internal" href="#lxml.etree.XMLParser" title="lxml.etree.XMLParser"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.XMLParser</span></code></a></p>
5484 <p>XML parser that collects parse events in an iterator.</p>
5485 <p>The collected events are the same as for iterparse(), but the
5486 parser itself is non-blocking in the sense that it receives
5487 data chunks incrementally through its .feed() method, instead
5488 of reading them directly from a file(-like) object all by itself.</p>
5489 <p>By default, it collects Element end events. To change that,
5490 pass any subset of the available events into the <code class="docutils literal notranslate"><span class="pre">events</span></code>
5491 argument: <code class="docutils literal notranslate"><span class="pre">'start'</span></code>, <code class="docutils literal notranslate"><span class="pre">'end'</span></code>, <code class="docutils literal notranslate"><span class="pre">'start-ns'</span></code>,
5492 <code class="docutils literal notranslate"><span class="pre">'end-ns'</span></code>, <code class="docutils literal notranslate"><span class="pre">'comment'</span></code>, <code class="docutils literal notranslate"><span class="pre">'pi'</span></code>.</p>
5493 <p>To support loading external dependencies relative to the input
5494 source, you can pass the <code class="docutils literal notranslate"><span class="pre">base_url</span></code>.</p>
5495 <dl class="py method">
5496 <dt id="lxml.etree.XMLPullParser.read_events">
5497 <code class="sig-name descname">read_events</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.XMLPullParser.read_events" title="Permalink to this definition">¶</a></dt>
5502 <dl class="py class">
5503 <dt id="lxml.etree.XMLSchema">
5504 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">XMLSchema</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">etree</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">file</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.XMLSchema" title="Permalink to this definition">¶</a></dt>
5505 <dd><p>Bases: <a class="reference internal" href="#lxml.etree._Validator" title="lxml.etree._Validator"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree._Validator</span></code></a></p>
5506 <p>Turn a document into an XML Schema validator.</p>
5507 <p>Either pass a schema as Element or ElementTree, or pass a file or
5508 filename through the <code class="docutils literal notranslate"><span class="pre">file</span></code> keyword argument.</p>
5509 <p>Passing the <code class="docutils literal notranslate"><span class="pre">attribute_defaults</span></code> boolean option will make the
5510 schema insert default/fixed attributes into validated documents.</p>
5513 <dl class="py attribute">
5514 <dt id="lxml.etree.XMLTreeBuilder">
5515 <code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">XMLTreeBuilder</code><a class="headerlink" href="#lxml.etree.XMLTreeBuilder" title="Permalink to this definition">¶</a></dt>
5516 <dd><p>alias of <a class="reference internal" href="#lxml.etree.ETCompatXMLParser" title="lxml.etree.ETCompatXMLParser"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.ETCompatXMLParser</span></code></a></p>
5519 <dl class="py class">
5520 <dt id="lxml.etree.XPath">
5521 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">XPath</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">path</span></em>, <em class="sig-param"><span class="n">namespaces</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">extensions</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">regexp</span><span class="o">=</span><span class="default_value">True</span></em>, <em class="sig-param"><span class="n">smart_strings</span><span class="o">=</span><span class="default_value">True</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.XPath" title="Permalink to this definition">¶</a></dt>
5522 <dd><p>Bases: <a class="reference internal" href="#lxml.etree._XPathEvaluatorBase" title="lxml.etree._XPathEvaluatorBase"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree._XPathEvaluatorBase</span></code></a></p>
5523 <p>A compiled XPath expression that can be called on Elements and ElementTrees.</p>
5524 <p>Besides the XPath expression, you can pass prefix-namespace
5525 mappings and extension functions to the constructor through the
5526 keyword arguments <code class="docutils literal notranslate"><span class="pre">namespaces</span></code> and <code class="docutils literal notranslate"><span class="pre">extensions</span></code>. EXSLT
5527 regular expression support can be disabled with the ‘regexp’
5528 boolean keyword (defaults to True). Smart strings will be
5529 returned for string results unless you pass
5530 <code class="docutils literal notranslate"><span class="pre">smart_strings=False</span></code>.</p>
5531 <dl class="py attribute">
5532 <dt id="lxml.etree.XPath.path">
5533 <code class="sig-name descname">path</code><a class="headerlink" href="#lxml.etree.XPath.path" title="Permalink to this definition">¶</a></dt>
5534 <dd><p>The literal XPath expression.</p>
5539 <dl class="py class">
5540 <dt id="lxml.etree.XPathDocumentEvaluator">
5541 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">XPathDocumentEvaluator</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">etree</span></em>, <em class="sig-param"><span class="n">namespaces</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">extensions</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">regexp</span><span class="o">=</span><span class="default_value">True</span></em>, <em class="sig-param"><span class="n">smart_strings</span><span class="o">=</span><span class="default_value">True</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.XPathDocumentEvaluator" title="Permalink to this definition">¶</a></dt>
5542 <dd><p>Bases: <a class="reference internal" href="#lxml.etree.XPathElementEvaluator" title="lxml.etree.XPathElementEvaluator"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.XPathElementEvaluator</span></code></a></p>
5543 <p>Create an XPath evaluator for an ElementTree.</p>
5544 <p>Additional namespace declarations can be passed with the
5545 ‘namespace’ keyword argument. EXSLT regular expression support
5546 can be disabled with the ‘regexp’ boolean keyword (defaults to
5547 True). Smart strings will be returned for string results unless
5548 you pass <code class="docutils literal notranslate"><span class="pre">smart_strings=False</span></code>.</p>
5551 <dl class="py class">
5552 <dt id="lxml.etree.XPathElementEvaluator">
5553 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">XPathElementEvaluator</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">element</span></em>, <em class="sig-param"><span class="n">namespaces</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">extensions</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">regexp</span><span class="o">=</span><span class="default_value">True</span></em>, <em class="sig-param"><span class="n">smart_strings</span><span class="o">=</span><span class="default_value">True</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.XPathElementEvaluator" title="Permalink to this definition">¶</a></dt>
5554 <dd><p>Bases: <a class="reference internal" href="#lxml.etree._XPathEvaluatorBase" title="lxml.etree._XPathEvaluatorBase"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree._XPathEvaluatorBase</span></code></a></p>
5555 <p>Create an XPath evaluator for an element.</p>
5556 <p>Absolute XPath expressions (starting with ‘/’) will be evaluated against
5557 the ElementTree as returned by getroottree().</p>
5558 <p>Additional namespace declarations can be passed with the
5559 ‘namespace’ keyword argument. EXSLT regular expression support
5560 can be disabled with the ‘regexp’ boolean keyword (defaults to
5561 True). Smart strings will be returned for string results unless
5562 you pass <code class="docutils literal notranslate"><span class="pre">smart_strings=False</span></code>.</p>
5563 <dl class="py method">
5564 <dt id="lxml.etree.XPathElementEvaluator.register_namespace">
5565 <code class="sig-name descname">register_namespace</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">prefix</span></em>, <em class="sig-param"><span class="n">uri</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.XPathElementEvaluator.register_namespace" title="Permalink to this definition">¶</a></dt>
5566 <dd><p>Register a namespace with the XPath context.</p>
5569 <dl class="py method">
5570 <dt id="lxml.etree.XPathElementEvaluator.register_namespaces">
5571 <code class="sig-name descname">register_namespaces</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">namespaces</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.XPathElementEvaluator.register_namespaces" title="Permalink to this definition">¶</a></dt>
5572 <dd><p>Register a prefix -> uri dict.</p>
5577 <dl class="py class">
5578 <dt id="lxml.etree.XSLT">
5579 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">XSLT</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">xslt_input</span></em>, <em class="sig-param"><span class="n">extensions</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">regexp</span><span class="o">=</span><span class="default_value">True</span></em>, <em class="sig-param"><span class="n">access_control</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.XSLT" title="Permalink to this definition">¶</a></dt>
5580 <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
5581 <p>Turn an XSL document into an XSLT object.</p>
5582 <p>Calling this object on a tree or Element will execute the XSLT:</p>
5583 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">transform</span> <span class="o">=</span> <span class="n">etree</span><span class="o">.</span><span class="n">XSLT</span><span class="p">(</span><span class="n">xsl_tree</span><span class="p">)</span>
5584 <span class="n">result</span> <span class="o">=</span> <span class="n">transform</span><span class="p">(</span><span class="n">xml_tree</span><span class="p">)</span>
5587 <p>Keyword arguments of the constructor:</p>
5589 <li><p>extensions: a dict mapping <code class="docutils literal notranslate"><span class="pre">(namespace,</span> <span class="pre">name)</span></code> pairs to
5590 extension functions or extension elements</p></li>
5591 <li><p>regexp: enable exslt regular expression support in XPath
5592 (default: True)</p></li>
5593 <li><p>access_control: access restrictions for network or file
5594 system (see <cite>XSLTAccessControl</cite>)</p></li>
5596 <p>Keyword arguments of the XSLT call:</p>
5598 <li><p>profile_run: enable XSLT profiling (default: False)</p></li>
5600 <p>Other keyword arguments of the call are passed to the stylesheet
5602 <dl class="py method">
5603 <dt id="lxml.etree.XSLT.apply">
5604 <code class="sig-name descname">apply</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">_input</span></em>, <em class="sig-param"><span class="n">profile_run</span><span class="o">=</span><span class="default_value">False</span></em>, <em class="sig-param"><span class="o">**</span><span class="n">kw</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.XSLT.apply" title="Permalink to this definition">¶</a></dt>
5605 <dd><dl class="field-list simple">
5606 <dt class="field-odd">Deprecated</dt>
5607 <dd class="field-odd"><p>call the object, not this method.</p>
5612 <dl class="py method">
5613 <dt id="lxml.etree.XSLT.set_global_max_depth">
5614 <em class="property">static </em><code class="sig-name descname">set_global_max_depth</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">max_depth</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.XSLT.set_global_max_depth" title="Permalink to this definition">¶</a></dt>
5615 <dd><p>The maximum traversal depth that the stylesheet engine will allow.
5616 This does not only count the template recursion depth but also takes
5617 the number of variables/parameters into account. The required setting
5618 for a run depends on both the stylesheet and the input data.</p>
5620 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">XSLT</span><span class="o">.</span><span class="n">set_global_max_depth</span><span class="p">(</span><span class="mi">5000</span><span class="p">)</span>
5623 <p>Note that this is currently a global, module-wide setting because
5624 libxslt does not support it at a per-stylesheet level.</p>
5627 <dl class="py method">
5628 <dt id="lxml.etree.XSLT.strparam">
5629 <em class="property">static </em><code class="sig-name descname">strparam</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">strval</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.XSLT.strparam" title="Permalink to this definition">¶</a></dt>
5630 <dd><p>Mark an XSLT string parameter that requires quote escaping
5631 before passing it into the transformation. Use it like this:</p>
5632 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">result</span> <span class="o">=</span> <span class="n">transform</span><span class="p">(</span><span class="n">doc</span><span class="p">,</span> <span class="n">some_strval</span> <span class="o">=</span> <span class="n">XSLT</span><span class="o">.</span><span class="n">strparam</span><span class="p">(</span>
5633 <span class="sd">'''it's "Monty Python's" ...'''</span><span class="p">))</span>
5636 <p>Escaped string parameters can be reused without restriction.</p>
5639 <dl class="py method">
5640 <dt id="lxml.etree.XSLT.tostring">
5641 <code class="sig-name descname">tostring</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">result_tree</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.XSLT.tostring" title="Permalink to this definition">¶</a></dt>
5642 <dd><p>Save result doc to string based on stylesheet output method.</p>
5643 <dl class="field-list simple">
5644 <dt class="field-odd">Deprecated</dt>
5645 <dd class="field-odd"><p>use str(result_tree) instead.</p>
5650 <dl class="py attribute">
5651 <dt id="lxml.etree.XSLT.error_log">
5652 <code class="sig-name descname">error_log</code><a class="headerlink" href="#lxml.etree.XSLT.error_log" title="Permalink to this definition">¶</a></dt>
5653 <dd><p>The log of errors and warnings of an XSLT execution.</p>
5658 <dl class="py class">
5659 <dt id="lxml.etree.XSLTAccessControl">
5660 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">XSLTAccessControl</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">read_file</span><span class="o">=</span><span class="default_value">True</span></em>, <em class="sig-param"><span class="n">write_file</span><span class="o">=</span><span class="default_value">True</span></em>, <em class="sig-param"><span class="n">create_dir</span><span class="o">=</span><span class="default_value">True</span></em>, <em class="sig-param"><span class="n">read_network</span><span class="o">=</span><span class="default_value">True</span></em>, <em class="sig-param"><span class="n">write_network</span><span class="o">=</span><span class="default_value">True</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.XSLTAccessControl" title="Permalink to this definition">¶</a></dt>
5661 <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
5662 <p>Access control for XSLT: reading/writing files, directories and
5663 network I/O. Access to a type of resource is granted or denied by
5664 passing any of the following boolean keyword arguments. All of
5665 them default to True to allow access.</p>
5667 <li><p>read_file</p></li>
5668 <li><p>write_file</p></li>
5669 <li><p>create_dir</p></li>
5670 <li><p>read_network</p></li>
5671 <li><p>write_network</p></li>
5673 <p>For convenience, there is also a class member <cite>DENY_ALL</cite> that
5674 provides an XSLTAccessControl instance that is readily configured
5675 to deny everything, and a <cite>DENY_WRITE</cite> member that denies all
5676 write access but allows read access.</p>
5677 <p>See <cite>XSLT</cite>.</p>
5678 <dl class="py attribute">
5679 <dt id="lxml.etree.XSLTAccessControl.DENY_ALL">
5680 <code class="sig-name descname">DENY_ALL</code><em class="property"> = XSLTAccessControl(create_dir=False, read_file=False, read_network=False, write_file=False, write_network=False)</em><a class="headerlink" href="#lxml.etree.XSLTAccessControl.DENY_ALL" title="Permalink to this definition">¶</a></dt>
5683 <dl class="py attribute">
5684 <dt id="lxml.etree.XSLTAccessControl.DENY_WRITE">
5685 <code class="sig-name descname">DENY_WRITE</code><em class="property"> = XSLTAccessControl(create_dir=False, read_file=True, read_network=True, write_file=False, write_network=False)</em><a class="headerlink" href="#lxml.etree.XSLTAccessControl.DENY_WRITE" title="Permalink to this definition">¶</a></dt>
5688 <dl class="py attribute">
5689 <dt id="lxml.etree.XSLTAccessControl.options">
5690 <code class="sig-name descname">options</code><a class="headerlink" href="#lxml.etree.XSLTAccessControl.options" title="Permalink to this definition">¶</a></dt>
5691 <dd><p>The access control configuration as a map of options.</p>
5696 <dl class="py class">
5697 <dt id="lxml.etree.XSLTExtension">
5698 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">XSLTExtension</code><a class="headerlink" href="#lxml.etree.XSLTExtension" title="Permalink to this definition">¶</a></dt>
5699 <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
5700 <p>Base class of an XSLT extension element.</p>
5701 <dl class="py method">
5702 <dt id="lxml.etree.XSLTExtension.apply_templates">
5703 <code class="sig-name descname">apply_templates</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">context</span></em>, <em class="sig-param"><span class="n">node</span></em>, <em class="sig-param"><span class="n">output_parent</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">elements_only</span><span class="o">=</span><span class="default_value">False</span></em>, <em class="sig-param"><span class="n">remove_blank_text</span><span class="o">=</span><span class="default_value">False</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.XSLTExtension.apply_templates" title="Permalink to this definition">¶</a></dt>
5704 <dd><p>Call this method to retrieve the result of applying templates
5706 <p>The return value is a list of elements or text strings that
5707 were generated by the XSLT processor. If you pass
5708 <code class="docutils literal notranslate"><span class="pre">elements_only=True</span></code>, strings will be discarded from the result
5709 list. The option <code class="docutils literal notranslate"><span class="pre">remove_blank_text=True</span></code> will only discard
5710 strings that consist entirely of whitespace (e.g. formatting).
5711 These options do not apply to Elements, only to bare string results.</p>
5712 <p>If you pass an Element as <cite>output_parent</cite> parameter, the result
5713 will instead be appended to the element (including attributes
5714 etc.) and the return value will be <cite>None</cite>. This is a safe way
5715 to generate content into the output document directly, without
5716 having to take care of special values like text or attributes.
5717 Note that the string discarding options will be ignored in this
5721 <dl class="py method">
5722 <dt id="lxml.etree.XSLTExtension.execute">
5723 <code class="sig-name descname">execute</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">context</span></em>, <em class="sig-param"><span class="n">self_node</span></em>, <em class="sig-param"><span class="n">input_node</span></em>, <em class="sig-param"><span class="n">output_parent</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.XSLTExtension.execute" title="Permalink to this definition">¶</a></dt>
5724 <dd><p>Execute this extension element.</p>
5725 <p>Subclasses must override this method. They may append
5726 elements to the <cite>output_parent</cite> element here, or set its text
5727 content. To this end, the <cite>input_node</cite> provides read-only
5728 access to the current node in the input document, and the
5729 <cite>self_node</cite> points to the extension element in the stylesheet.</p>
5730 <p>Note that the <cite>output_parent</cite> parameter may be <cite>None</cite> if there
5731 is no parent element in the current context (e.g. no content
5732 was added to the output tree yet).</p>
5735 <dl class="py method">
5736 <dt id="lxml.etree.XSLTExtension.process_children">
5737 <code class="sig-name descname">process_children</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">context</span></em>, <em class="sig-param"><span class="n">output_parent</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">elements_only</span><span class="o">=</span><span class="default_value">False</span></em>, <em class="sig-param"><span class="n">remove_blank_text</span><span class="o">=</span><span class="default_value">False</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.XSLTExtension.process_children" title="Permalink to this definition">¶</a></dt>
5738 <dd><p>Call this method to process the XSLT content of the extension
5740 <p>The return value is a list of elements or text strings that
5741 were generated by the XSLT processor. If you pass
5742 <code class="docutils literal notranslate"><span class="pre">elements_only=True</span></code>, strings will be discarded from the result
5743 list. The option <code class="docutils literal notranslate"><span class="pre">remove_blank_text=True</span></code> will only discard
5744 strings that consist entirely of whitespace (e.g. formatting).
5745 These options do not apply to Elements, only to bare string results.</p>
5746 <p>If you pass an Element as <cite>output_parent</cite> parameter, the result
5747 will instead be appended to the element (including attributes
5748 etc.) and the return value will be <cite>None</cite>. This is a safe way
5749 to generate content into the output document directly, without
5750 having to take care of special values like text or attributes.
5751 Note that the string discarding options will be ignored in this
5757 <dl class="py class">
5758 <dt id="lxml.etree._Attrib">
5759 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">_Attrib</code><a class="headerlink" href="#lxml.etree._Attrib" title="Permalink to this definition">¶</a></dt>
5760 <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
5761 <p>A dict-like proxy for the <code class="docutils literal notranslate"><span class="pre">Element.attrib</span></code> property.</p>
5762 <dl class="py method">
5763 <dt id="lxml.etree._Attrib.clear">
5764 <code class="sig-name descname">clear</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._Attrib.clear" title="Permalink to this definition">¶</a></dt>
5767 <dl class="py method">
5768 <dt id="lxml.etree._Attrib.get">
5769 <code class="sig-name descname">get</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">key</span></em>, <em class="sig-param"><span class="n">default</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._Attrib.get" title="Permalink to this definition">¶</a></dt>
5772 <dl class="py method">
5773 <dt id="lxml.etree._Attrib.has_key">
5774 <code class="sig-name descname">has_key</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">key</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._Attrib.has_key" title="Permalink to this definition">¶</a></dt>
5777 <dl class="py method">
5778 <dt id="lxml.etree._Attrib.items">
5779 <code class="sig-name descname">items</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._Attrib.items" title="Permalink to this definition">¶</a></dt>
5782 <dl class="py method">
5783 <dt id="lxml.etree._Attrib.iteritems">
5784 <code class="sig-name descname">iteritems</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._Attrib.iteritems" title="Permalink to this definition">¶</a></dt>
5787 <dl class="py method">
5788 <dt id="lxml.etree._Attrib.iterkeys">
5789 <code class="sig-name descname">iterkeys</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._Attrib.iterkeys" title="Permalink to this definition">¶</a></dt>
5792 <dl class="py method">
5793 <dt id="lxml.etree._Attrib.itervalues">
5794 <code class="sig-name descname">itervalues</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._Attrib.itervalues" title="Permalink to this definition">¶</a></dt>
5797 <dl class="py method">
5798 <dt id="lxml.etree._Attrib.keys">
5799 <code class="sig-name descname">keys</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._Attrib.keys" title="Permalink to this definition">¶</a></dt>
5802 <dl class="py method">
5803 <dt id="lxml.etree._Attrib.pop">
5804 <code class="sig-name descname">pop</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">key</span></em>, <em class="sig-param"><span class="o">*</span><span class="n">default</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._Attrib.pop" title="Permalink to this definition">¶</a></dt>
5807 <dl class="py method">
5808 <dt id="lxml.etree._Attrib.update">
5809 <code class="sig-name descname">update</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">sequence_or_dict</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._Attrib.update" title="Permalink to this definition">¶</a></dt>
5812 <dl class="py method">
5813 <dt id="lxml.etree._Attrib.values">
5814 <code class="sig-name descname">values</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._Attrib.values" title="Permalink to this definition">¶</a></dt>
5819 <dl class="py class">
5820 <dt id="lxml.etree._BaseErrorLog">
5821 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">_BaseErrorLog</code><a class="headerlink" href="#lxml.etree._BaseErrorLog" title="Permalink to this definition">¶</a></dt>
5822 <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
5823 <dl class="py method">
5824 <dt id="lxml.etree._BaseErrorLog.copy">
5825 <code class="sig-name descname">copy</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._BaseErrorLog.copy" title="Permalink to this definition">¶</a></dt>
5828 <dl class="py method">
5829 <dt id="lxml.etree._BaseErrorLog.receive">
5830 <code class="sig-name descname">receive</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">entry</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._BaseErrorLog.receive" title="Permalink to this definition">¶</a></dt>
5833 <dl class="py attribute">
5834 <dt id="lxml.etree._BaseErrorLog.last_error">
5835 <code class="sig-name descname">last_error</code><a class="headerlink" href="#lxml.etree._BaseErrorLog.last_error" title="Permalink to this definition">¶</a></dt>
5840 <dl class="py class">
5841 <dt id="lxml.etree._Comment">
5842 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">_Comment</code><a class="headerlink" href="#lxml.etree._Comment" title="Permalink to this definition">¶</a></dt>
5843 <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.__ContentOnlyElement</span></code></p>
5844 <dl class="py attribute">
5845 <dt id="lxml.etree._Comment.tag">
5846 <code class="sig-name descname">tag</code><a class="headerlink" href="#lxml.etree._Comment.tag" title="Permalink to this definition">¶</a></dt>
5851 <dl class="py class">
5852 <dt id="lxml.etree._Document">
5853 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">_Document</code><a class="headerlink" href="#lxml.etree._Document" title="Permalink to this definition">¶</a></dt>
5854 <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
5855 <p>Internal base class to reference a libxml document.</p>
5856 <p>When instances of this class are garbage collected, the libxml
5857 document is cleaned up.</p>
5860 <dl class="py class">
5861 <dt id="lxml.etree._DomainErrorLog">
5862 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">_DomainErrorLog</code><a class="headerlink" href="#lxml.etree._DomainErrorLog" title="Permalink to this definition">¶</a></dt>
5863 <dd><p>Bases: <a class="reference internal" href="#lxml.etree._ErrorLog" title="lxml.etree._ErrorLog"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree._ErrorLog</span></code></a></p>
5864 <dl class="py method">
5865 <dt id="lxml.etree._DomainErrorLog.receive">
5866 <code class="sig-name descname">receive</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">entry</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._DomainErrorLog.receive" title="Permalink to this definition">¶</a></dt>
5871 <dl class="py class">
5872 <dt id="lxml.etree._Element">
5873 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">_Element</code><a class="headerlink" href="#lxml.etree._Element" title="Permalink to this definition">¶</a></dt>
5874 <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
5875 <p>Element class.</p>
5876 <p>References a document object and a libxml node.</p>
5877 <p>By pointing to a Document instance, a reference is kept to
5878 _Document as long as there is some pointer to a node in it.</p>
5879 <dl class="py method">
5880 <dt id="lxml.etree._Element._init">
5881 <code class="sig-name descname">_init</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._Element._init" title="Permalink to this definition">¶</a></dt>
5882 <dd><p>Called after object initialisation. Custom subclasses may override
5883 this if they recursively call _init() in the superclasses.</p>
5886 <dl class="py method">
5887 <dt id="lxml.etree._Element.addnext">
5888 <code class="sig-name descname">addnext</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">element</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._Element.addnext" title="Permalink to this definition">¶</a></dt>
5889 <dd><p>Adds the element as a following sibling directly after this
5891 <p>This is normally used to set a processing instruction or comment after
5892 the root node of a document. Note that tail text is automatically
5893 discarded when adding at the root level.</p>
5896 <dl class="py method">
5897 <dt id="lxml.etree._Element.addprevious">
5898 <code class="sig-name descname">addprevious</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">element</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._Element.addprevious" title="Permalink to this definition">¶</a></dt>
5899 <dd><p>Adds the element as a preceding sibling directly before this
5901 <p>This is normally used to set a processing instruction or comment
5902 before the root node of a document. Note that tail text is
5903 automatically discarded when adding at the root level.</p>
5906 <dl class="py method">
5907 <dt id="lxml.etree._Element.append">
5908 <code class="sig-name descname">append</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">element</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._Element.append" title="Permalink to this definition">¶</a></dt>
5909 <dd><p>Adds a subelement to the end of this element.</p>
5912 <dl class="py method">
5913 <dt id="lxml.etree._Element.clear">
5914 <code class="sig-name descname">clear</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">keep_tail</span><span class="o">=</span><span class="default_value">False</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._Element.clear" title="Permalink to this definition">¶</a></dt>
5915 <dd><p>Resets an element. This function removes all subelements, clears
5916 all attributes and sets the text and tail properties to None.</p>
5917 <p>Pass <code class="docutils literal notranslate"><span class="pre">keep_tail=True</span></code> to leave the tail text untouched.</p>
5920 <dl class="py method">
5921 <dt id="lxml.etree._Element.cssselect">
5922 <code class="sig-name descname">cssselect</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">expr</span></em>, <em class="sig-param"><span class="o">*</span></em>, <em class="sig-param"><span class="n">translator</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._Element.cssselect" title="Permalink to this definition">¶</a></dt>
5923 <dd><p>Run the CSS expression on this element and its children,
5924 returning a list of the results.</p>
5925 <p>Equivalent to lxml.cssselect.CSSSelect(expr)(self) – note
5926 that pre-compiling the expression can provide a substantial
5930 <dl class="py method">
5931 <dt id="lxml.etree._Element.extend">
5932 <code class="sig-name descname">extend</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">elements</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._Element.extend" title="Permalink to this definition">¶</a></dt>
5933 <dd><p>Extends the current children by the elements in the iterable.</p>
5936 <dl class="py method">
5937 <dt id="lxml.etree._Element.find">
5938 <code class="sig-name descname">find</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">path</span></em>, <em class="sig-param"><span class="n">namespaces</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._Element.find" title="Permalink to this definition">¶</a></dt>
5939 <dd><p>Finds the first matching subelement, by tag name or path.</p>
5940 <p>The optional <code class="docutils literal notranslate"><span class="pre">namespaces</span></code> argument accepts a
5941 prefix-to-namespace mapping that allows the usage of XPath
5942 prefixes in the path expression.</p>
5945 <dl class="py method">
5946 <dt id="lxml.etree._Element.findall">
5947 <code class="sig-name descname">findall</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">path</span></em>, <em class="sig-param"><span class="n">namespaces</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._Element.findall" title="Permalink to this definition">¶</a></dt>
5948 <dd><p>Finds all matching subelements, by tag name or path.</p>
5949 <p>The optional <code class="docutils literal notranslate"><span class="pre">namespaces</span></code> argument accepts a
5950 prefix-to-namespace mapping that allows the usage of XPath
5951 prefixes in the path expression.</p>
5954 <dl class="py method">
5955 <dt id="lxml.etree._Element.findtext">
5956 <code class="sig-name descname">findtext</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">path</span></em>, <em class="sig-param"><span class="n">default</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">namespaces</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._Element.findtext" title="Permalink to this definition">¶</a></dt>
5957 <dd><p>Finds text for the first matching subelement, by tag name or path.</p>
5958 <p>The optional <code class="docutils literal notranslate"><span class="pre">namespaces</span></code> argument accepts a
5959 prefix-to-namespace mapping that allows the usage of XPath
5960 prefixes in the path expression.</p>
5963 <dl class="py method">
5964 <dt id="lxml.etree._Element.get">
5965 <code class="sig-name descname">get</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">key</span></em>, <em class="sig-param"><span class="n">default</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._Element.get" title="Permalink to this definition">¶</a></dt>
5966 <dd><p>Gets an element attribute.</p>
5969 <dl class="py method">
5970 <dt id="lxml.etree._Element.getchildren">
5971 <code class="sig-name descname">getchildren</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._Element.getchildren" title="Permalink to this definition">¶</a></dt>
5972 <dd><p>Returns all direct children. The elements are returned in document
5974 <dl class="field-list simple">
5975 <dt class="field-odd">Deprecated</dt>
5976 <dd class="field-odd"><p>Note that this method has been deprecated as of
5977 ElementTree 1.3 and lxml 2.0. New code should use
5978 <code class="docutils literal notranslate"><span class="pre">list(element)</span></code> or simply iterate over elements.</p>
5983 <dl class="py method">
5984 <dt id="lxml.etree._Element.getiterator">
5985 <code class="sig-name descname">getiterator</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">tag</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="o">*</span><span class="n">tags</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._Element.getiterator" title="Permalink to this definition">¶</a></dt>
5986 <dd><p>Returns a sequence or iterator of all elements in the subtree in
5987 document order (depth first pre-order), starting with this
5989 <p>Can be restricted to find only elements with specific tags,
5990 see <cite>iter</cite>.</p>
5991 <dl class="field-list simple">
5992 <dt class="field-odd">Deprecated</dt>
5993 <dd class="field-odd"><p>Note that this method is deprecated as of
5994 ElementTree 1.3 and lxml 2.0. It returns an iterator in
5995 lxml, which diverges from the original ElementTree
5996 behaviour. If you want an efficient iterator, use the
5997 <code class="docutils literal notranslate"><span class="pre">element.iter()</span></code> method instead. You should only use this
5998 method in new code if you require backwards compatibility
5999 with older versions of lxml or ElementTree.</p>
6004 <dl class="py method">
6005 <dt id="lxml.etree._Element.getnext">
6006 <code class="sig-name descname">getnext</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._Element.getnext" title="Permalink to this definition">¶</a></dt>
6007 <dd><p>Returns the following sibling of this element or None.</p>
6010 <dl class="py method">
6011 <dt id="lxml.etree._Element.getparent">
6012 <code class="sig-name descname">getparent</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._Element.getparent" title="Permalink to this definition">¶</a></dt>
6013 <dd><p>Returns the parent of this element or None for the root element.</p>
6016 <dl class="py method">
6017 <dt id="lxml.etree._Element.getprevious">
6018 <code class="sig-name descname">getprevious</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._Element.getprevious" title="Permalink to this definition">¶</a></dt>
6019 <dd><p>Returns the preceding sibling of this element or None.</p>
6022 <dl class="py method">
6023 <dt id="lxml.etree._Element.getroottree">
6024 <code class="sig-name descname">getroottree</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._Element.getroottree" title="Permalink to this definition">¶</a></dt>
6025 <dd><p>Return an ElementTree for the root node of the document that
6026 contains this element.</p>
6027 <p>This is the same as following element.getparent() up the tree until it
6028 returns None (for the root element) and then build an ElementTree for
6029 the last parent that was returned.</p>
6032 <dl class="py method">
6033 <dt id="lxml.etree._Element.index">
6034 <code class="sig-name descname">index</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">child</span></em>, <em class="sig-param"><span class="n">start</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">stop</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._Element.index" title="Permalink to this definition">¶</a></dt>
6035 <dd><p>Find the position of the child within the parent.</p>
6036 <p>This method is not part of the original ElementTree API.</p>
6039 <dl class="py method">
6040 <dt id="lxml.etree._Element.insert">
6041 <code class="sig-name descname">insert</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">index</span></em>, <em class="sig-param"><span class="n">element</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._Element.insert" title="Permalink to this definition">¶</a></dt>
6042 <dd><p>Inserts a subelement at the given position in this element</p>
6045 <dl class="py method">
6046 <dt id="lxml.etree._Element.items">
6047 <code class="sig-name descname">items</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._Element.items" title="Permalink to this definition">¶</a></dt>
6048 <dd><p>Gets element attributes, as a sequence. The attributes are returned in
6049 an arbitrary order.</p>
6052 <dl class="py method">
6053 <dt id="lxml.etree._Element.iter">
6054 <code class="sig-name descname">iter</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">tag</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="o">*</span><span class="n">tags</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._Element.iter" title="Permalink to this definition">¶</a></dt>
6055 <dd><p>Iterate over all elements in the subtree in document order (depth
6056 first pre-order), starting with this element.</p>
6057 <p>Can be restricted to find only elements with specific tags:
6058 pass <code class="docutils literal notranslate"><span class="pre">"{ns}localname"</span></code> as tag. Either or both of <code class="docutils literal notranslate"><span class="pre">ns</span></code> and
6059 <code class="docutils literal notranslate"><span class="pre">localname</span></code> can be <code class="docutils literal notranslate"><span class="pre">*</span></code> for a wildcard; <code class="docutils literal notranslate"><span class="pre">ns</span></code> can be empty
6060 for no namespace. <code class="docutils literal notranslate"><span class="pre">"localname"</span></code> is equivalent to <code class="docutils literal notranslate"><span class="pre">"{}localname"</span></code>
6061 (i.e. no namespace) but <code class="docutils literal notranslate"><span class="pre">"*"</span></code> is <code class="docutils literal notranslate"><span class="pre">"{*}*"</span></code> (any or no namespace),
6062 not <code class="docutils literal notranslate"><span class="pre">"{}*"</span></code>.</p>
6063 <p>You can also pass the Element, Comment, ProcessingInstruction and
6064 Entity factory functions to look only for the specific element type.</p>
6065 <p>Passing multiple tags (or a sequence of tags) instead of a single tag
6066 will let the iterator return all elements matching any of these tags,
6067 in document order.</p>
6070 <dl class="py method">
6071 <dt id="lxml.etree._Element.iterancestors">
6072 <code class="sig-name descname">iterancestors</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">tag</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="o">*</span><span class="n">tags</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._Element.iterancestors" title="Permalink to this definition">¶</a></dt>
6073 <dd><p>Iterate over the ancestors of this element (from parent to parent).</p>
6074 <p>Can be restricted to find only elements with specific tags,
6075 see <cite>iter</cite>.</p>
6078 <dl class="py method">
6079 <dt id="lxml.etree._Element.iterchildren">
6080 <code class="sig-name descname">iterchildren</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">tag</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="o">*</span><span class="n">tags</span></em>, <em class="sig-param"><span class="n">reversed</span><span class="o">=</span><span class="default_value">False</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._Element.iterchildren" title="Permalink to this definition">¶</a></dt>
6081 <dd><p>Iterate over the children of this element.</p>
6082 <p>As opposed to using normal iteration on this element, the returned
6083 elements can be reversed with the ‘reversed’ keyword and restricted
6084 to find only elements with specific tags, see <cite>iter</cite>.</p>
6087 <dl class="py method">
6088 <dt id="lxml.etree._Element.iterdescendants">
6089 <code class="sig-name descname">iterdescendants</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">tag</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="o">*</span><span class="n">tags</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._Element.iterdescendants" title="Permalink to this definition">¶</a></dt>
6090 <dd><p>Iterate over the descendants of this element in document order.</p>
6091 <p>As opposed to <code class="docutils literal notranslate"><span class="pre">el.iter()</span></code>, this iterator does not yield the element
6092 itself. The returned elements can be restricted to find only elements
6093 with specific tags, see <cite>iter</cite>.</p>
6096 <dl class="py method">
6097 <dt id="lxml.etree._Element.iterfind">
6098 <code class="sig-name descname">iterfind</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">path</span></em>, <em class="sig-param"><span class="n">namespaces</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._Element.iterfind" title="Permalink to this definition">¶</a></dt>
6099 <dd><p>Iterates over all matching subelements, by tag name or path.</p>
6100 <p>The optional <code class="docutils literal notranslate"><span class="pre">namespaces</span></code> argument accepts a
6101 prefix-to-namespace mapping that allows the usage of XPath
6102 prefixes in the path expression.</p>
6105 <dl class="py method">
6106 <dt id="lxml.etree._Element.itersiblings">
6107 <code class="sig-name descname">itersiblings</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">tag</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="o">*</span><span class="n">tags</span></em>, <em class="sig-param"><span class="n">preceding</span><span class="o">=</span><span class="default_value">False</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._Element.itersiblings" title="Permalink to this definition">¶</a></dt>
6108 <dd><p>Iterate over the following or preceding siblings of this element.</p>
6109 <p>The direction is determined by the ‘preceding’ keyword which
6110 defaults to False, i.e. forward iteration over the following
6111 siblings. When True, the iterator yields the preceding
6112 siblings in reverse document order, i.e. starting right before
6113 the current element and going backwards.</p>
6114 <p>Can be restricted to find only elements with specific tags,
6115 see <cite>iter</cite>.</p>
6118 <dl class="py method">
6119 <dt id="lxml.etree._Element.itertext">
6120 <code class="sig-name descname">itertext</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">tag</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="o">*</span><span class="n">tags</span></em>, <em class="sig-param"><span class="n">with_tail</span><span class="o">=</span><span class="default_value">True</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._Element.itertext" title="Permalink to this definition">¶</a></dt>
6121 <dd><p>Iterates over the text content of a subtree.</p>
6122 <p>You can pass tag names to restrict text content to specific elements,
6123 see <cite>iter</cite>.</p>
6124 <p>You can set the <code class="docutils literal notranslate"><span class="pre">with_tail</span></code> keyword argument to <code class="docutils literal notranslate"><span class="pre">False</span></code> to skip
6128 <dl class="py method">
6129 <dt id="lxml.etree._Element.keys">
6130 <code class="sig-name descname">keys</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._Element.keys" title="Permalink to this definition">¶</a></dt>
6131 <dd><p>Gets a list of attribute names. The names are returned in an
6132 arbitrary order (just like for an ordinary Python dictionary).</p>
6135 <dl class="py method">
6136 <dt id="lxml.etree._Element.makeelement">
6137 <code class="sig-name descname">makeelement</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">_tag</span></em>, <em class="sig-param"><span class="n">attrib</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">nsmap</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="o">**</span><span class="n">_extra</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._Element.makeelement" title="Permalink to this definition">¶</a></dt>
6138 <dd><p>Creates a new element associated with the same document.</p>
6141 <dl class="py method">
6142 <dt id="lxml.etree._Element.remove">
6143 <code class="sig-name descname">remove</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">element</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._Element.remove" title="Permalink to this definition">¶</a></dt>
6144 <dd><p>Removes a matching subelement. Unlike the find methods, this
6145 method compares elements based on identity, not on tag value
6149 <dl class="py method">
6150 <dt id="lxml.etree._Element.replace">
6151 <code class="sig-name descname">replace</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">old_element</span></em>, <em class="sig-param"><span class="n">new_element</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._Element.replace" title="Permalink to this definition">¶</a></dt>
6152 <dd><p>Replaces a subelement with the element passed as second argument.</p>
6155 <dl class="py method">
6156 <dt id="lxml.etree._Element.set">
6157 <code class="sig-name descname">set</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">key</span></em>, <em class="sig-param"><span class="n">value</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._Element.set" title="Permalink to this definition">¶</a></dt>
6158 <dd><p>Sets an element attribute.</p>
6161 <dl class="py method">
6162 <dt id="lxml.etree._Element.values">
6163 <code class="sig-name descname">values</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._Element.values" title="Permalink to this definition">¶</a></dt>
6164 <dd><p>Gets element attribute values as a sequence of strings. The
6165 attributes are returned in an arbitrary order.</p>
6168 <dl class="py method">
6169 <dt id="lxml.etree._Element.xpath">
6170 <code class="sig-name descname">xpath</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">_path</span></em>, <em class="sig-param"><span class="n">namespaces</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">extensions</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">smart_strings</span><span class="o">=</span><span class="default_value">True</span></em>, <em class="sig-param"><span class="o">**</span><span class="n">_variables</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._Element.xpath" title="Permalink to this definition">¶</a></dt>
6171 <dd><p>Evaluate an xpath expression using the element as context node.</p>
6174 <dl class="py attribute">
6175 <dt id="lxml.etree._Element.attrib">
6176 <code class="sig-name descname">attrib</code><a class="headerlink" href="#lxml.etree._Element.attrib" title="Permalink to this definition">¶</a></dt>
6177 <dd><p>Element attribute dictionary. Where possible, use get(), set(),
6178 keys(), values() and items() to access element attributes.</p>
6181 <dl class="py attribute">
6182 <dt id="lxml.etree._Element.base">
6183 <code class="sig-name descname">base</code><a class="headerlink" href="#lxml.etree._Element.base" title="Permalink to this definition">¶</a></dt>
6184 <dd><p>The base URI of the Element (xml:base or HTML base URL).
6185 None if the base URI is unknown.</p>
6186 <p>Note that the value depends on the URL of the document that
6187 holds the Element if there is no xml:base attribute on the
6188 Element or its ancestors.</p>
6189 <p>Setting this property will set an xml:base attribute on the
6190 Element, regardless of the document type (XML or HTML).</p>
6193 <dl class="py attribute">
6194 <dt id="lxml.etree._Element.nsmap">
6195 <code class="sig-name descname">nsmap</code><a class="headerlink" href="#lxml.etree._Element.nsmap" title="Permalink to this definition">¶</a></dt>
6196 <dd><p>Namespace prefix->URI mapping known in the context of this
6197 Element. This includes all namespace declarations of the
6199 <p>Note that changing the returned dict has no effect on the Element.</p>
6202 <dl class="py attribute">
6203 <dt id="lxml.etree._Element.prefix">
6204 <code class="sig-name descname">prefix</code><a class="headerlink" href="#lxml.etree._Element.prefix" title="Permalink to this definition">¶</a></dt>
6205 <dd><p>Namespace prefix or None.</p>
6208 <dl class="py attribute">
6209 <dt id="lxml.etree._Element.sourceline">
6210 <code class="sig-name descname">sourceline</code><a class="headerlink" href="#lxml.etree._Element.sourceline" title="Permalink to this definition">¶</a></dt>
6211 <dd><p>Original line number as found by the parser or None if unknown.</p>
6214 <dl class="py attribute">
6215 <dt id="lxml.etree._Element.tag">
6216 <code class="sig-name descname">tag</code><a class="headerlink" href="#lxml.etree._Element.tag" title="Permalink to this definition">¶</a></dt>
6217 <dd><p>Element tag</p>
6220 <dl class="py attribute">
6221 <dt id="lxml.etree._Element.tail">
6222 <code class="sig-name descname">tail</code><a class="headerlink" href="#lxml.etree._Element.tail" title="Permalink to this definition">¶</a></dt>
6223 <dd><p>Text after this element’s end tag, but before the next sibling
6224 element’s start tag. This is either a string or the value None, if
6225 there was no text.</p>
6228 <dl class="py attribute">
6229 <dt id="lxml.etree._Element.text">
6230 <code class="sig-name descname">text</code><a class="headerlink" href="#lxml.etree._Element.text" title="Permalink to this definition">¶</a></dt>
6231 <dd><p>Text before the first subelement. This is either a string or
6232 the value None, if there was no text.</p>
6237 <dl class="py class">
6238 <dt id="lxml.etree._ElementIterator">
6239 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">_ElementIterator</code><a class="headerlink" href="#lxml.etree._ElementIterator" title="Permalink to this definition">¶</a></dt>
6240 <dd><p>Bases: <a class="reference internal" href="#lxml.etree._ElementTagMatcher" title="lxml.etree._ElementTagMatcher"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree._ElementTagMatcher</span></code></a></p>
6241 <p>Dead but public. :)</p>
6244 <dl class="py class">
6245 <dt id="lxml.etree._ElementMatchIterator">
6246 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">_ElementMatchIterator</code><a class="headerlink" href="#lxml.etree._ElementMatchIterator" title="Permalink to this definition">¶</a></dt>
6247 <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
6250 <dl class="py class">
6251 <dt id="lxml.etree._ElementStringResult">
6252 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">_ElementStringResult</code><a class="headerlink" href="#lxml.etree._ElementStringResult" title="Permalink to this definition">¶</a></dt>
6253 <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">bytes</span></code></p>
6254 <dl class="py method">
6255 <dt id="lxml.etree._ElementStringResult.getparent">
6256 <code class="sig-name descname">getparent</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._ElementStringResult.getparent" title="Permalink to this definition">¶</a></dt>
6261 <dl class="py class">
6262 <dt id="lxml.etree._ElementTagMatcher">
6263 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">_ElementTagMatcher</code><a class="headerlink" href="#lxml.etree._ElementTagMatcher" title="Permalink to this definition">¶</a></dt>
6264 <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
6265 <p>Dead but public. :)</p>
6268 <dl class="py class">
6269 <dt id="lxml.etree._ElementTree">
6270 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">_ElementTree</code><a class="headerlink" href="#lxml.etree._ElementTree" title="Permalink to this definition">¶</a></dt>
6271 <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
6272 <dl class="py method">
6273 <dt id="lxml.etree._ElementTree._setroot">
6274 <code class="sig-name descname">_setroot</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">root</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._ElementTree._setroot" title="Permalink to this definition">¶</a></dt>
6275 <dd><p>Relocate the ElementTree to a new root node.</p>
6278 <dl class="py method">
6279 <dt id="lxml.etree._ElementTree.find">
6280 <code class="sig-name descname">find</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">path</span></em>, <em class="sig-param"><span class="n">namespaces</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._ElementTree.find" title="Permalink to this definition">¶</a></dt>
6281 <dd><p>Finds the first toplevel element with given tag. Same as
6282 <code class="docutils literal notranslate"><span class="pre">tree.getroot().find(path)</span></code>.</p>
6283 <p>The optional <code class="docutils literal notranslate"><span class="pre">namespaces</span></code> argument accepts a
6284 prefix-to-namespace mapping that allows the usage of XPath
6285 prefixes in the path expression.</p>
6288 <dl class="py method">
6289 <dt id="lxml.etree._ElementTree.findall">
6290 <code class="sig-name descname">findall</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">path</span></em>, <em class="sig-param"><span class="n">namespaces</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._ElementTree.findall" title="Permalink to this definition">¶</a></dt>
6291 <dd><p>Finds all elements matching the ElementPath expression. Same as
6292 getroot().findall(path).</p>
6293 <p>The optional <code class="docutils literal notranslate"><span class="pre">namespaces</span></code> argument accepts a
6294 prefix-to-namespace mapping that allows the usage of XPath
6295 prefixes in the path expression.</p>
6298 <dl class="py method">
6299 <dt id="lxml.etree._ElementTree.findtext">
6300 <code class="sig-name descname">findtext</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">path</span></em>, <em class="sig-param"><span class="n">default</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">namespaces</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._ElementTree.findtext" title="Permalink to this definition">¶</a></dt>
6301 <dd><p>Finds the text for the first element matching the ElementPath
6302 expression. Same as getroot().findtext(path)</p>
6303 <p>The optional <code class="docutils literal notranslate"><span class="pre">namespaces</span></code> argument accepts a
6304 prefix-to-namespace mapping that allows the usage of XPath
6305 prefixes in the path expression.</p>
6308 <dl class="py method">
6309 <dt id="lxml.etree._ElementTree.getelementpath">
6310 <code class="sig-name descname">getelementpath</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">element</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._ElementTree.getelementpath" title="Permalink to this definition">¶</a></dt>
6311 <dd><p>Returns a structural, absolute ElementPath expression to find the
6312 element. This path can be used in the .find() method to look up
6313 the element, provided that the elements along the path and their
6314 list of immediate children were not modified in between.</p>
6315 <p>ElementPath has the advantage over an XPath expression (as returned
6316 by the .getpath() method) that it does not require additional prefix
6317 declarations. It is always self-contained.</p>
6320 <dl class="py method">
6321 <dt id="lxml.etree._ElementTree.getiterator">
6322 <code class="sig-name descname">getiterator</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="o">*</span><span class="n">tags</span></em>, <em class="sig-param"><span class="n">tag</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._ElementTree.getiterator" title="Permalink to this definition">¶</a></dt>
6323 <dd><p>Returns a sequence or iterator of all elements in document order
6324 (depth first pre-order), starting with the root element.</p>
6325 <p>Can be restricted to find only elements with specific tags,
6326 see <cite>_Element.iter</cite>.</p>
6327 <dl class="field-list simple">
6328 <dt class="field-odd">Deprecated</dt>
6329 <dd class="field-odd"><p>Note that this method is deprecated as of
6330 ElementTree 1.3 and lxml 2.0. It returns an iterator in
6331 lxml, which diverges from the original ElementTree
6332 behaviour. If you want an efficient iterator, use the
6333 <code class="docutils literal notranslate"><span class="pre">tree.iter()</span></code> method instead. You should only use this
6334 method in new code if you require backwards compatibility
6335 with older versions of lxml or ElementTree.</p>
6340 <dl class="py method">
6341 <dt id="lxml.etree._ElementTree.getpath">
6342 <code class="sig-name descname">getpath</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">element</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._ElementTree.getpath" title="Permalink to this definition">¶</a></dt>
6343 <dd><p>Returns a structural, absolute XPath expression to find the element.</p>
6344 <p>For namespaced elements, the expression uses prefixes from the
6345 document, which therefore need to be provided in order to make any
6346 use of the expression in XPath.</p>
6347 <p>Also see the method getelementpath(self, element), which returns a
6348 self-contained ElementPath expression.</p>
6351 <dl class="py method">
6352 <dt id="lxml.etree._ElementTree.getroot">
6353 <code class="sig-name descname">getroot</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._ElementTree.getroot" title="Permalink to this definition">¶</a></dt>
6354 <dd><p>Gets the root element for this tree.</p>
6357 <dl class="py method">
6358 <dt id="lxml.etree._ElementTree.iter">
6359 <code class="sig-name descname">iter</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">tag</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="o">*</span><span class="n">tags</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._ElementTree.iter" title="Permalink to this definition">¶</a></dt>
6360 <dd><p>Creates an iterator for the root element. The iterator loops over
6361 all elements in this tree, in document order. Note that siblings
6362 of the root element (comments or processing instructions) are not
6363 returned by the iterator.</p>
6364 <p>Can be restricted to find only elements with specific tags,
6365 see <cite>_Element.iter</cite>.</p>
6368 <dl class="py method">
6369 <dt id="lxml.etree._ElementTree.iterfind">
6370 <code class="sig-name descname">iterfind</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">path</span></em>, <em class="sig-param"><span class="n">namespaces</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._ElementTree.iterfind" title="Permalink to this definition">¶</a></dt>
6371 <dd><p>Iterates over all elements matching the ElementPath expression.
6372 Same as getroot().iterfind(path).</p>
6373 <p>The optional <code class="docutils literal notranslate"><span class="pre">namespaces</span></code> argument accepts a
6374 prefix-to-namespace mapping that allows the usage of XPath
6375 prefixes in the path expression.</p>
6378 <dl class="py method">
6379 <dt id="lxml.etree._ElementTree.parse">
6380 <code class="sig-name descname">parse</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">source</span></em>, <em class="sig-param"><span class="n">parser</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">base_url</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._ElementTree.parse" title="Permalink to this definition">¶</a></dt>
6381 <dd><p>Updates self with the content of source and returns its root.</p>
6384 <dl class="py method">
6385 <dt id="lxml.etree._ElementTree.relaxng">
6386 <code class="sig-name descname">relaxng</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">relaxng</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._ElementTree.relaxng" title="Permalink to this definition">¶</a></dt>
6387 <dd><p>Validate this document using other document.</p>
6388 <p>The relaxng argument is a tree that should contain a Relax NG schema.</p>
6389 <p>Returns True or False, depending on whether validation
6391 <p>Note: if you are going to apply the same Relax NG schema against
6392 multiple documents, it is more efficient to use the RelaxNG
6396 <dl class="py method">
6397 <dt id="lxml.etree._ElementTree.write">
6398 <code class="sig-name descname">write</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">file</span></em>, <em class="sig-param"><span class="o">*</span></em>, <em class="sig-param"><span class="n">encoding</span></em>, <em class="sig-param"><span class="n">method</span></em>, <em class="sig-param"><span class="n">pretty_print</span></em>, <em class="sig-param"><span class="n">xml_declaration</span></em>, <em class="sig-param"><span class="n">with_tail</span></em>, <em class="sig-param"><span class="n">standalone</span></em>, <em class="sig-param"><span class="n">doctype</span></em>, <em class="sig-param"><span class="n">compression</span></em>, <em class="sig-param"><span class="n">exclusive</span></em>, <em class="sig-param"><span class="n">inclusive_ns_prefixes</span></em>, <em class="sig-param"><span class="n">with_comments</span></em>, <em class="sig-param"><span class="n">strip_text</span></em>, <em class="sig-param"><span class="n">docstring</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._ElementTree.write" title="Permalink to this definition">¶</a></dt>
6399 <dd><dl class="simple">
6400 <dt>write(self, file, encoding=None, method=”xml”,</dt><dd><p>pretty_print=False, xml_declaration=None, with_tail=True,
6401 standalone=None, doctype=None, compression=0,
6402 exclusive=False, inclusive_ns_prefixes=None,
6403 with_comments=True, strip_text=False)</p>
6406 <p>Write the tree to a filename, file or file-like object.</p>
6407 <p>Defaults to ASCII encoding and writing a declaration as needed.</p>
6408 <p>The keyword argument ‘method’ selects the output method:
6409 ‘xml’, ‘html’, ‘text’ or ‘c14n’. Default is ‘xml’.</p>
6410 <p>With <code class="docutils literal notranslate"><span class="pre">method="c14n"</span></code> (C14N version 1), the options <code class="docutils literal notranslate"><span class="pre">exclusive</span></code>,
6411 <code class="docutils literal notranslate"><span class="pre">with_comments</span></code> and <code class="docutils literal notranslate"><span class="pre">inclusive_ns_prefixes</span></code> request exclusive
6412 C14N, include comments, and list the inclusive prefixes respectively.</p>
6413 <p>With <code class="docutils literal notranslate"><span class="pre">method="c14n2"</span></code> (C14N version 2), the <code class="docutils literal notranslate"><span class="pre">with_comments</span></code> and
6414 <code class="docutils literal notranslate"><span class="pre">strip_text</span></code> options control the output of comments and text space
6415 according to C14N 2.0.</p>
6416 <p>Passing a boolean value to the <code class="docutils literal notranslate"><span class="pre">standalone</span></code> option will
6417 output an XML declaration with the corresponding
6418 <code class="docutils literal notranslate"><span class="pre">standalone</span></code> flag.</p>
6419 <p>The <code class="docutils literal notranslate"><span class="pre">doctype</span></code> option allows passing in a plain string that will
6420 be serialised before the XML tree. Note that passing in non
6421 well-formed content here will make the XML output non well-formed.
6422 Also, an existing doctype in the document tree will not be removed
6423 when serialising an ElementTree instance.</p>
6424 <p>The <code class="docutils literal notranslate"><span class="pre">compression</span></code> option enables GZip compression level 1-9.</p>
6425 <p>The <code class="docutils literal notranslate"><span class="pre">inclusive_ns_prefixes</span></code> should be a list of namespace strings
6426 (i.e. [‘xs’, ‘xsi’]) that will be promoted to the top-level element
6427 during exclusive C14N serialisation. This parameter is ignored if
6428 exclusive mode=False.</p>
6429 <p>If exclusive=True and no list is provided, a namespace will only be
6430 rendered if it is used by the immediate parent or one of its attributes
6431 and its prefix and values have not already been rendered by an ancestor
6432 of the namespace node’s parent element.</p>
6435 <dl class="py method">
6436 <dt id="lxml.etree._ElementTree.write_c14n">
6437 <code class="sig-name descname">write_c14n</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">file</span></em>, <em class="sig-param"><span class="o">*</span></em>, <em class="sig-param"><span class="n">exclusive</span></em>, <em class="sig-param"><span class="n">with_comments</span></em>, <em class="sig-param"><span class="n">compression</span></em>, <em class="sig-param"><span class="n">inclusive_ns_prefixes</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._ElementTree.write_c14n" title="Permalink to this definition">¶</a></dt>
6438 <dd><dl class="simple">
6439 <dt>write_c14n(self, file, exclusive=False, with_comments=True,</dt><dd><p>compression=0, inclusive_ns_prefixes=None)</p>
6442 <p>C14N write of document. Always writes UTF-8.</p>
6443 <p>The <code class="docutils literal notranslate"><span class="pre">compression</span></code> option enables GZip compression level 1-9.</p>
6444 <p>The <code class="docutils literal notranslate"><span class="pre">inclusive_ns_prefixes</span></code> should be a list of namespace strings
6445 (i.e. [‘xs’, ‘xsi’]) that will be promoted to the top-level element
6446 during exclusive C14N serialisation. This parameter is ignored if
6447 exclusive mode=False.</p>
6448 <p>If exclusive=True and no list is provided, a namespace will only be
6449 rendered if it is used by the immediate parent or one of its attributes
6450 and its prefix and values have not already been rendered by an ancestor
6451 of the namespace node’s parent element.</p>
6452 <p>NOTE: This method is deprecated as of lxml 4.4 and will be removed in a
6453 future release. Use <code class="docutils literal notranslate"><span class="pre">.write(f,</span> <span class="pre">method="c14n")</span></code> instead.</p>
6456 <dl class="py method">
6457 <dt id="lxml.etree._ElementTree.xinclude">
6458 <code class="sig-name descname">xinclude</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._ElementTree.xinclude" title="Permalink to this definition">¶</a></dt>
6459 <dd><p>Process the XInclude nodes in this document and include the
6460 referenced XML fragments.</p>
6461 <p>There is support for loading files through the file system, HTTP and
6463 <p>Note that XInclude does not support custom resolvers in Python space
6464 due to restrictions of libxml2 <= 2.6.29.</p>
6467 <dl class="py method">
6468 <dt id="lxml.etree._ElementTree.xmlschema">
6469 <code class="sig-name descname">xmlschema</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">xmlschema</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._ElementTree.xmlschema" title="Permalink to this definition">¶</a></dt>
6470 <dd><p>Validate this document using other document.</p>
6471 <p>The xmlschema argument is a tree that should contain an XML Schema.</p>
6472 <p>Returns True or False, depending on whether validation
6474 <p>Note: If you are going to apply the same XML Schema against
6475 multiple documents, it is more efficient to use the XMLSchema
6479 <dl class="py method">
6480 <dt id="lxml.etree._ElementTree.xpath">
6481 <code class="sig-name descname">xpath</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">_path</span></em>, <em class="sig-param"><span class="n">namespaces</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">extensions</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">smart_strings</span><span class="o">=</span><span class="default_value">True</span></em>, <em class="sig-param"><span class="o">**</span><span class="n">_variables</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._ElementTree.xpath" title="Permalink to this definition">¶</a></dt>
6482 <dd><p>XPath evaluate in context of document.</p>
6483 <p><code class="docutils literal notranslate"><span class="pre">namespaces</span></code> is an optional dictionary with prefix to namespace URI
6484 mappings, used by XPath. <code class="docutils literal notranslate"><span class="pre">extensions</span></code> defines additional extension
6486 <p>Returns a list (nodeset), or bool, float or string.</p>
6487 <p>In case of a list result, return Element for element nodes,
6488 string for text and attribute values.</p>
6489 <p>Note: if you are going to apply multiple XPath expressions
6490 against the same document, it is more efficient to use
6491 XPathEvaluator directly.</p>
6494 <dl class="py method">
6495 <dt id="lxml.etree._ElementTree.xslt">
6496 <code class="sig-name descname">xslt</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">_xslt</span></em>, <em class="sig-param"><span class="n">extensions</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">access_control</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="o">**</span><span class="n">_kw</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._ElementTree.xslt" title="Permalink to this definition">¶</a></dt>
6497 <dd><p>Transform this document using other document.</p>
6498 <p>xslt is a tree that should be XSLT
6499 keyword parameters are XSLT transformation parameters.</p>
6500 <p>Returns the transformed tree.</p>
6501 <p>Note: if you are going to apply the same XSLT stylesheet against
6502 multiple documents, it is more efficient to use the XSLT
6506 <dl class="py attribute">
6507 <dt id="lxml.etree._ElementTree.docinfo">
6508 <code class="sig-name descname">docinfo</code><a class="headerlink" href="#lxml.etree._ElementTree.docinfo" title="Permalink to this definition">¶</a></dt>
6509 <dd><p>Information about the document provided by parser and DTD.</p>
6512 <dl class="py attribute">
6513 <dt id="lxml.etree._ElementTree.parser">
6514 <code class="sig-name descname">parser</code><a class="headerlink" href="#lxml.etree._ElementTree.parser" title="Permalink to this definition">¶</a></dt>
6515 <dd><p>The parser that was used to parse the document in this ElementTree.</p>
6520 <dl class="py class">
6521 <dt id="lxml.etree._ElementUnicodeResult">
6522 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">_ElementUnicodeResult</code><a class="headerlink" href="#lxml.etree._ElementUnicodeResult" title="Permalink to this definition">¶</a></dt>
6523 <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code></p>
6524 <dl class="py method">
6525 <dt id="lxml.etree._ElementUnicodeResult.getparent">
6526 <code class="sig-name descname">getparent</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._ElementUnicodeResult.getparent" title="Permalink to this definition">¶</a></dt>
6529 <dl class="py attribute">
6530 <dt id="lxml.etree._ElementUnicodeResult.attrname">
6531 <code class="sig-name descname">attrname</code><a class="headerlink" href="#lxml.etree._ElementUnicodeResult.attrname" title="Permalink to this definition">¶</a></dt>
6534 <dl class="py attribute">
6535 <dt id="lxml.etree._ElementUnicodeResult.is_attribute">
6536 <code class="sig-name descname">is_attribute</code><a class="headerlink" href="#lxml.etree._ElementUnicodeResult.is_attribute" title="Permalink to this definition">¶</a></dt>
6539 <dl class="py attribute">
6540 <dt id="lxml.etree._ElementUnicodeResult.is_tail">
6541 <code class="sig-name descname">is_tail</code><a class="headerlink" href="#lxml.etree._ElementUnicodeResult.is_tail" title="Permalink to this definition">¶</a></dt>
6544 <dl class="py attribute">
6545 <dt id="lxml.etree._ElementUnicodeResult.is_text">
6546 <code class="sig-name descname">is_text</code><a class="headerlink" href="#lxml.etree._ElementUnicodeResult.is_text" title="Permalink to this definition">¶</a></dt>
6551 <dl class="py class">
6552 <dt id="lxml.etree._Entity">
6553 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">_Entity</code><a class="headerlink" href="#lxml.etree._Entity" title="Permalink to this definition">¶</a></dt>
6554 <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.__ContentOnlyElement</span></code></p>
6555 <dl class="py attribute">
6556 <dt id="lxml.etree._Entity.name">
6557 <code class="sig-name descname">name</code><a class="headerlink" href="#lxml.etree._Entity.name" title="Permalink to this definition">¶</a></dt>
6560 <dl class="py attribute">
6561 <dt id="lxml.etree._Entity.tag">
6562 <code class="sig-name descname">tag</code><a class="headerlink" href="#lxml.etree._Entity.tag" title="Permalink to this definition">¶</a></dt>
6565 <dl class="py attribute">
6566 <dt id="lxml.etree._Entity.text">
6567 <code class="sig-name descname">text</code><a class="headerlink" href="#lxml.etree._Entity.text" title="Permalink to this definition">¶</a></dt>
6572 <dl class="py class">
6573 <dt id="lxml.etree._ErrorLog">
6574 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">_ErrorLog</code><a class="headerlink" href="#lxml.etree._ErrorLog" title="Permalink to this definition">¶</a></dt>
6575 <dd><p>Bases: <a class="reference internal" href="#lxml.etree._ListErrorLog" title="lxml.etree._ListErrorLog"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree._ListErrorLog</span></code></a></p>
6576 <dl class="py method">
6577 <dt id="lxml.etree._ErrorLog.clear">
6578 <code class="sig-name descname">clear</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._ErrorLog.clear" title="Permalink to this definition">¶</a></dt>
6581 <dl class="py method">
6582 <dt id="lxml.etree._ErrorLog.copy">
6583 <code class="sig-name descname">copy</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._ErrorLog.copy" title="Permalink to this definition">¶</a></dt>
6584 <dd><p>Creates a shallow copy of this error log and the list of entries.</p>
6587 <dl class="py method">
6588 <dt id="lxml.etree._ErrorLog.receive">
6589 <code class="sig-name descname">receive</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">entry</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._ErrorLog.receive" title="Permalink to this definition">¶</a></dt>
6594 <dl class="py class">
6595 <dt id="lxml.etree._FeedParser">
6596 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">_FeedParser</code><a class="headerlink" href="#lxml.etree._FeedParser" title="Permalink to this definition">¶</a></dt>
6597 <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree._BaseParser</span></code></p>
6598 <dl class="py method">
6599 <dt id="lxml.etree._FeedParser.close">
6600 <code class="sig-name descname">close</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._FeedParser.close" title="Permalink to this definition">¶</a></dt>
6601 <dd><p>Terminates feeding data to this parser. This tells the parser to
6602 process any remaining data in the feed buffer, and then returns the
6603 root Element of the tree that was parsed.</p>
6604 <p>This method must be called after passing the last chunk of data into
6605 the <code class="docutils literal notranslate"><span class="pre">feed()</span></code> method. It should only be called when using the feed
6606 parser interface, all other usage is undefined.</p>
6609 <dl class="py method">
6610 <dt id="lxml.etree._FeedParser.feed">
6611 <code class="sig-name descname">feed</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">data</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._FeedParser.feed" title="Permalink to this definition">¶</a></dt>
6612 <dd><p>Feeds data to the parser. The argument should be an 8-bit string
6613 buffer containing encoded data, although Unicode is supported as long
6614 as both string types are not mixed.</p>
6615 <p>This is the main entry point to the consumer interface of a
6616 parser. The parser will parse as much of the XML stream as it
6617 can on each call. To finish parsing or to reset the parser,
6618 call the <code class="docutils literal notranslate"><span class="pre">close()</span></code> method. Both methods may raise
6619 ParseError if errors occur in the input data. If an error is
6620 raised, there is no longer a need to call <code class="docutils literal notranslate"><span class="pre">close()</span></code>.</p>
6621 <p>The feed parser interface is independent of the normal parser
6622 usage. You can use the same parser as a feed parser and in
6623 the <code class="docutils literal notranslate"><span class="pre">parse()</span></code> function concurrently.</p>
6626 <dl class="py attribute">
6627 <dt id="lxml.etree._FeedParser.feed_error_log">
6628 <code class="sig-name descname">feed_error_log</code><a class="headerlink" href="#lxml.etree._FeedParser.feed_error_log" title="Permalink to this definition">¶</a></dt>
6629 <dd><p>The error log of the last (or current) run of the feed parser.</p>
6630 <p>Note that this is local to the feed parser and thus is
6631 different from what the <code class="docutils literal notranslate"><span class="pre">error_log</span></code> property returns.</p>
6636 <dl class="py class">
6637 <dt id="lxml.etree._IDDict">
6638 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">_IDDict</code><a class="headerlink" href="#lxml.etree._IDDict" title="Permalink to this definition">¶</a></dt>
6639 <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
6640 <p>IDDict(self, etree)
6641 A dictionary-like proxy class that mapps ID attributes to elements.</p>
6642 <p>The dictionary must be instantiated with the root element of a parsed XML
6643 document, otherwise the behaviour is undefined. Elements and XML trees
6644 that were created or modified ‘by hand’ are not supported.</p>
6645 <dl class="py method">
6646 <dt id="lxml.etree._IDDict.copy">
6647 <code class="sig-name descname">copy</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._IDDict.copy" title="Permalink to this definition">¶</a></dt>
6650 <dl class="py method">
6651 <dt id="lxml.etree._IDDict.get">
6652 <code class="sig-name descname">get</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">id_name</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._IDDict.get" title="Permalink to this definition">¶</a></dt>
6655 <dl class="py method">
6656 <dt id="lxml.etree._IDDict.has_key">
6657 <code class="sig-name descname">has_key</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">id_name</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._IDDict.has_key" title="Permalink to this definition">¶</a></dt>
6660 <dl class="py method">
6661 <dt id="lxml.etree._IDDict.items">
6662 <code class="sig-name descname">items</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._IDDict.items" title="Permalink to this definition">¶</a></dt>
6665 <dl class="py method">
6666 <dt id="lxml.etree._IDDict.iteritems">
6667 <code class="sig-name descname">iteritems</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._IDDict.iteritems" title="Permalink to this definition">¶</a></dt>
6670 <dl class="py method">
6671 <dt id="lxml.etree._IDDict.iterkeys">
6672 <code class="sig-name descname">iterkeys</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._IDDict.iterkeys" title="Permalink to this definition">¶</a></dt>
6675 <dl class="py method">
6676 <dt id="lxml.etree._IDDict.itervalues">
6677 <code class="sig-name descname">itervalues</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._IDDict.itervalues" title="Permalink to this definition">¶</a></dt>
6680 <dl class="py method">
6681 <dt id="lxml.etree._IDDict.keys">
6682 <code class="sig-name descname">keys</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._IDDict.keys" title="Permalink to this definition">¶</a></dt>
6685 <dl class="py method">
6686 <dt id="lxml.etree._IDDict.values">
6687 <code class="sig-name descname">values</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._IDDict.values" title="Permalink to this definition">¶</a></dt>
6692 <dl class="py class">
6693 <dt id="lxml.etree._ListErrorLog">
6694 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">_ListErrorLog</code><a class="headerlink" href="#lxml.etree._ListErrorLog" title="Permalink to this definition">¶</a></dt>
6695 <dd><p>Bases: <a class="reference internal" href="#lxml.etree._BaseErrorLog" title="lxml.etree._BaseErrorLog"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree._BaseErrorLog</span></code></a></p>
6696 <p>Immutable base version of a list based error log.</p>
6697 <dl class="py method">
6698 <dt id="lxml.etree._ListErrorLog.copy">
6699 <code class="sig-name descname">copy</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._ListErrorLog.copy" title="Permalink to this definition">¶</a></dt>
6700 <dd><p>Creates a shallow copy of this error log. Reuses the list of
6704 <dl class="py method">
6705 <dt id="lxml.etree._ListErrorLog.filter_domains">
6706 <code class="sig-name descname">filter_domains</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">domains</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._ListErrorLog.filter_domains" title="Permalink to this definition">¶</a></dt>
6707 <dd><p>Filter the errors by the given domains and return a new error log
6708 containing the matches.</p>
6711 <dl class="py method">
6712 <dt id="lxml.etree._ListErrorLog.filter_from_errors">
6713 <code class="sig-name descname">filter_from_errors</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._ListErrorLog.filter_from_errors" title="Permalink to this definition">¶</a></dt>
6714 <dd><p>Convenience method to get all error messages or worse.</p>
6717 <dl class="py method">
6718 <dt id="lxml.etree._ListErrorLog.filter_from_fatals">
6719 <code class="sig-name descname">filter_from_fatals</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._ListErrorLog.filter_from_fatals" title="Permalink to this definition">¶</a></dt>
6720 <dd><p>Convenience method to get all fatal error messages.</p>
6723 <dl class="py method">
6724 <dt id="lxml.etree._ListErrorLog.filter_from_level">
6725 <code class="sig-name descname">filter_from_level</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">level</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._ListErrorLog.filter_from_level" title="Permalink to this definition">¶</a></dt>
6726 <dd><p>Return a log with all messages of the requested level of worse.</p>
6729 <dl class="py method">
6730 <dt id="lxml.etree._ListErrorLog.filter_from_warnings">
6731 <code class="sig-name descname">filter_from_warnings</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._ListErrorLog.filter_from_warnings" title="Permalink to this definition">¶</a></dt>
6732 <dd><p>Convenience method to get all warnings or worse.</p>
6735 <dl class="py method">
6736 <dt id="lxml.etree._ListErrorLog.filter_levels">
6737 <code class="sig-name descname">filter_levels</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">levels</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._ListErrorLog.filter_levels" title="Permalink to this definition">¶</a></dt>
6738 <dd><p>Filter the errors by the given error levels and return a new
6739 error log containing the matches.</p>
6742 <dl class="py method">
6743 <dt id="lxml.etree._ListErrorLog.filter_types">
6744 <code class="sig-name descname">filter_types</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">types</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._ListErrorLog.filter_types" title="Permalink to this definition">¶</a></dt>
6745 <dd><p>Filter the errors by the given types and return a new error
6746 log containing the matches.</p>
6751 <dl class="py class">
6752 <dt id="lxml.etree._LogEntry">
6753 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">_LogEntry</code><a class="headerlink" href="#lxml.etree._LogEntry" title="Permalink to this definition">¶</a></dt>
6754 <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
6755 <p>A log message entry from an error log.</p>
6758 <li><p>message: the message text</p></li>
6759 <li><p>domain: the domain ID (see lxml.etree.ErrorDomains)</p></li>
6760 <li><p>type: the message type ID (see lxml.etree.ErrorTypes)</p></li>
6761 <li><p>level: the log level ID (see lxml.etree.ErrorLevels)</p></li>
6762 <li><p>line: the line at which the message originated (if applicable)</p></li>
6763 <li><p>column: the character column at which the message originated (if applicable)</p></li>
6764 <li><p>filename: the name of the file in which the message originated (if applicable)</p></li>
6765 <li><p>path: the location in which the error was found (if available)</p></li>
6767 <dl class="py attribute">
6768 <dt id="lxml.etree._LogEntry.column">
6769 <code class="sig-name descname">column</code><a class="headerlink" href="#lxml.etree._LogEntry.column" title="Permalink to this definition">¶</a></dt>
6772 <dl class="py attribute">
6773 <dt id="lxml.etree._LogEntry.domain">
6774 <code class="sig-name descname">domain</code><a class="headerlink" href="#lxml.etree._LogEntry.domain" title="Permalink to this definition">¶</a></dt>
6777 <dl class="py attribute">
6778 <dt id="lxml.etree._LogEntry.domain_name">
6779 <code class="sig-name descname">domain_name</code><a class="headerlink" href="#lxml.etree._LogEntry.domain_name" title="Permalink to this definition">¶</a></dt>
6780 <dd><p>The name of the error domain. See lxml.etree.ErrorDomains</p>
6783 <dl class="py attribute">
6784 <dt id="lxml.etree._LogEntry.filename">
6785 <code class="sig-name descname">filename</code><a class="headerlink" href="#lxml.etree._LogEntry.filename" title="Permalink to this definition">¶</a></dt>
6786 <dd><p>The file path where the report originated, if any.</p>
6789 <dl class="py attribute">
6790 <dt id="lxml.etree._LogEntry.level">
6791 <code class="sig-name descname">level</code><a class="headerlink" href="#lxml.etree._LogEntry.level" title="Permalink to this definition">¶</a></dt>
6794 <dl class="py attribute">
6795 <dt id="lxml.etree._LogEntry.level_name">
6796 <code class="sig-name descname">level_name</code><a class="headerlink" href="#lxml.etree._LogEntry.level_name" title="Permalink to this definition">¶</a></dt>
6797 <dd><p>The name of the error level. See lxml.etree.ErrorLevels</p>
6800 <dl class="py attribute">
6801 <dt id="lxml.etree._LogEntry.line">
6802 <code class="sig-name descname">line</code><a class="headerlink" href="#lxml.etree._LogEntry.line" title="Permalink to this definition">¶</a></dt>
6805 <dl class="py attribute">
6806 <dt id="lxml.etree._LogEntry.message">
6807 <code class="sig-name descname">message</code><a class="headerlink" href="#lxml.etree._LogEntry.message" title="Permalink to this definition">¶</a></dt>
6808 <dd><p>The log message string.</p>
6811 <dl class="py attribute">
6812 <dt id="lxml.etree._LogEntry.path">
6813 <code class="sig-name descname">path</code><a class="headerlink" href="#lxml.etree._LogEntry.path" title="Permalink to this definition">¶</a></dt>
6814 <dd><p>The XPath for the node where the error was detected.</p>
6817 <dl class="py attribute">
6818 <dt id="lxml.etree._LogEntry.type">
6819 <code class="sig-name descname">type</code><a class="headerlink" href="#lxml.etree._LogEntry.type" title="Permalink to this definition">¶</a></dt>
6822 <dl class="py attribute">
6823 <dt id="lxml.etree._LogEntry.type_name">
6824 <code class="sig-name descname">type_name</code><a class="headerlink" href="#lxml.etree._LogEntry.type_name" title="Permalink to this definition">¶</a></dt>
6825 <dd><p>The name of the error type. See lxml.etree.ErrorTypes</p>
6830 <dl class="py class">
6831 <dt id="lxml.etree._ProcessingInstruction">
6832 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">_ProcessingInstruction</code><a class="headerlink" href="#lxml.etree._ProcessingInstruction" title="Permalink to this definition">¶</a></dt>
6833 <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.__ContentOnlyElement</span></code></p>
6834 <dl class="py method">
6835 <dt id="lxml.etree._ProcessingInstruction.get">
6836 <code class="sig-name descname">get</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">key</span></em>, <em class="sig-param"><span class="n">default</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._ProcessingInstruction.get" title="Permalink to this definition">¶</a></dt>
6837 <dd><p>Try to parse pseudo-attributes from the text content of the
6838 processing instruction, search for one with the given key as
6839 name and return its associated value.</p>
6840 <p>Note that this is only a convenience method for the most
6841 common case that all text content is structured in
6842 attribute-like name-value pairs with properly quoted values.
6843 It is not guaranteed to work for all possible text content.</p>
6846 <dl class="py attribute">
6847 <dt id="lxml.etree._ProcessingInstruction.attrib">
6848 <code class="sig-name descname">attrib</code><a class="headerlink" href="#lxml.etree._ProcessingInstruction.attrib" title="Permalink to this definition">¶</a></dt>
6849 <dd><p>Returns a dict containing all pseudo-attributes that can be
6850 parsed from the text content of this processing instruction.
6851 Note that modifying the dict currently has no effect on the
6852 XML node, although this is not guaranteed to stay this way.</p>
6855 <dl class="py attribute">
6856 <dt id="lxml.etree._ProcessingInstruction.tag">
6857 <code class="sig-name descname">tag</code><a class="headerlink" href="#lxml.etree._ProcessingInstruction.tag" title="Permalink to this definition">¶</a></dt>
6860 <dl class="py attribute">
6861 <dt id="lxml.etree._ProcessingInstruction.target">
6862 <code class="sig-name descname">target</code><a class="headerlink" href="#lxml.etree._ProcessingInstruction.target" title="Permalink to this definition">¶</a></dt>
6867 <dl class="py class">
6868 <dt id="lxml.etree._RotatingErrorLog">
6869 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">_RotatingErrorLog</code><a class="headerlink" href="#lxml.etree._RotatingErrorLog" title="Permalink to this definition">¶</a></dt>
6870 <dd><p>Bases: <a class="reference internal" href="#lxml.etree._ErrorLog" title="lxml.etree._ErrorLog"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree._ErrorLog</span></code></a></p>
6871 <dl class="py method">
6872 <dt id="lxml.etree._RotatingErrorLog.receive">
6873 <code class="sig-name descname">receive</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">entry</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._RotatingErrorLog.receive" title="Permalink to this definition">¶</a></dt>
6878 <dl class="py class">
6879 <dt id="lxml.etree._SaxParserTarget">
6880 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">_SaxParserTarget</code><a class="headerlink" href="#lxml.etree._SaxParserTarget" title="Permalink to this definition">¶</a></dt>
6881 <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
6884 <dl class="py class">
6885 <dt id="lxml.etree._Validator">
6886 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">_Validator</code><a class="headerlink" href="#lxml.etree._Validator" title="Permalink to this definition">¶</a></dt>
6887 <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
6888 <p>Base class for XML validators.</p>
6889 <dl class="py method">
6890 <dt id="lxml.etree._Validator._append_log_message">
6891 <code class="sig-name descname">_append_log_message</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">domain</span></em>, <em class="sig-param"><span class="n">type</span></em>, <em class="sig-param"><span class="n">level</span></em>, <em class="sig-param"><span class="n">line</span></em>, <em class="sig-param"><span class="n">message</span></em>, <em class="sig-param"><span class="n">filename</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._Validator._append_log_message" title="Permalink to this definition">¶</a></dt>
6894 <dl class="py method">
6895 <dt id="lxml.etree._Validator._clear_error_log">
6896 <code class="sig-name descname">_clear_error_log</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._Validator._clear_error_log" title="Permalink to this definition">¶</a></dt>
6899 <dl class="py method">
6900 <dt id="lxml.etree._Validator.assertValid">
6901 <code class="sig-name descname">assertValid</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">etree</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._Validator.assertValid" title="Permalink to this definition">¶</a></dt>
6902 <dd><p>Raises <cite>DocumentInvalid</cite> if the document does not comply with the schema.</p>
6905 <dl class="py method">
6906 <dt id="lxml.etree._Validator.assert_">
6907 <code class="sig-name descname">assert_</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">etree</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._Validator.assert_" title="Permalink to this definition">¶</a></dt>
6908 <dd><p>Raises <cite>AssertionError</cite> if the document does not comply with the schema.</p>
6911 <dl class="py method">
6912 <dt id="lxml.etree._Validator.validate">
6913 <code class="sig-name descname">validate</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">etree</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._Validator.validate" title="Permalink to this definition">¶</a></dt>
6914 <dd><p>Validate the document using this schema.</p>
6915 <p>Returns true if document is valid, false if not.</p>
6918 <dl class="py attribute">
6919 <dt id="lxml.etree._Validator.error_log">
6920 <code class="sig-name descname">error_log</code><a class="headerlink" href="#lxml.etree._Validator.error_log" title="Permalink to this definition">¶</a></dt>
6921 <dd><p>The log of validation errors and warnings.</p>
6926 <dl class="py class">
6927 <dt id="lxml.etree._XPathEvaluatorBase">
6928 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">_XPathEvaluatorBase</code><a class="headerlink" href="#lxml.etree._XPathEvaluatorBase" title="Permalink to this definition">¶</a></dt>
6929 <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
6930 <dl class="py method">
6931 <dt id="lxml.etree._XPathEvaluatorBase.evaluate">
6932 <code class="sig-name descname">evaluate</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">_eval_arg</span></em>, <em class="sig-param"><span class="o">**</span><span class="n">_variables</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._XPathEvaluatorBase.evaluate" title="Permalink to this definition">¶</a></dt>
6933 <dd><p>Evaluate an XPath expression.</p>
6934 <p>Instead of calling this method, you can also call the evaluator object
6936 <p>Variables may be provided as keyword arguments. Note that namespaces
6937 are currently not supported for variables.</p>
6938 <dl class="field-list simple">
6939 <dt class="field-odd">Deprecated</dt>
6940 <dd class="field-odd"><p>call the object, not its method.</p>
6945 <dl class="py attribute">
6946 <dt id="lxml.etree._XPathEvaluatorBase.error_log">
6947 <code class="sig-name descname">error_log</code><a class="headerlink" href="#lxml.etree._XPathEvaluatorBase.error_log" title="Permalink to this definition">¶</a></dt>
6952 <dl class="py class">
6953 <dt id="lxml.etree._XSLTProcessingInstruction">
6954 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">_XSLTProcessingInstruction</code><a class="headerlink" href="#lxml.etree._XSLTProcessingInstruction" title="Permalink to this definition">¶</a></dt>
6955 <dd><p>Bases: <a class="reference internal" href="#lxml.etree.PIBase" title="lxml.etree.PIBase"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.PIBase</span></code></a></p>
6956 <dl class="py method">
6957 <dt id="lxml.etree._XSLTProcessingInstruction.parseXSL">
6958 <code class="sig-name descname">parseXSL</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">parser</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._XSLTProcessingInstruction.parseXSL" title="Permalink to this definition">¶</a></dt>
6959 <dd><p>Try to parse the stylesheet referenced by this PI and return
6960 an ElementTree for it. If the stylesheet is embedded in the
6961 same document (referenced via xml:id), find and return an
6962 ElementTree for the stylesheet Element.</p>
6963 <p>The optional <code class="docutils literal notranslate"><span class="pre">parser</span></code> keyword argument can be passed to specify the
6964 parser used to read from external stylesheet URLs.</p>
6967 <dl class="py method">
6968 <dt id="lxml.etree._XSLTProcessingInstruction.set">
6969 <code class="sig-name descname">set</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">key</span></em>, <em class="sig-param"><span class="n">value</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._XSLTProcessingInstruction.set" title="Permalink to this definition">¶</a></dt>
6970 <dd><p>Supports setting the ‘href’ pseudo-attribute in the text of
6971 the processing instruction.</p>
6976 <dl class="py class">
6977 <dt id="lxml.etree._XSLTResultTree">
6978 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">_XSLTResultTree</code><a class="headerlink" href="#lxml.etree._XSLTResultTree" title="Permalink to this definition">¶</a></dt>
6979 <dd><p>Bases: <a class="reference internal" href="#lxml.etree._ElementTree" title="lxml.etree._ElementTree"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree._ElementTree</span></code></a></p>
6980 <p>The result of an XSLT evaluation.</p>
6981 <p>Use <code class="docutils literal notranslate"><span class="pre">str()</span></code> or <code class="docutils literal notranslate"><span class="pre">bytes()</span></code> (or <code class="docutils literal notranslate"><span class="pre">unicode()</span></code> in Python 2.x) to serialise to a string,
6982 and the <code class="docutils literal notranslate"><span class="pre">.write_output()</span></code> method to write serialise to a file.</p>
6983 <dl class="py method">
6984 <dt id="lxml.etree._XSLTResultTree.write_output">
6985 <code class="sig-name descname">write_output</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">file</span></em>, <em class="sig-param"><span class="o">*</span></em>, <em class="sig-param"><span class="n">compression</span><span class="o">=</span><span class="default_value">0</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree._XSLTResultTree.write_output" title="Permalink to this definition">¶</a></dt>
6986 <dd><p>Serialise the XSLT output to a file or file-like object.</p>
6987 <p>As opposed to the generic <code class="docutils literal notranslate"><span class="pre">.write()</span></code> method, <code class="docutils literal notranslate"><span class="pre">.write_output()</span></code> serialises
6988 the result as defined by the <code class="docutils literal notranslate"><span class="pre"><xsl:output></span></code> tag.</p>
6991 <dl class="py attribute">
6992 <dt id="lxml.etree._XSLTResultTree.xslt_profile">
6993 <code class="sig-name descname">xslt_profile</code><a class="headerlink" href="#lxml.etree._XSLTResultTree.xslt_profile" title="Permalink to this definition">¶</a></dt>
6994 <dd><p>Return an ElementTree with profiling data for the stylesheet run.</p>
6999 <dl class="py class">
7000 <dt id="lxml.etree.htmlfile">
7001 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">htmlfile</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">output_file</span></em>, <em class="sig-param"><span class="n">encoding</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">compression</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">close</span><span class="o">=</span><span class="default_value">False</span></em>, <em class="sig-param"><span class="n">buffered</span><span class="o">=</span><span class="default_value">True</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.htmlfile" title="Permalink to this definition">¶</a></dt>
7002 <dd><p>Bases: <a class="reference internal" href="#lxml.etree.xmlfile" title="lxml.etree.xmlfile"><code class="xref py py-class docutils literal notranslate"><span class="pre">lxml.etree.xmlfile</span></code></a></p>
7003 <p>A simple mechanism for incremental HTML serialisation. Works the same as
7007 <dl class="py class">
7008 <dt id="lxml.etree.iterparse">
7009 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">iterparse</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">source</span></em>, <em class="sig-param"><span class="n">events</span><span class="o">=</span><span class="default_value">'end'</span></em>, <em class="sig-param"><span class="n">tag</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">attribute_defaults</span><span class="o">=</span><span class="default_value">False</span></em>, <em class="sig-param"><span class="n">dtd_validation</span><span class="o">=</span><span class="default_value">False</span></em>, <em class="sig-param"><span class="n">load_dtd</span><span class="o">=</span><span class="default_value">False</span></em>, <em class="sig-param"><span class="n">no_network</span><span class="o">=</span><span class="default_value">True</span></em>, <em class="sig-param"><span class="n">remove_blank_text</span><span class="o">=</span><span class="default_value">False</span></em>, <em class="sig-param"><span class="n">remove_comments</span><span class="o">=</span><span class="default_value">False</span></em>, <em class="sig-param"><span class="n">remove_pis</span><span class="o">=</span><span class="default_value">False</span></em>, <em class="sig-param"><span class="n">encoding</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">html</span><span class="o">=</span><span class="default_value">False</span></em>, <em class="sig-param"><span class="n">recover</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">huge_tree</span><span class="o">=</span><span class="default_value">False</span></em>, <em class="sig-param"><span class="n">schema</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.iterparse" title="Permalink to this definition">¶</a></dt>
7010 <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
7011 <p>Incremental parser.</p>
7012 <p>Parses XML into a tree and generates tuples (event, element) in a
7013 SAX-like fashion. <code class="docutils literal notranslate"><span class="pre">event</span></code> is any of ‘start’, ‘end’, ‘start-ns’,
7015 <p>For ‘start’ and ‘end’, <code class="docutils literal notranslate"><span class="pre">element</span></code> is the Element that the parser just
7016 found opening or closing. For ‘start-ns’, it is a tuple (prefix, URI) of
7017 a new namespace declaration. For ‘end-ns’, it is simply None. Note that
7018 all start and end events are guaranteed to be properly nested.</p>
7019 <p>The keyword argument <code class="docutils literal notranslate"><span class="pre">events</span></code> specifies a sequence of event type names
7020 that should be generated. By default, only ‘end’ events will be
7022 <p>The additional <code class="docutils literal notranslate"><span class="pre">tag</span></code> argument restricts the ‘start’ and ‘end’ events to
7023 those elements that match the given tag. The <code class="docutils literal notranslate"><span class="pre">tag</span></code> argument can also be
7024 a sequence of tags to allow matching more than one tag. By default,
7025 events are generated for all elements. Note that the ‘start-ns’ and
7026 ‘end-ns’ events are not impacted by this restriction.</p>
7027 <p>The other keyword arguments in the constructor are mainly based on the
7028 libxml2 parser configuration. A DTD will also be loaded if validation or
7029 attribute default values are requested.</p>
7031 <dt>Available boolean keyword arguments:</dt><dd><ul class="simple">
7032 <li><p>attribute_defaults: read default attributes from DTD</p></li>
7033 <li><p>dtd_validation: validate (if DTD is available)</p></li>
7034 <li><p>load_dtd: use DTD for parsing</p></li>
7035 <li><p>no_network: prevent network access for related files</p></li>
7036 <li><p>remove_blank_text: discard blank text nodes</p></li>
7037 <li><p>remove_comments: discard comments</p></li>
7038 <li><p>remove_pis: discard processing instructions</p></li>
7039 <li><p>strip_cdata: replace CDATA sections by normal text content (default: True)</p></li>
7040 <li><p>compact: safe memory for short text content (default: True)</p></li>
7041 <li><p>resolve_entities: replace entities by their text value (default: True)</p></li>
7042 <li><dl class="simple">
7043 <dt>huge_tree: disable security restrictions and support very deep trees</dt><dd><p>and very long text content (only affects libxml2 2.7+)</p>
7047 <li><p>html: parse input as HTML (default: XML)</p></li>
7048 <li><dl class="simple">
7049 <dt>recover: try hard to parse through broken input (default: True for HTML,</dt><dd><p>False otherwise)</p>
7055 <dt>Other keyword arguments:</dt><dd><ul class="simple">
7056 <li><p>encoding: override the document encoding</p></li>
7057 <li><p>schema: an XMLSchema to validate against</p></li>
7061 <dl class="py method">
7062 <dt id="lxml.etree.iterparse.makeelement">
7063 <code class="sig-name descname">makeelement</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">_tag</span></em>, <em class="sig-param"><span class="n">attrib</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">nsmap</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="o">**</span><span class="n">_extra</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.iterparse.makeelement" title="Permalink to this definition">¶</a></dt>
7064 <dd><p>Creates a new element associated with this parser.</p>
7067 <dl class="py method">
7068 <dt id="lxml.etree.iterparse.set_element_class_lookup">
7069 <code class="sig-name descname">set_element_class_lookup</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">lookup</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.iterparse.set_element_class_lookup" title="Permalink to this definition">¶</a></dt>
7070 <dd><p>Set a lookup scheme for element classes generated from this parser.</p>
7071 <p>Reset it by passing None or nothing.</p>
7074 <dl class="py attribute">
7075 <dt id="lxml.etree.iterparse.error_log">
7076 <code class="sig-name descname">error_log</code><a class="headerlink" href="#lxml.etree.iterparse.error_log" title="Permalink to this definition">¶</a></dt>
7077 <dd><p>The error log of the last (or current) parser run.</p>
7080 <dl class="py attribute">
7081 <dt id="lxml.etree.iterparse.resolvers">
7082 <code class="sig-name descname">resolvers</code><a class="headerlink" href="#lxml.etree.iterparse.resolvers" title="Permalink to this definition">¶</a></dt>
7083 <dd><p>The custom resolver registry of the last (or current) parser run.</p>
7086 <dl class="py attribute">
7087 <dt id="lxml.etree.iterparse.root">
7088 <code class="sig-name descname">root</code><a class="headerlink" href="#lxml.etree.iterparse.root" title="Permalink to this definition">¶</a></dt>
7091 <dl class="py attribute">
7092 <dt id="lxml.etree.iterparse.version">
7093 <code class="sig-name descname">version</code><a class="headerlink" href="#lxml.etree.iterparse.version" title="Permalink to this definition">¶</a></dt>
7094 <dd><p>The version of the underlying XML parser.</p>
7099 <dl class="py class">
7100 <dt id="lxml.etree.iterwalk">
7101 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">iterwalk</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">element_or_tree</span></em>, <em class="sig-param"><span class="n">events</span><span class="o">=</span><span class="default_value">'end'</span></em>, <em class="sig-param"><span class="n">tag</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.iterwalk" title="Permalink to this definition">¶</a></dt>
7102 <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
7103 <p>A tree walker that generates events from an existing tree as if it
7104 was parsing XML data with <code class="docutils literal notranslate"><span class="pre">iterparse()</span></code>.</p>
7105 <p>Just as for <code class="docutils literal notranslate"><span class="pre">iterparse()</span></code>, the <code class="docutils literal notranslate"><span class="pre">tag</span></code> argument can be a single tag or a
7106 sequence of tags.</p>
7107 <p>After receiving a ‘start’ or ‘start-ns’ event, the children and
7108 descendants of the current element can be excluded from iteration
7109 by calling the <code class="docutils literal notranslate"><span class="pre">skip_subtree()</span></code> method.</p>
7110 <dl class="py method">
7111 <dt id="lxml.etree.iterwalk.skip_subtree">
7112 <code class="sig-name descname">skip_subtree</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.iterwalk.skip_subtree" title="Permalink to this definition">¶</a></dt>
7113 <dd><p>Prevent descending into the current subtree.
7114 Instead, the next returned event will be the ‘end’ event of the current element
7115 (if included), ignoring any children or descendants.</p>
7116 <p>This has no effect right after an ‘end’ or ‘end-ns’ event.</p>
7121 <dl class="py class">
7122 <dt id="lxml.etree.xmlfile">
7123 <em class="property">class </em><code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">xmlfile</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">self</span></em>, <em class="sig-param"><span class="n">output_file</span></em>, <em class="sig-param"><span class="n">encoding</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">compression</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">close</span><span class="o">=</span><span class="default_value">False</span></em>, <em class="sig-param"><span class="n">buffered</span><span class="o">=</span><span class="default_value">True</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.xmlfile" title="Permalink to this definition">¶</a></dt>
7124 <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
7125 <p>A simple mechanism for incremental XML serialisation.</p>
7126 <p>Usage example:</p>
7127 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">with</span> <span class="n">xmlfile</span><span class="p">(</span><span class="s2">"somefile.xml"</span><span class="p">,</span> <span class="n">encoding</span><span class="o">=</span><span class="s1">'utf-8'</span><span class="p">)</span> <span class="k">as</span> <span class="n">xf</span><span class="p">:</span>
7128 <span class="n">xf</span><span class="o">.</span><span class="n">write_declaration</span><span class="p">(</span><span class="n">standalone</span><span class="o">=</span><span class="kc">True</span><span class="p">)</span>
7129 <span class="n">xf</span><span class="o">.</span><span class="n">write_doctype</span><span class="p">(</span><span class="s1">'<!DOCTYPE root SYSTEM "some.dtd">'</span><span class="p">)</span>
7131 <span class="c1"># generate an element (the root element)</span>
7132 <span class="k">with</span> <span class="n">xf</span><span class="o">.</span><span class="n">element</span><span class="p">(</span><span class="s1">'root'</span><span class="p">):</span>
7133 <span class="c1"># write a complete Element into the open root element</span>
7134 <span class="n">xf</span><span class="o">.</span><span class="n">write</span><span class="p">(</span><span class="n">etree</span><span class="o">.</span><span class="n">Element</span><span class="p">(</span><span class="s1">'test'</span><span class="p">))</span>
7136 <span class="c1"># generate and write more Elements, e.g. through iterparse</span>
7137 <span class="k">for</span> <span class="n">element</span> <span class="ow">in</span> <span class="n">generate_some_elements</span><span class="p">():</span>
7138 <span class="c1"># serialise generated elements into the XML file</span>
7139 <span class="n">xf</span><span class="o">.</span><span class="n">write</span><span class="p">(</span><span class="n">element</span><span class="p">)</span>
7141 <span class="c1"># or write multiple Elements or strings at once</span>
7142 <span class="n">xf</span><span class="o">.</span><span class="n">write</span><span class="p">(</span><span class="n">etree</span><span class="o">.</span><span class="n">Element</span><span class="p">(</span><span class="s1">'start'</span><span class="p">),</span> <span class="s2">"text"</span><span class="p">,</span> <span class="n">etree</span><span class="o">.</span><span class="n">Element</span><span class="p">(</span><span class="s1">'end'</span><span class="p">))</span>
7145 <p>If ‘output_file’ is a file(-like) object, passing <code class="docutils literal notranslate"><span class="pre">close=True</span></code> will
7146 close it when exiting the context manager. By default, it is left
7147 to the owner to do that. When a file path is used, lxml will take care
7148 of opening and closing the file itself. Also, when a compression level
7149 is set, lxml will deliberately close the file to make sure all data gets
7150 compressed and written.</p>
7151 <p>Setting <code class="docutils literal notranslate"><span class="pre">buffered=False</span></code> will flush the output after each operation,
7152 such as opening or closing an <code class="docutils literal notranslate"><span class="pre">xf.element()</span></code> block or calling
7153 <code class="docutils literal notranslate"><span class="pre">xf.write()</span></code>. Alternatively, calling <code class="docutils literal notranslate"><span class="pre">xf.flush()</span></code> can be used to
7154 explicitly flush any pending output when buffering is enabled.</p>
7157 <dl class="py function">
7158 <dt id="lxml.etree.Comment">
7159 <code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">Comment</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">text</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.Comment" title="Permalink to this definition">¶</a></dt>
7160 <dd><p>Comment element factory. This factory function creates a special element that will
7161 be serialized as an XML comment.</p>
7164 <dl class="py function">
7165 <dt id="lxml.etree.Element">
7166 <code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">Element</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">_tag</span></em>, <em class="sig-param"><span class="n">attrib</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">nsmap</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="o">**</span><span class="n">_extra</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.Element" title="Permalink to this definition">¶</a></dt>
7167 <dd><p>Element factory. This function returns an object implementing the
7168 Element interface.</p>
7169 <p>Also look at the <cite>_Element.makeelement()</cite> and
7170 <cite>_BaseParser.makeelement()</cite> methods, which provide a faster way to
7171 create an Element within a specific document or parser context.</p>
7174 <dl class="py function">
7175 <dt id="lxml.etree.ElementTree">
7176 <code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">ElementTree</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">element</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">file</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">parser</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.ElementTree" title="Permalink to this definition">¶</a></dt>
7177 <dd><p>ElementTree wrapper class.</p>
7180 <dl class="py function">
7181 <dt id="lxml.etree.Entity">
7182 <code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">Entity</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">name</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.Entity" title="Permalink to this definition">¶</a></dt>
7183 <dd><p>Entity factory. This factory function creates a special element
7184 that will be serialized as an XML entity reference or character
7185 reference. Note, however, that entities will not be automatically
7186 declared in the document. A document that uses entity references
7187 requires a DTD to define the entities.</p>
7190 <dl class="py function">
7191 <dt id="lxml.etree.Extension">
7192 <code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">Extension</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">module</span></em>, <em class="sig-param"><span class="n">function_mapping</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">ns</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.Extension" title="Permalink to this definition">¶</a></dt>
7193 <dd><p>Build a dictionary of extension functions from the functions
7194 defined in a module or the methods of an object.</p>
7195 <p>As second argument, you can pass an additional mapping of
7196 attribute names to XPath function names, or a list of function
7197 names that should be taken.</p>
7198 <p>The <code class="docutils literal notranslate"><span class="pre">ns</span></code> keyword argument accepts a namespace URI for the XPath
7202 <dl class="py function">
7203 <dt id="lxml.etree.FunctionNamespace">
7204 <code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">FunctionNamespace</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">ns_uri</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.FunctionNamespace" title="Permalink to this definition">¶</a></dt>
7205 <dd><p>Retrieve the function namespace object associated with the given
7207 <p>Creates a new one if it does not yet exist. A function namespace
7208 can only be used to register extension functions.</p>
7210 <div class="doctest highlight-default notranslate"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">ns_functions</span> <span class="o">=</span> <span class="n">FunctionNamespace</span><span class="p">(</span><span class="s2">"http://schema.org/Movie"</span><span class="p">)</span>
7213 <div class="doctest highlight-default notranslate"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="nd">@ns_functions</span> <span class="c1"># uses function name</span>
7214 <span class="gp">... </span><span class="k">def</span> <span class="nf">add2</span><span class="p">(</span><span class="n">x</span><span class="p">):</span>
7215 <span class="gp">... </span> <span class="k">return</span> <span class="n">x</span> <span class="o">+</span> <span class="mi">2</span>
7218 <div class="doctest highlight-default notranslate"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="nd">@ns_functions</span><span class="p">(</span><span class="s2">"add3"</span><span class="p">)</span> <span class="c1"># uses explicit name</span>
7219 <span class="gp">... </span><span class="k">def</span> <span class="nf">add_three</span><span class="p">(</span><span class="n">x</span><span class="p">):</span>
7220 <span class="gp">... </span> <span class="k">return</span> <span class="n">x</span> <span class="o">+</span> <span class="mi">3</span>
7225 <dl class="py function">
7226 <dt id="lxml.etree.HTML">
7227 <code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">HTML</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">text</span></em>, <em class="sig-param"><span class="n">parser</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">base_url</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.HTML" title="Permalink to this definition">¶</a></dt>
7228 <dd><p>Parses an HTML document from a string constant. Returns the root
7229 node (or the result returned by a parser target). This function
7230 can be used to embed “HTML literals” in Python code.</p>
7231 <p>To override the parser with a different <code class="docutils literal notranslate"><span class="pre">HTMLParser</span></code> you can pass it to
7232 the <code class="docutils literal notranslate"><span class="pre">parser</span></code> keyword argument.</p>
7233 <p>The <code class="docutils literal notranslate"><span class="pre">base_url</span></code> keyword argument allows to set the original base URL of
7234 the document to support relative Paths when looking up external entities
7235 (DTD, XInclude, …).</p>
7238 <dl class="py function">
7239 <dt id="lxml.etree.PI">
7240 <code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">PI</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">target</span></em>, <em class="sig-param"><span class="n">text</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.PI" title="Permalink to this definition">¶</a></dt>
7241 <dd><p>ProcessingInstruction(target, text=None)</p>
7242 <p>ProcessingInstruction element factory. This factory function creates a
7243 special element that will be serialized as an XML processing instruction.</p>
7246 <dl class="py function">
7247 <dt id="lxml.etree.ProcessingInstruction">
7248 <code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">ProcessingInstruction</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">target</span></em>, <em class="sig-param"><span class="n">text</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.ProcessingInstruction" title="Permalink to this definition">¶</a></dt>
7249 <dd><p>ProcessingInstruction element factory. This factory function creates a
7250 special element that will be serialized as an XML processing instruction.</p>
7253 <dl class="py function">
7254 <dt id="lxml.etree.SubElement">
7255 <code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">SubElement</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">_parent</span></em>, <em class="sig-param"><span class="n">_tag</span></em>, <em class="sig-param"><span class="n">attrib</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">nsmap</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="o">**</span><span class="n">_extra</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.SubElement" title="Permalink to this definition">¶</a></dt>
7256 <dd><p>Subelement factory. This function creates an element instance, and
7257 appends it to an existing element.</p>
7260 <dl class="py function">
7261 <dt id="lxml.etree.XML">
7262 <code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">XML</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">text</span></em>, <em class="sig-param"><span class="n">parser</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">base_url</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.XML" title="Permalink to this definition">¶</a></dt>
7263 <dd><p>Parses an XML document or fragment from a string constant.
7264 Returns the root node (or the result returned by a parser target).
7265 This function can be used to embed “XML literals” in Python code,
7267 <div class="doctest highlight-default notranslate"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">root</span> <span class="o">=</span> <span class="n">XML</span><span class="p">(</span><span class="s2">"<root><test/></root>"</span><span class="p">)</span>
7268 <span class="gp">>>> </span><span class="nb">print</span><span class="p">(</span><span class="n">root</span><span class="o">.</span><span class="n">tag</span><span class="p">)</span>
7269 <span class="go">root</span>
7272 <p>To override the parser with a different <code class="docutils literal notranslate"><span class="pre">XMLParser</span></code> you can pass it to
7273 the <code class="docutils literal notranslate"><span class="pre">parser</span></code> keyword argument.</p>
7274 <p>The <code class="docutils literal notranslate"><span class="pre">base_url</span></code> keyword argument allows to set the original base URL of
7275 the document to support relative Paths when looking up external entities
7276 (DTD, XInclude, …).</p>
7279 <dl class="py function">
7280 <dt id="lxml.etree.XMLDTDID">
7281 <code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">XMLDTDID</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">text</span></em>, <em class="sig-param"><span class="n">parser</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">base_url</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.XMLDTDID" title="Permalink to this definition">¶</a></dt>
7282 <dd><p>Parse the text and return a tuple (root node, ID dictionary). The root
7283 node is the same as returned by the XML() function. The dictionary
7284 contains string-element pairs. The dictionary keys are the values of ID
7285 attributes as defined by the DTD. The elements referenced by the ID are
7286 stored as dictionary values.</p>
7287 <p>Note that you must not modify the XML tree if you use the ID dictionary.
7288 The results are undefined.</p>
7291 <dl class="py function">
7292 <dt id="lxml.etree.XMLID">
7293 <code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">XMLID</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">text</span></em>, <em class="sig-param"><span class="n">parser</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">base_url</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.XMLID" title="Permalink to this definition">¶</a></dt>
7294 <dd><p>Parse the text and return a tuple (root node, ID dictionary). The root
7295 node is the same as returned by the XML() function. The dictionary
7296 contains string-element pairs. The dictionary keys are the values of ‘id’
7297 attributes. The elements referenced by the ID are stored as dictionary
7301 <dl class="py function">
7302 <dt id="lxml.etree.XPathEvaluator">
7303 <code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">XPathEvaluator</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">etree_or_element</span></em>, <em class="sig-param"><span class="n">namespaces</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">extensions</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">regexp</span><span class="o">=</span><span class="default_value">True</span></em>, <em class="sig-param"><span class="n">smart_strings</span><span class="o">=</span><span class="default_value">True</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.XPathEvaluator" title="Permalink to this definition">¶</a></dt>
7304 <dd><p>Creates an XPath evaluator for an ElementTree or an Element.</p>
7305 <p>The resulting object can be called with an XPath expression as argument
7306 and XPath variables provided as keyword arguments.</p>
7307 <p>Additional namespace declarations can be passed with the
7308 ‘namespace’ keyword argument. EXSLT regular expression support
7309 can be disabled with the ‘regexp’ boolean keyword (defaults to
7310 True). Smart strings will be returned for string results unless
7311 you pass <code class="docutils literal notranslate"><span class="pre">smart_strings=False</span></code>.</p>
7314 <dl class="py function">
7315 <dt id="lxml.etree.adopt_external_document">
7316 <code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">adopt_external_document</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">capsule</span></em>, <em class="sig-param"><span class="n">parser</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.adopt_external_document" title="Permalink to this definition">¶</a></dt>
7317 <dd><p>Unpack a libxml2 document pointer from a PyCapsule and wrap it in an
7318 lxml ElementTree object.</p>
7319 <p>This allows external libraries to build XML/HTML trees using libxml2
7320 and then pass them efficiently into lxml for further processing.</p>
7321 <p>If a <code class="docutils literal notranslate"><span class="pre">parser</span></code> is provided, it will be used for configuring the
7322 lxml document. No parsing will be done.</p>
7323 <p>The capsule must have the name <code class="docutils literal notranslate"><span class="pre">"libxml2:xmlDoc"</span></code> and its pointer
7324 value must reference a correct libxml2 document of type <code class="docutils literal notranslate"><span class="pre">xmlDoc*</span></code>.
7325 The creator of the capsule must take care to correctly clean up the
7326 document using an appropriate capsule destructor. By default, the
7327 libxml2 document will be copied to let lxml safely own the memory
7328 of the internal tree that it uses.</p>
7329 <p>If the capsule context is non-NULL, it must point to a C string that
7330 can be compared using <code class="docutils literal notranslate"><span class="pre">strcmp()</span></code>. If the context string equals
7331 <code class="docutils literal notranslate"><span class="pre">"destructor:xmlFreeDoc"</span></code>, the libxml2 document will not be copied
7332 but the capsule invalidated instead by clearing its destructor and
7333 name. That way, lxml takes ownership of the libxml2 document in memory
7334 without creating a copy first, and the capsule destructor will not be
7335 called. The document will then eventually be cleaned up by lxml using
7336 the libxml2 API function <code class="docutils literal notranslate"><span class="pre">xmlFreeDoc()</span></code> once it is no longer used.</p>
7337 <p>If no copy is made, later modifications of the tree outside of lxml
7338 should not be attempted after transferring the ownership.</p>
7341 <dl class="py function">
7342 <dt id="lxml.etree.canonicalize">
7343 <code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">canonicalize</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">xml_data</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="o">*</span></em>, <em class="sig-param"><span class="n">out</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">from_file</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="o">**</span><span class="n">options</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.canonicalize" title="Permalink to this definition">¶</a></dt>
7344 <dd><p>Convert XML to its C14N 2.0 serialised form.</p>
7345 <p>If <em>out</em> is provided, it must be a file or file-like object that receives
7346 the serialised canonical XML output (text, not bytes) through its <code class="docutils literal notranslate"><span class="pre">.write()</span></code>
7347 method. To write to a file, open it in text mode with encoding “utf-8”.
7348 If <em>out</em> is not provided, this function returns the output as text string.</p>
7349 <p>Either <em>xml_data</em> (an XML string, tree or Element) or <em>file</em>
7350 (a file path or file-like object) must be provided as input.</p>
7351 <p>The configuration options are the same as for the <code class="docutils literal notranslate"><span class="pre">C14NWriterTarget</span></code>.</p>
7354 <dl class="py function">
7355 <dt id="lxml.etree.cleanup_namespaces">
7356 <code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">cleanup_namespaces</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">tree_or_element</span></em>, <em class="sig-param"><span class="n">top_nsmap</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">keep_ns_prefixes</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.cleanup_namespaces" title="Permalink to this definition">¶</a></dt>
7357 <dd><p>Remove all namespace declarations from a subtree that are not used
7358 by any of the elements or attributes in that tree.</p>
7359 <p>If a ‘top_nsmap’ is provided, it must be a mapping from prefixes
7360 to namespace URIs. These namespaces will be declared on the top
7361 element of the subtree before running the cleanup, which allows
7362 moving namespace declarations to the top of the tree.</p>
7363 <p>If a ‘keep_ns_prefixes’ is provided, it must be a list of prefixes.
7364 These prefixes will not be removed as part of the cleanup.</p>
7367 <dl class="py function">
7368 <dt id="lxml.etree.clear_error_log">
7369 <code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">clear_error_log</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.clear_error_log" title="Permalink to this definition">¶</a></dt>
7370 <dd><p>Clear the global error log. Note that this log is already bound to a
7372 <p>Note: since lxml 2.2, the global error log is local to a thread
7373 and this function will only clear the global error log of the
7377 <dl class="py function">
7378 <dt id="lxml.etree.dump">
7379 <code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">dump</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">elem</span></em>, <em class="sig-param"><span class="n">pretty_print</span><span class="o">=</span><span class="default_value">True</span></em>, <em class="sig-param"><span class="n">with_tail</span><span class="o">=</span><span class="default_value">True</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.dump" title="Permalink to this definition">¶</a></dt>
7380 <dd><p>Writes an element tree or element structure to sys.stdout. This function
7381 should be used for debugging only.</p>
7384 <dl class="py function">
7385 <dt id="lxml.etree.fromstring">
7386 <code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">fromstring</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">text</span></em>, <em class="sig-param"><span class="n">parser</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">base_url</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.fromstring" title="Permalink to this definition">¶</a></dt>
7387 <dd><p>Parses an XML document or fragment from a string. Returns the
7388 root node (or the result returned by a parser target).</p>
7389 <p>To override the default parser with a different parser you can pass it to
7390 the <code class="docutils literal notranslate"><span class="pre">parser</span></code> keyword argument.</p>
7391 <p>The <code class="docutils literal notranslate"><span class="pre">base_url</span></code> keyword argument allows to set the original base URL of
7392 the document to support relative Paths when looking up external entities
7393 (DTD, XInclude, …).</p>
7396 <dl class="py function">
7397 <dt id="lxml.etree.fromstringlist">
7398 <code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">fromstringlist</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">strings</span></em>, <em class="sig-param"><span class="n">parser</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.fromstringlist" title="Permalink to this definition">¶</a></dt>
7399 <dd><p>Parses an XML document from a sequence of strings. Returns the
7400 root node (or the result returned by a parser target).</p>
7401 <p>To override the default parser with a different parser you can pass it to
7402 the <code class="docutils literal notranslate"><span class="pre">parser</span></code> keyword argument.</p>
7405 <dl class="py function">
7406 <dt id="lxml.etree.get_default_parser">
7407 <code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">get_default_parser</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.get_default_parser" title="Permalink to this definition">¶</a></dt>
7410 <dl class="py function">
7411 <dt id="lxml.etree.indent">
7412 <code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">indent</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">tree</span></em>, <em class="sig-param"><span class="n">space</span><span class="o">=</span><span class="default_value">' '</span></em>, <em class="sig-param"><span class="n">level</span><span class="o">=</span><span class="default_value">0</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.indent" title="Permalink to this definition">¶</a></dt>
7413 <dd><p>Indent an XML document by inserting newlines and indentation space
7415 <p><em>tree</em> is the ElementTree or Element to modify. The (root) element
7416 itself will not be changed, but the tail text of all elements in its
7417 subtree will be adapted.</p>
7418 <p><em>space</em> is the whitespace to insert for each indentation level, two
7419 space characters by default.</p>
7420 <p><em>level</em> is the initial indentation level. Setting this to a higher
7421 value than 0 can be used for indenting subtrees that are more deeply
7422 nested inside of a document.</p>
7425 <dl class="py function">
7426 <dt id="lxml.etree.iselement">
7427 <code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">iselement</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">element</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.iselement" title="Permalink to this definition">¶</a></dt>
7428 <dd><p>Checks if an object appears to be a valid element object.</p>
7431 <dl class="py function">
7432 <dt id="lxml.etree.parse">
7433 <code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">parse</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">source</span></em>, <em class="sig-param"><span class="n">parser</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">base_url</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.parse" title="Permalink to this definition">¶</a></dt>
7434 <dd><p>Return an ElementTree object loaded with source elements. If no parser
7435 is provided as second argument, the default parser is used.</p>
7436 <p>The <code class="docutils literal notranslate"><span class="pre">source</span></code> can be any of the following:</p>
7438 <li><p>a file name/path</p></li>
7439 <li><p>a file object</p></li>
7440 <li><p>a file-like object</p></li>
7441 <li><p>a URL using the HTTP or FTP protocol</p></li>
7443 <p>To parse from a string, use the <code class="docutils literal notranslate"><span class="pre">fromstring()</span></code> function instead.</p>
7444 <p>Note that it is generally faster to parse from a file path or URL
7445 than from an open file object or file-like object. Transparent
7446 decompression from gzip compressed sources is supported (unless
7447 explicitly disabled in libxml2).</p>
7448 <p>The <code class="docutils literal notranslate"><span class="pre">base_url</span></code> keyword allows setting a URL for the document
7449 when parsing from a file-like object. This is needed when looking
7450 up external entities (DTD, XInclude, …) with relative paths.</p>
7453 <dl class="py function">
7454 <dt id="lxml.etree.parseid">
7455 <code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">parseid</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">source</span></em>, <em class="sig-param"><span class="n">parser</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.parseid" title="Permalink to this definition">¶</a></dt>
7456 <dd><p>Parses the source into a tuple containing an ElementTree object and an
7457 ID dictionary. If no parser is provided as second argument, the default
7459 <p>Note that you must not modify the XML tree if you use the ID dictionary.
7460 The results are undefined.</p>
7463 <dl class="py function">
7464 <dt id="lxml.etree.register_namespace">
7465 <code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">register_namespace</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">prefix</span></em>, <em class="sig-param"><span class="n">uri</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.register_namespace" title="Permalink to this definition">¶</a></dt>
7466 <dd><p>Registers a namespace prefix that newly created Elements in that
7467 namespace will use. The registry is global, and any existing
7468 mapping for either the given prefix or the namespace URI will be
7472 <dl class="py function">
7473 <dt id="lxml.etree.set_default_parser">
7474 <code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">set_default_parser</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">parser</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.set_default_parser" title="Permalink to this definition">¶</a></dt>
7475 <dd><p>Set a default parser for the current thread. This parser is used
7476 globally whenever no parser is supplied to the various parse functions of
7477 the lxml API. If this function is called without a parser (or if it is
7478 None), the default parser is reset to the original configuration.</p>
7479 <p>Note that the pre-installed default parser is not thread-safe. Avoid the
7480 default parser in multi-threaded environments. You can create a separate
7481 parser for each thread explicitly or use a parser pool.</p>
7484 <dl class="py function">
7485 <dt id="lxml.etree.set_element_class_lookup">
7486 <code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">set_element_class_lookup</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">lookup</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.set_element_class_lookup" title="Permalink to this definition">¶</a></dt>
7487 <dd><p>Set the global default element class lookup method.</p>
7490 <dl class="py function">
7491 <dt id="lxml.etree.strip_attributes">
7492 <code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">strip_attributes</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">tree_or_element</span></em>, <em class="sig-param"><span class="o">*</span><span class="n">attribute_names</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.strip_attributes" title="Permalink to this definition">¶</a></dt>
7493 <dd><p>Delete all attributes with the provided attribute names from an
7494 Element (or ElementTree) and its descendants.</p>
7495 <p>Attribute names can contain wildcards as in <cite>_Element.iter</cite>.</p>
7496 <p>Example usage:</p>
7497 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">strip_attributes</span><span class="p">(</span><span class="n">root_element</span><span class="p">,</span>
7498 <span class="s1">'simpleattr'</span><span class="p">,</span>
7499 <span class="s1">'{http://some/ns}attrname'</span><span class="p">,</span>
7500 <span class="s1">'{http://other/ns}*'</span><span class="p">)</span>
7505 <dl class="py function">
7506 <dt id="lxml.etree.strip_elements">
7507 <code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">strip_elements</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">tree_or_element</span></em>, <em class="sig-param"><span class="o">*</span><span class="n">tag_names</span></em>, <em class="sig-param"><span class="n">with_tail</span><span class="o">=</span><span class="default_value">True</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.strip_elements" title="Permalink to this definition">¶</a></dt>
7508 <dd><p>Delete all elements with the provided tag names from a tree or
7509 subtree. This will remove the elements and their entire subtree,
7510 including all their attributes, text content and descendants. It
7511 will also remove the tail text of the element unless you
7512 explicitly set the <code class="docutils literal notranslate"><span class="pre">with_tail</span></code> keyword argument option to False.</p>
7513 <p>Tag names can contain wildcards as in <cite>_Element.iter</cite>.</p>
7514 <p>Note that this will not delete the element (or ElementTree root
7515 element) that you passed even if it matches. It will only treat
7516 its descendants. If you want to include the root element, check
7517 its tag name directly before even calling this function.</p>
7518 <p>Example usage:</p>
7519 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">strip_elements</span><span class="p">(</span><span class="n">some_element</span><span class="p">,</span>
7520 <span class="s1">'simpletagname'</span><span class="p">,</span> <span class="c1"># non-namespaced tag</span>
7521 <span class="s1">'{http://some/ns}tagname'</span><span class="p">,</span> <span class="c1"># namespaced tag</span>
7522 <span class="s1">'{http://some/other/ns}*'</span> <span class="c1"># any tag from a namespace</span>
7523 <span class="n">lxml</span><span class="o">.</span><span class="n">etree</span><span class="o">.</span><span class="n">Comment</span> <span class="c1"># comments</span>
7524 <span class="p">)</span>
7529 <dl class="py function">
7530 <dt id="lxml.etree.strip_tags">
7531 <code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">strip_tags</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">tree_or_element</span></em>, <em class="sig-param"><span class="o">*</span><span class="n">tag_names</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.strip_tags" title="Permalink to this definition">¶</a></dt>
7532 <dd><p>Delete all elements with the provided tag names from a tree or
7533 subtree. This will remove the elements and their attributes, but
7534 <em>not</em> their text/tail content or descendants. Instead, it will
7535 merge the text content and children of the element into its
7537 <p>Tag names can contain wildcards as in <cite>_Element.iter</cite>.</p>
7538 <p>Note that this will not delete the element (or ElementTree root
7539 element) that you passed even if it matches. It will only treat
7540 its descendants.</p>
7541 <p>Example usage:</p>
7542 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">strip_tags</span><span class="p">(</span><span class="n">some_element</span><span class="p">,</span>
7543 <span class="s1">'simpletagname'</span><span class="p">,</span> <span class="c1"># non-namespaced tag</span>
7544 <span class="s1">'{http://some/ns}tagname'</span><span class="p">,</span> <span class="c1"># namespaced tag</span>
7545 <span class="s1">'{http://some/other/ns}*'</span> <span class="c1"># any tag from a namespace</span>
7546 <span class="n">Comment</span> <span class="c1"># comments (including their text!)</span>
7547 <span class="p">)</span>
7552 <dl class="py function">
7553 <dt id="lxml.etree.tostring">
7554 <code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">tostring</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">element_or_tree</span></em>, <em class="sig-param"><span class="o">*</span></em>, <em class="sig-param"><span class="n">encoding</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">method</span><span class="o">=</span><span class="default_value">'xml'</span></em>, <em class="sig-param"><span class="n">xml_declaration</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">pretty_print</span><span class="o">=</span><span class="default_value">False</span></em>, <em class="sig-param"><span class="n">with_tail</span><span class="o">=</span><span class="default_value">True</span></em>, <em class="sig-param"><span class="n">standalone</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">doctype</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">exclusive</span><span class="o">=</span><span class="default_value">False</span></em>, <em class="sig-param"><span class="n">inclusive_ns_prefixes</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">with_comments</span><span class="o">=</span><span class="default_value">True</span></em>, <em class="sig-param"><span class="n">strip_text</span><span class="o">=</span><span class="default_value">False</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.tostring" title="Permalink to this definition">¶</a></dt>
7555 <dd><dl class="simple">
7556 <dt>tostring(element_or_tree, encoding=None, method=”xml”,</dt><dd><p>xml_declaration=None, pretty_print=False, with_tail=True,
7557 standalone=None, doctype=None,
7558 exclusive=False, inclusive_ns_prefixes=None,
7559 with_comments=True, strip_text=False,
7563 <p>Serialize an element to an encoded string representation of its XML
7565 <p>Defaults to ASCII encoding without XML declaration. This
7566 behaviour can be configured with the keyword arguments ‘encoding’
7567 (string) and ‘xml_declaration’ (bool). Note that changing the
7568 encoding to a non UTF-8 compatible encoding will enable a
7569 declaration by default.</p>
7570 <p>You can also serialise to a Unicode string without declaration by
7571 passing the name <code class="docutils literal notranslate"><span class="pre">'unicode'</span></code> as encoding (or the <code class="docutils literal notranslate"><span class="pre">str</span></code> function
7572 in Py3 or <code class="docutils literal notranslate"><span class="pre">unicode</span></code> in Py2). This changes the return value from
7573 a byte string to an unencoded unicode string.</p>
7574 <p>The keyword argument ‘pretty_print’ (bool) enables formatted XML.</p>
7575 <p>The keyword argument ‘method’ selects the output method: ‘xml’,
7576 ‘html’, plain ‘text’ (text content without tags), ‘c14n’ or ‘c14n2’.
7577 Default is ‘xml’.</p>
7578 <p>With <code class="docutils literal notranslate"><span class="pre">method="c14n"</span></code> (C14N version 1), the options <code class="docutils literal notranslate"><span class="pre">exclusive</span></code>,
7579 <code class="docutils literal notranslate"><span class="pre">with_comments</span></code> and <code class="docutils literal notranslate"><span class="pre">inclusive_ns_prefixes</span></code> request exclusive
7580 C14N, include comments, and list the inclusive prefixes respectively.</p>
7581 <p>With <code class="docutils literal notranslate"><span class="pre">method="c14n2"</span></code> (C14N version 2), the <code class="docutils literal notranslate"><span class="pre">with_comments</span></code> and
7582 <code class="docutils literal notranslate"><span class="pre">strip_text</span></code> options control the output of comments and text space
7583 according to C14N 2.0.</p>
7584 <p>Passing a boolean value to the <code class="docutils literal notranslate"><span class="pre">standalone</span></code> option will output
7585 an XML declaration with the corresponding <code class="docutils literal notranslate"><span class="pre">standalone</span></code> flag.</p>
7586 <p>The <code class="docutils literal notranslate"><span class="pre">doctype</span></code> option allows passing in a plain string that will
7587 be serialised before the XML tree. Note that passing in non
7588 well-formed content here will make the XML output non well-formed.
7589 Also, an existing doctype in the document tree will not be removed
7590 when serialising an ElementTree instance.</p>
7591 <p>You can prevent the tail text of the element from being serialised
7592 by passing the boolean <code class="docutils literal notranslate"><span class="pre">with_tail</span></code> option. This has no impact
7593 on the tail text of children, which will always be serialised.</p>
7596 <dl class="py function">
7597 <dt id="lxml.etree.tostringlist">
7598 <code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">tostringlist</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">element_or_tree</span></em>, <em class="sig-param"><span class="o">*</span><span class="n">args</span></em>, <em class="sig-param"><span class="o">**</span><span class="n">kwargs</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.tostringlist" title="Permalink to this definition">¶</a></dt>
7599 <dd><p>Serialize an element to an encoded string representation of its XML
7600 tree, stored in a list of partial strings.</p>
7601 <p>This is purely for ElementTree 1.3 compatibility. The result is a
7602 single string wrapped in a list.</p>
7605 <dl class="py function">
7606 <dt id="lxml.etree.tounicode">
7607 <code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">tounicode</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">element_or_tree</span></em>, <em class="sig-param"><span class="o">*</span></em>, <em class="sig-param"><span class="n">method</span><span class="o">=</span><span class="default_value">'xml'</span></em>, <em class="sig-param"><span class="n">pretty_print</span><span class="o">=</span><span class="default_value">False</span></em>, <em class="sig-param"><span class="n">with_tail</span><span class="o">=</span><span class="default_value">True</span></em>, <em class="sig-param"><span class="n">doctype</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.tounicode" title="Permalink to this definition">¶</a></dt>
7608 <dd><dl class="simple">
7609 <dt>tounicode(element_or_tree, method=”xml”, pretty_print=False,</dt><dd><p>with_tail=True, doctype=None)</p>
7612 <p>Serialize an element to the Python unicode representation of its XML
7614 <dl class="field-list simple">
7615 <dt class="field-odd">Deprecated</dt>
7616 <dd class="field-odd"><p>use <code class="docutils literal notranslate"><span class="pre">tostring(el,</span> <span class="pre">encoding='unicode')</span></code> instead.</p>
7619 <p>Note that the result does not carry an XML encoding declaration and is
7620 therefore not necessarily suited for serialization to byte streams without
7621 further treatment.</p>
7622 <p>The boolean keyword argument ‘pretty_print’ enables formatted XML.</p>
7623 <p>The keyword argument ‘method’ selects the output method: ‘xml’,
7624 ‘html’ or plain ‘text’.</p>
7625 <p>You can prevent the tail text of the element from being serialised
7626 by passing the boolean <code class="docutils literal notranslate"><span class="pre">with_tail</span></code> option. This has no impact
7627 on the tail text of children, which will always be serialised.</p>
7630 <dl class="py function">
7631 <dt id="lxml.etree.use_global_python_log">
7632 <code class="sig-prename descclassname">lxml.etree.</code><code class="sig-name descname">use_global_python_log</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">log</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lxml.etree.use_global_python_log" title="Permalink to this definition">¶</a></dt>
7633 <dd><p>Replace the global error log by an etree.PyErrorLog that uses the
7634 standard Python logging package.</p>
7635 <p>Note that this disables access to the global error log from exceptions.
7636 Parsers, XSLT etc. will continue to provide their normal local error log.</p>
7637 <p>Note: prior to lxml 2.2, this changed the error log globally.
7638 Since lxml 2.2, the global error log is local to a thread and this
7639 function will only set the global error log of the current thread.</p>
7650 <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
7652 <a href="lxml.objectify.html" class="btn btn-neutral float-right" title="lxml.objectify module" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a>
7655 <a href="lxml.doctestcompare.html" class="btn btn-neutral float-left" title="lxml.doctestcompare module" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
7662 <div role="contentinfo">
7665 © Copyright 2020, lxml dev team
7672 Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a
7674 <a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a>
7676 provided by <a href="https://readthedocs.org">Read the Docs</a>.
7688 <script type="text/javascript">
7689 jQuery(function () {
7690 SphinxRtdTheme.Navigation.enable(true);