1 <?xml version="1.0" encoding="ascii"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3 "DTD/xhtml1-transitional.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6 <title>lxml.etree.XPathResultError</title>
7 <link rel="stylesheet" href="epydoc.css" type="text/css" />
8 <script type="text/javascript" src="epydoc.js"></script>
11 <body bgcolor="white" text="black" link="blue" vlink="#204080"
13 <!-- ==================== NAVIGATION BAR ==================== -->
14 <table class="navbar" border="0" width="100%" cellpadding="0"
15 bgcolor="#a0c0ff" cellspacing="0">
18 <th> <a
19 href="lxml-module.html">Home</a> </th>
22 <th> <a
23 href="module-tree.html">Trees</a> </th>
26 <th> <a
27 href="identifier-index.html">Indices</a> </th>
30 <th> <a
31 href="help.html">Help</a> </th>
33 <!-- Project homepage -->
34 <th class="navbar" align="right" width="100%">
35 <table border="0" cellpadding="0" cellspacing="0">
36 <tr><th class="navbar" align="center"
37 ><a class="navbar" target="_top" href="/">lxml API</a></th>
41 <table width="100%" cellpadding="0" cellspacing="0">
44 <span class="breadcrumbs">
45 <a href="lxml-module.html">Package lxml</a> ::
46 <a href="lxml.etree-module.html">Module etree</a> ::
47 Class XPathResultError
51 <table cellpadding="0" cellspacing="0">
52 <!-- hide/show private -->
53 <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
54 onclick="toggle_private();">hide private</a>]</span></td></tr>
55 <tr><td align="right"><span class="options"
56 >[<a href="frames.html" target="_top">frames</a
57 >] | <a href="lxml.etree.XPathResultError-class.html"
58 target="_top">no frames</a>]</span></td></tr>
63 <!-- ==================== CLASS DESCRIPTION ==================== -->
64 <h1 class="epydoc">Class XPathResultError</h1><p class="nomargin-top"></p>
65 <pre class="base-tree">
68 exceptions.BaseException --+
70 exceptions.Exception --+
72 <a href="lxml.etree.Error-class.html">Error</a> --+
74 <a href="lxml.etree.LxmlError-class.html">LxmlError</a> --+
76 <a href="lxml.etree.XPathError-class.html">XPathError</a> --+
78 <a href="lxml.etree.XPathEvalError-class.html">XPathEvalError</a> --+
80 <strong class="uidshort">XPathResultError</strong>
84 Error handling an XPath result.
86 <!-- ==================== INSTANCE METHODS ==================== -->
87 <a name="section-InstanceMethods"></a>
88 <table class="summary" border="1" cellpadding="3"
89 cellspacing="0" width="100%" bgcolor="white">
90 <tr bgcolor="#70b0f0" class="table-header">
91 <td colspan="2" class="table-header">
92 <table border="0" cellpadding="0" cellspacing="0" width="100%">
94 <td align="left"><span class="table-header">Instance Methods</span></td>
95 <td align="right" valign="top"
96 ><span class="options">[<a href="#section-InstanceMethods"
97 class="privatelink" onclick="toggle_private();"
98 >hide private</a>]</span></td>
104 <td colspan="2" class="summary">
105 <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.etree.LxmlError-class.html">LxmlError</a></code></b>:
106 <code><a href="lxml.etree.LxmlError-class.html#__init__">__init__</a></code>
108 <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.Exception</code></b>:
111 <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.BaseException</code></b>:
112 <code>__delattr__</code>,
113 <code>__getattribute__</code>,
114 <code>__getitem__</code>,
115 <code>__getslice__</code>,
116 <code>__reduce__</code>,
117 <code>__repr__</code>,
118 <code>__setattr__</code>,
119 <code>__setstate__</code>,
120 <code>__str__</code>,
121 <code>__unicode__</code>
123 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
124 <code>__format__</code>,
125 <code>__hash__</code>,
126 <code>__reduce_ex__</code>,
127 <code>__sizeof__</code>,
128 <code>__subclasshook__</code>
133 <!-- ==================== PROPERTIES ==================== -->
134 <a name="section-Properties"></a>
135 <table class="summary" border="1" cellpadding="3"
136 cellspacing="0" width="100%" bgcolor="white">
137 <tr bgcolor="#70b0f0" class="table-header">
138 <td colspan="2" class="table-header">
139 <table border="0" cellpadding="0" cellspacing="0" width="100%">
141 <td align="left"><span class="table-header">Properties</span></td>
142 <td align="right" valign="top"
143 ><span class="options">[<a href="#section-Properties"
144 class="privatelink" onclick="toggle_private();"
145 >hide private</a>]</span></td>
151 <td colspan="2" class="summary">
152 <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.BaseException</code></b>:
156 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
157 <code>__class__</code>
162 <!-- ==================== NAVIGATION BAR ==================== -->
163 <table class="navbar" border="0" width="100%" cellpadding="0"
164 bgcolor="#a0c0ff" cellspacing="0">
167 <th> <a
168 href="lxml-module.html">Home</a> </th>
171 <th> <a
172 href="module-tree.html">Trees</a> </th>
175 <th> <a
176 href="identifier-index.html">Indices</a> </th>
179 <th> <a
180 href="help.html">Help</a> </th>
182 <!-- Project homepage -->
183 <th class="navbar" align="right" width="100%">
184 <table border="0" cellpadding="0" cellspacing="0">
185 <tr><th class="navbar" align="center"
186 ><a class="navbar" target="_top" href="/">lxml API</a></th>
190 <table border="0" cellpadding="0" cellspacing="0" width="100%%">
192 <td align="left" class="footer">
193 Generated by Epydoc 3.0.1 on Tue Jul 31 10:14:18 2012
195 <td align="right" class="footer">
196 <a target="mainFrame" href="http://epydoc.sourceforge.net"
197 >http://epydoc.sourceforge.net</a>
202 <script type="text/javascript">
204 // Private objects are initially displayed (because if
205 // javascript is turned off then we want them to be
206 // visible); but by default, we want to hide them. So hide
207 // them unless we have a cookie that says to show them.