4ca5dc162ec6ea8aaa2f2bbd56097ab2d06f38b3
[platform/upstream/python-lxml.git] / doc / html / api / lxml.tests.test_objectify-module.html
1 <?xml version="1.0" encoding="ascii"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3           "DTD/xhtml1-transitional.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5 <head>
6   <title>lxml.tests.test_objectify</title>
7   <link rel="stylesheet" href="epydoc.css" type="text/css" />
8   <script type="text/javascript" src="epydoc.js"></script>
9 </head>
10
11 <body bgcolor="white" text="black" link="blue" vlink="#204080"
12       alink="#204080">
13 <!-- ==================== NAVIGATION BAR ==================== -->
14 <table class="navbar" border="0" width="100%" cellpadding="0"
15        bgcolor="#a0c0ff" cellspacing="0">
16   <tr valign="middle">
17   <!-- Home link -->
18       <th>&nbsp;&nbsp;&nbsp;<a
19         href="lxml-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
20
21   <!-- Tree link -->
22       <th>&nbsp;&nbsp;&nbsp;<a
23         href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
24
25   <!-- Index link -->
26       <th>&nbsp;&nbsp;&nbsp;<a
27         href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
28
29   <!-- Help link -->
30       <th>&nbsp;&nbsp;&nbsp;<a
31         href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
32
33   <!-- Project homepage -->
34       <th class="navbar" align="right" width="100%">
35         <table border="0" cellpadding="0" cellspacing="0">
36           <tr><th class="navbar" align="center"
37             ><a class="navbar" target="_top" href="/">lxml API</a></th>
38           </tr></table></th>
39   </tr>
40 </table>
41 <table width="100%" cellpadding="0" cellspacing="0">
42   <tr valign="top">
43     <td width="100%">
44       <span class="breadcrumbs">
45         <a href="lxml-module.html">Package&nbsp;lxml</a> ::
46         <a href="lxml.tests-module.html">Package&nbsp;tests</a> ::
47         Module&nbsp;test_objectify
48       </span>
49     </td>
50     <td>
51       <table cellpadding="0" cellspacing="0">
52         <!-- hide/show private -->
53         <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
54     onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
55         <tr><td align="right"><span class="options"
56             >[<a href="frames.html" target="_top">frames</a
57             >]&nbsp;|&nbsp;<a href="lxml.tests.test_objectify-module.html"
58             target="_top">no&nbsp;frames</a>]</span></td></tr>
59       </table>
60     </td>
61   </tr>
62 </table>
63 <!-- ==================== MODULE DESCRIPTION ==================== -->
64 <h1 class="epydoc">Module test_objectify</h1><p class="nomargin-top"><span class="codelink"><a href="lxml.tests.test_objectify-pysrc.html">source&nbsp;code</a></span></p>
65 Tests specific to the lxml.objectify API
66
67 <!-- ==================== CLASSES ==================== -->
68 <a name="section-Classes"></a>
69 <table class="summary" border="1" cellpadding="3"
70        cellspacing="0" width="100%" bgcolor="white">
71 <tr bgcolor="#70b0f0" class="table-header">
72   <td colspan="2" class="table-header">
73     <table border="0" cellpadding="0" cellspacing="0" width="100%">
74       <tr valign="top">
75         <td align="left"><span class="table-header">Classes</span></td>
76         <td align="right" valign="top"
77          ><span class="options">[<a href="#section-Classes"
78          class="privatelink" onclick="toggle_private();"
79          >hide private</a>]</span></td>
80       </tr>
81     </table>
82   </td>
83 </tr>
84 <tr>
85     <td width="15%" align="right" valign="top" class="summary">
86       <span class="summary-type">&nbsp;</span>
87     </td><td class="summary">
88         <a href="lxml.tests.test_objectify.ObjectifyTestCase-class.html" class="summary-name">ObjectifyTestCase</a><br />
89       Test cases for lxml.objectify
90     </td>
91   </tr>
92 </table>
93 <!-- ==================== FUNCTIONS ==================== -->
94 <a name="section-Functions"></a>
95 <table class="summary" border="1" cellpadding="3"
96        cellspacing="0" width="100%" bgcolor="white">
97 <tr bgcolor="#70b0f0" class="table-header">
98   <td colspan="2" class="table-header">
99     <table border="0" cellpadding="0" cellspacing="0" width="100%">
100       <tr valign="top">
101         <td align="left"><span class="table-header">Functions</span></td>
102         <td align="right" valign="top"
103          ><span class="options">[<a href="#section-Functions"
104          class="privatelink" onclick="toggle_private();"
105          >hide private</a>]</span></td>
106       </tr>
107     </table>
108   </td>
109 </tr>
110 <tr>
111     <td width="15%" align="right" valign="top" class="summary">
112       <span class="summary-type">&nbsp;</span>
113     </td><td class="summary">
114       <table width="100%" cellpadding="0" cellspacing="0" border="0">
115         <tr>
116           <td><span class="summary-sig"><a name="test_suite"></a><span class="summary-sig-name">test_suite</span>()</span></td>
117           <td align="right" valign="top">
118             <span class="codelink"><a href="lxml.tests.test_objectify-pysrc.html#test_suite">source&nbsp;code</a></span>
119             
120           </td>
121         </tr>
122       </table>
123       
124     </td>
125   </tr>
126 </table>
127 <!-- ==================== VARIABLES ==================== -->
128 <a name="section-Variables"></a>
129 <table class="summary" border="1" cellpadding="3"
130        cellspacing="0" width="100%" bgcolor="white">
131 <tr bgcolor="#70b0f0" class="table-header">
132   <td colspan="2" class="table-header">
133     <table border="0" cellpadding="0" cellspacing="0" width="100%">
134       <tr valign="top">
135         <td align="left"><span class="table-header">Variables</span></td>
136         <td align="right" valign="top"
137          ><span class="options">[<a href="#section-Variables"
138          class="privatelink" onclick="toggle_private();"
139          >hide private</a>]</span></td>
140       </tr>
141     </table>
142   </td>
143 </tr>
144 <tr>
145     <td width="15%" align="right" valign="top" class="summary">
146       <span class="summary-type">&nbsp;</span>
147     </td><td class="summary">
148         <a href="lxml.tests.test_objectify-module.html#this_dir" class="summary-name">this_dir</a> = <code title="'/home/sbehnel/source/Python/lxml/lxml-release/src/lxml/tests'"><code class="variable-quote">'</code><code class="variable-string">/home/sbehnel/source/Python/lxml/lxml-release/src/</code><code class="variable-ellipsis">...</code></code>
149     </td>
150   </tr>
151 <tr>
152     <td width="15%" align="right" valign="top" class="summary">
153       <span class="summary-type">&nbsp;</span>
154     </td><td class="summary">
155         <a name="PYTYPE_NAMESPACE"></a><span class="summary-name">PYTYPE_NAMESPACE</span> = <code title="'http://codespeak.net/lxml/objectify/pytype'"><code class="variable-quote">'</code><code class="variable-string">http://codespeak.net/lxml/objectify/pytype</code><code class="variable-quote">'</code></code>
156     </td>
157   </tr>
158 <tr>
159     <td width="15%" align="right" valign="top" class="summary">
160       <span class="summary-type">&nbsp;</span>
161     </td><td class="summary">
162         <a name="XML_SCHEMA_NS"></a><span class="summary-name">XML_SCHEMA_NS</span> = <code title="'http://www.w3.org/2001/XMLSchema'"><code class="variable-quote">'</code><code class="variable-string">http://www.w3.org/2001/XMLSchema</code><code class="variable-quote">'</code></code>
163     </td>
164   </tr>
165 <tr>
166     <td width="15%" align="right" valign="top" class="summary">
167       <span class="summary-type">&nbsp;</span>
168     </td><td class="summary">
169         <a href="lxml.tests.test_objectify-module.html#XML_SCHEMA_INSTANCE_NS" class="summary-name">XML_SCHEMA_INSTANCE_NS</a> = <code title="'http://www.w3.org/2001/XMLSchema-instance'"><code class="variable-quote">'</code><code class="variable-string">http://www.w3.org/2001/XMLSchema-ins</code><code class="variable-ellipsis">...</code></code>
170     </td>
171   </tr>
172 <tr>
173     <td width="15%" align="right" valign="top" class="summary">
174       <span class="summary-type">&nbsp;</span>
175     </td><td class="summary">
176         <a href="lxml.tests.test_objectify-module.html#XML_SCHEMA_INSTANCE_TYPE_ATTR" class="summary-name">XML_SCHEMA_INSTANCE_TYPE_ATTR</a> = <code title="'{http://www.w3.org/2001/XMLSchema-instance}type'"><code class="variable-quote">'</code><code class="variable-string">{http://www.w3.org/2001/XMLSc</code><code class="variable-ellipsis">...</code></code>
177     </td>
178   </tr>
179 <tr>
180     <td width="15%" align="right" valign="top" class="summary">
181       <span class="summary-type">&nbsp;</span>
182     </td><td class="summary">
183         <a href="lxml.tests.test_objectify-module.html#XML_SCHEMA_NIL_ATTR" class="summary-name">XML_SCHEMA_NIL_ATTR</a> = <code title="'{http://www.w3.org/2001/XMLSchema-instance}nil'"><code class="variable-quote">'</code><code class="variable-string">{http://www.w3.org/2001/XMLSchema-insta</code><code class="variable-ellipsis">...</code></code>
184     </td>
185   </tr>
186 <tr>
187     <td width="15%" align="right" valign="top" class="summary">
188       <span class="summary-type">&nbsp;</span>
189     </td><td class="summary">
190         <a name="TREE_PYTYPE"></a><span class="summary-name">TREE_PYTYPE</span> = <code title="'TREE'"><code class="variable-quote">'</code><code class="variable-string">TREE</code><code class="variable-quote">'</code></code>
191     </td>
192   </tr>
193 <tr>
194     <td width="15%" align="right" valign="top" class="summary">
195       <span class="summary-type">&nbsp;</span>
196     </td><td class="summary">
197         <a href="lxml.tests.test_objectify-module.html#DEFAULT_NSMAP" class="summary-name">DEFAULT_NSMAP</a> = <code title="{'py': 'http://codespeak.net/lxml/objectify/pytype',
198  'xsd': 'http://www.w3.org/2001/XMLSchema',
199  'xsi': 'http://www.w3.org/2001/XMLSchema-instance'}"><code class="variable-group">{</code><code class="variable-quote">'</code><code class="variable-string">py</code><code class="variable-quote">'</code><code class="variable-op">: </code><code class="variable-quote">'</code><code class="variable-string">http://codespeak.net/lxml/objectify/py</code><code class="variable-ellipsis">...</code></code>
200     </td>
201   </tr>
202 <tr>
203     <td width="15%" align="right" valign="top" class="summary">
204       <span class="summary-type">&nbsp;</span>
205     </td><td class="summary">
206         <a href="lxml.tests.test_objectify-module.html#objectclass2xsitype" class="summary-name">objectclass2xsitype</a> = <code title="{&lt;type 'lxml.objectify.IntElement'&gt;: ('int',
207                                       'short',
208                                       'byte',
209                                       'unsignedShort',
210                                       'unsignedByte',
211                                       'integer',
212                                       'nonPositiveInteger',
213                                       'negativeInteger',
214 ..."><code class="variable-group">{</code>&lt;type 'lxml.objectify.IntElement'&gt;<code class="variable-op">: </code><code class="variable-group">(</code><code class="variable-quote">'</code><code class="variable-string">i</code><code class="variable-ellipsis">...</code></code>
215     </td>
216   </tr>
217 <tr>
218     <td width="15%" align="right" valign="top" class="summary">
219       <span class="summary-type">&nbsp;</span>
220     </td><td class="summary">
221         <a href="lxml.tests.test_objectify-module.html#xsitype2objclass" class="summary-name">xsitype2objclass</a> = <code title="{'ENTITY': &lt;type 'lxml.objectify.StringElement'&gt;,
222  'ID': &lt;type 'lxml.objectify.StringElement'&gt;,
223  'IDREF': &lt;type 'lxml.objectify.StringElement'&gt;,
224  'NCName': &lt;type 'lxml.objectify.StringElement'&gt;,
225  'NMTOKEN': &lt;type 'lxml.objectify.StringElement'&gt;,
226  'Name': &lt;type 'lxml.objectify.StringElement'&gt;,
227  'boolean': &lt;type 'lxml.objectify.BoolElement'&gt;,
228  'byte': &lt;type 'lxml.objectify.IntElement'&gt;,
229 ..."><code class="variable-group">{</code><code class="variable-quote">'</code><code class="variable-string">ENTITY</code><code class="variable-quote">'</code><code class="variable-op">: </code>&lt;type 'lxml.objectify.StringElem<code class="variable-ellipsis">...</code></code>
230     </td>
231   </tr>
232 <tr>
233     <td width="15%" align="right" valign="top" class="summary">
234       <span class="summary-type">&nbsp;</span>
235     </td><td class="summary">
236         <a href="lxml.tests.test_objectify-module.html#objectclass2pytype" class="summary-name">objectclass2pytype</a> = <code title="{&lt;type 'lxml.objectify.IntElement'&gt;: 'int',
237  &lt;type 'lxml.objectify.FloatElement'&gt;: 'float',
238  &lt;type 'lxml.objectify.StringElement'&gt;: 'str',
239  &lt;type 'lxml.objectify.BoolElement'&gt;: 'bool'}"><code class="variable-group">{</code>&lt;type 'lxml.objectify.IntElement'&gt;<code class="variable-op">: </code><code class="variable-quote">'</code><code class="variable-string">int</code><code class="variable-ellipsis">...</code></code>
240     </td>
241   </tr>
242 <tr>
243     <td width="15%" align="right" valign="top" class="summary">
244       <span class="summary-type">&nbsp;</span>
245     </td><td class="summary">
246         <a href="lxml.tests.test_objectify-module.html#pytype2objclass" class="summary-name">pytype2objclass</a> = <code title="{'bool': &lt;type 'lxml.objectify.BoolElement'&gt;,
247  'float': &lt;type 'lxml.objectify.FloatElement'&gt;,
248  'int': &lt;type 'lxml.objectify.IntElement'&gt;,
249  'str': &lt;type 'lxml.objectify.StringElement'&gt;}"><code class="variable-group">{</code><code class="variable-quote">'</code><code class="variable-string">bool</code><code class="variable-quote">'</code><code class="variable-op">: </code>&lt;type 'lxml.objectify.BoolElement'&gt;<code class="variable-ellipsis">...</code></code>
250     </td>
251   </tr>
252 <tr>
253     <td width="15%" align="right" valign="top" class="summary">
254       <span class="summary-type">&nbsp;</span>
255     </td><td class="summary">
256         <a href="lxml.tests.test_objectify-module.html#xml_str" class="summary-name">xml_str</a> = <code title="'''&lt;obj:root xmlns:obj=&quot;objectified&quot; xmlns:other=&quot;otherNS&quot;&gt;
257   &lt;obj:c1 a1=&quot;A1&quot; a2=&quot;A2&quot; other:a3=&quot;A3&quot;&gt;
258     &lt;obj:c2&gt;0&lt;/obj:c2&gt;
259     &lt;obj:c2&gt;1&lt;/obj:c2&gt;
260     &lt;obj:c2&gt;2&lt;/obj:c2&gt;
261     &lt;other:c2&gt;3&lt;/other:c2&gt;
262     &lt;c2&gt;4&lt;/c2&gt;
263   &lt;/obj:c1&gt;
264 ..."><code class="variable-quote">'</code><code class="variable-string">&lt;obj:root xmlns:obj=&quot;objectified&quot; xmlns:other=&quot;othe</code><code class="variable-ellipsis">...</code></code>
265     </td>
266   </tr>
267 <tr>
268     <td width="15%" align="right" valign="top" class="summary">
269       <span class="summary-type">&nbsp;</span>
270     </td><td class="summary">
271         <a name="__package__"></a><span class="summary-name">__package__</span> = <code title="'lxml.tests'"><code class="variable-quote">'</code><code class="variable-string">lxml.tests</code><code class="variable-quote">'</code></code>
272     </td>
273   </tr>
274 <tr>
275     <td width="15%" align="right" valign="top" class="summary">
276       <span class="summary-type">&nbsp;</span>
277     </td><td class="summary">
278         <a name="v"></a><span class="summary-name">v</span> = <code title="'NMTOKEN'"><code class="variable-quote">'</code><code class="variable-string">NMTOKEN</code><code class="variable-quote">'</code></code>
279     </td>
280   </tr>
281 </table>
282 <!-- ==================== VARIABLES DETAILS ==================== -->
283 <a name="section-VariablesDetails"></a>
284 <table class="details" border="1" cellpadding="3"
285        cellspacing="0" width="100%" bgcolor="white">
286 <tr bgcolor="#70b0f0" class="table-header">
287   <td colspan="2" class="table-header">
288     <table border="0" cellpadding="0" cellspacing="0" width="100%">
289       <tr valign="top">
290         <td align="left"><span class="table-header">Variables Details</span></td>
291         <td align="right" valign="top"
292          ><span class="options">[<a href="#section-VariablesDetails"
293          class="privatelink" onclick="toggle_private();"
294          >hide private</a>]</span></td>
295       </tr>
296     </table>
297   </td>
298 </tr>
299 </table>
300 <a name="this_dir"></a>
301 <div>
302 <table class="details" border="1" cellpadding="3"
303        cellspacing="0" width="100%" bgcolor="white">
304 <tr><td>
305   <h3 class="epydoc">this_dir</h3>
306   
307   <dl class="fields">
308   </dl>
309   <dl class="fields">
310     <dt>Value:</dt>
311       <dd><table><tr><td><pre class="variable">
312 <code class="variable-quote">'</code><code class="variable-string">/home/sbehnel/source/Python/lxml/lxml-release/src/lxml/tests</code><code class="variable-quote">'</code>
313 </pre></td></tr></table>
314 </dd>
315   </dl>
316 </td></tr></table>
317 </div>
318 <a name="XML_SCHEMA_INSTANCE_NS"></a>
319 <div>
320 <table class="details" border="1" cellpadding="3"
321        cellspacing="0" width="100%" bgcolor="white">
322 <tr><td>
323   <h3 class="epydoc">XML_SCHEMA_INSTANCE_NS</h3>
324   
325   <dl class="fields">
326   </dl>
327   <dl class="fields">
328     <dt>Value:</dt>
329       <dd><table><tr><td><pre class="variable">
330 <code class="variable-quote">'</code><code class="variable-string">http://www.w3.org/2001/XMLSchema-instance</code><code class="variable-quote">'</code>
331 </pre></td></tr></table>
332 </dd>
333   </dl>
334 </td></tr></table>
335 </div>
336 <a name="XML_SCHEMA_INSTANCE_TYPE_ATTR"></a>
337 <div>
338 <table class="details" border="1" cellpadding="3"
339        cellspacing="0" width="100%" bgcolor="white">
340 <tr><td>
341   <h3 class="epydoc">XML_SCHEMA_INSTANCE_TYPE_ATTR</h3>
342   
343   <dl class="fields">
344   </dl>
345   <dl class="fields">
346     <dt>Value:</dt>
347       <dd><table><tr><td><pre class="variable">
348 <code class="variable-quote">'</code><code class="variable-string">{http://www.w3.org/2001/XMLSchema-instance}type</code><code class="variable-quote">'</code>
349 </pre></td></tr></table>
350 </dd>
351   </dl>
352 </td></tr></table>
353 </div>
354 <a name="XML_SCHEMA_NIL_ATTR"></a>
355 <div>
356 <table class="details" border="1" cellpadding="3"
357        cellspacing="0" width="100%" bgcolor="white">
358 <tr><td>
359   <h3 class="epydoc">XML_SCHEMA_NIL_ATTR</h3>
360   
361   <dl class="fields">
362   </dl>
363   <dl class="fields">
364     <dt>Value:</dt>
365       <dd><table><tr><td><pre class="variable">
366 <code class="variable-quote">'</code><code class="variable-string">{http://www.w3.org/2001/XMLSchema-instance}nil</code><code class="variable-quote">'</code>
367 </pre></td></tr></table>
368 </dd>
369   </dl>
370 </td></tr></table>
371 </div>
372 <a name="DEFAULT_NSMAP"></a>
373 <div>
374 <table class="details" border="1" cellpadding="3"
375        cellspacing="0" width="100%" bgcolor="white">
376 <tr><td>
377   <h3 class="epydoc">DEFAULT_NSMAP</h3>
378   
379   <dl class="fields">
380   </dl>
381   <dl class="fields">
382     <dt>Value:</dt>
383       <dd><table><tr><td><pre class="variable">
384 <code class="variable-group">{</code><code class="variable-quote">'</code><code class="variable-string">py</code><code class="variable-quote">'</code><code class="variable-op">: </code><code class="variable-quote">'</code><code class="variable-string">http://codespeak.net/lxml/objectify/pytype</code><code class="variable-quote">'</code><code class="variable-op">,</code>
385  <code class="variable-quote">'</code><code class="variable-string">xsd</code><code class="variable-quote">'</code><code class="variable-op">: </code><code class="variable-quote">'</code><code class="variable-string">http://www.w3.org/2001/XMLSchema</code><code class="variable-quote">'</code><code class="variable-op">,</code>
386  <code class="variable-quote">'</code><code class="variable-string">xsi</code><code class="variable-quote">'</code><code class="variable-op">: </code><code class="variable-quote">'</code><code class="variable-string">http://www.w3.org/2001/XMLSchema-instance</code><code class="variable-quote">'</code><code class="variable-group">}</code>
387 </pre></td></tr></table>
388 </dd>
389   </dl>
390 </td></tr></table>
391 </div>
392 <a name="objectclass2xsitype"></a>
393 <div>
394 <table class="details" border="1" cellpadding="3"
395        cellspacing="0" width="100%" bgcolor="white">
396 <tr><td>
397   <h3 class="epydoc">objectclass2xsitype</h3>
398   
399   <dl class="fields">
400   </dl>
401   <dl class="fields">
402     <dt>Value:</dt>
403       <dd><table><tr><td><pre class="variable">
404 <code class="variable-group">{</code>&lt;type 'lxml.objectify.IntElement'&gt;<code class="variable-op">: </code><code class="variable-group">(</code><code class="variable-quote">'</code><code class="variable-string">int</code><code class="variable-quote">'</code><code class="variable-op">,</code>
405                                       <code class="variable-quote">'</code><code class="variable-string">short</code><code class="variable-quote">'</code><code class="variable-op">,</code>
406                                       <code class="variable-quote">'</code><code class="variable-string">byte</code><code class="variable-quote">'</code><code class="variable-op">,</code>
407                                       <code class="variable-quote">'</code><code class="variable-string">unsignedShort</code><code class="variable-quote">'</code><code class="variable-op">,</code>
408                                       <code class="variable-quote">'</code><code class="variable-string">unsignedByte</code><code class="variable-quote">'</code><code class="variable-op">,</code>
409                                       <code class="variable-quote">'</code><code class="variable-string">integer</code><code class="variable-quote">'</code><code class="variable-op">,</code>
410                                       <code class="variable-quote">'</code><code class="variable-string">nonPositiveInteger</code><code class="variable-quote">'</code><code class="variable-op">,</code>
411                                       <code class="variable-quote">'</code><code class="variable-string">negativeInteger</code><code class="variable-quote">'</code><code class="variable-op">,</code>
412 <code class="variable-ellipsis">...</code>
413 </pre></td></tr></table>
414 </dd>
415   </dl>
416 </td></tr></table>
417 </div>
418 <a name="xsitype2objclass"></a>
419 <div>
420 <table class="details" border="1" cellpadding="3"
421        cellspacing="0" width="100%" bgcolor="white">
422 <tr><td>
423   <h3 class="epydoc">xsitype2objclass</h3>
424   
425   <dl class="fields">
426   </dl>
427   <dl class="fields">
428     <dt>Value:</dt>
429       <dd><table><tr><td><pre class="variable">
430 <code class="variable-group">{</code><code class="variable-quote">'</code><code class="variable-string">ENTITY</code><code class="variable-quote">'</code><code class="variable-op">: </code>&lt;type 'lxml.objectify.StringElement'&gt;<code class="variable-op">,</code>
431  <code class="variable-quote">'</code><code class="variable-string">ID</code><code class="variable-quote">'</code><code class="variable-op">: </code>&lt;type 'lxml.objectify.StringElement'&gt;<code class="variable-op">,</code>
432  <code class="variable-quote">'</code><code class="variable-string">IDREF</code><code class="variable-quote">'</code><code class="variable-op">: </code>&lt;type 'lxml.objectify.StringElement'&gt;<code class="variable-op">,</code>
433  <code class="variable-quote">'</code><code class="variable-string">NCName</code><code class="variable-quote">'</code><code class="variable-op">: </code>&lt;type 'lxml.objectify.StringElement'&gt;<code class="variable-op">,</code>
434  <code class="variable-quote">'</code><code class="variable-string">NMTOKEN</code><code class="variable-quote">'</code><code class="variable-op">: </code>&lt;type 'lxml.objectify.StringElement'&gt;<code class="variable-op">,</code>
435  <code class="variable-quote">'</code><code class="variable-string">Name</code><code class="variable-quote">'</code><code class="variable-op">: </code>&lt;type 'lxml.objectify.StringElement'&gt;<code class="variable-op">,</code>
436  <code class="variable-quote">'</code><code class="variable-string">boolean</code><code class="variable-quote">'</code><code class="variable-op">: </code>&lt;type 'lxml.objectify.BoolElement'&gt;<code class="variable-op">,</code>
437  <code class="variable-quote">'</code><code class="variable-string">byte</code><code class="variable-quote">'</code><code class="variable-op">: </code>&lt;type 'lxml.objectify.IntElement'&gt;<code class="variable-op">,</code>
438 <code class="variable-ellipsis">...</code>
439 </pre></td></tr></table>
440 </dd>
441   </dl>
442 </td></tr></table>
443 </div>
444 <a name="objectclass2pytype"></a>
445 <div>
446 <table class="details" border="1" cellpadding="3"
447        cellspacing="0" width="100%" bgcolor="white">
448 <tr><td>
449   <h3 class="epydoc">objectclass2pytype</h3>
450   
451   <dl class="fields">
452   </dl>
453   <dl class="fields">
454     <dt>Value:</dt>
455       <dd><table><tr><td><pre class="variable">
456 <code class="variable-group">{</code>&lt;type 'lxml.objectify.IntElement'&gt;<code class="variable-op">: </code><code class="variable-quote">'</code><code class="variable-string">int</code><code class="variable-quote">'</code><code class="variable-op">,</code>
457  &lt;type 'lxml.objectify.FloatElement'&gt;<code class="variable-op">: </code><code class="variable-quote">'</code><code class="variable-string">float</code><code class="variable-quote">'</code><code class="variable-op">,</code>
458  &lt;type 'lxml.objectify.StringElement'&gt;<code class="variable-op">: </code><code class="variable-quote">'</code><code class="variable-string">str</code><code class="variable-quote">'</code><code class="variable-op">,</code>
459  &lt;type 'lxml.objectify.BoolElement'&gt;<code class="variable-op">: </code><code class="variable-quote">'</code><code class="variable-string">bool</code><code class="variable-quote">'</code><code class="variable-group">}</code>
460 </pre></td></tr></table>
461 </dd>
462   </dl>
463 </td></tr></table>
464 </div>
465 <a name="pytype2objclass"></a>
466 <div>
467 <table class="details" border="1" cellpadding="3"
468        cellspacing="0" width="100%" bgcolor="white">
469 <tr><td>
470   <h3 class="epydoc">pytype2objclass</h3>
471   
472   <dl class="fields">
473   </dl>
474   <dl class="fields">
475     <dt>Value:</dt>
476       <dd><table><tr><td><pre class="variable">
477 <code class="variable-group">{</code><code class="variable-quote">'</code><code class="variable-string">bool</code><code class="variable-quote">'</code><code class="variable-op">: </code>&lt;type 'lxml.objectify.BoolElement'&gt;<code class="variable-op">,</code>
478  <code class="variable-quote">'</code><code class="variable-string">float</code><code class="variable-quote">'</code><code class="variable-op">: </code>&lt;type 'lxml.objectify.FloatElement'&gt;<code class="variable-op">,</code>
479  <code class="variable-quote">'</code><code class="variable-string">int</code><code class="variable-quote">'</code><code class="variable-op">: </code>&lt;type 'lxml.objectify.IntElement'&gt;<code class="variable-op">,</code>
480  <code class="variable-quote">'</code><code class="variable-string">str</code><code class="variable-quote">'</code><code class="variable-op">: </code>&lt;type 'lxml.objectify.StringElement'&gt;<code class="variable-group">}</code>
481 </pre></td></tr></table>
482 </dd>
483   </dl>
484 </td></tr></table>
485 </div>
486 <a name="xml_str"></a>
487 <div>
488 <table class="details" border="1" cellpadding="3"
489        cellspacing="0" width="100%" bgcolor="white">
490 <tr><td>
491   <h3 class="epydoc">xml_str</h3>
492   
493   <dl class="fields">
494   </dl>
495   <dl class="fields">
496     <dt>Value:</dt>
497       <dd><table><tr><td><pre class="variable">
498 <code class="variable-quote">'''</code><code class="variable-string">&lt;obj:root xmlns:obj=&quot;objectified&quot; xmlns:other=&quot;otherNS&quot;&gt;</code>
499 <code class="variable-string">  &lt;obj:c1 a1=&quot;A1&quot; a2=&quot;A2&quot; other:a3=&quot;A3&quot;&gt;</code>
500 <code class="variable-string">    &lt;obj:c2&gt;0&lt;/obj:c2&gt;</code>
501 <code class="variable-string">    &lt;obj:c2&gt;1&lt;/obj:c2&gt;</code>
502 <code class="variable-string">    &lt;obj:c2&gt;2&lt;/obj:c2&gt;</code>
503 <code class="variable-string">    &lt;other:c2&gt;3&lt;/other:c2&gt;</code>
504 <code class="variable-string">    &lt;c2&gt;4&lt;/c2&gt;</code>
505 <code class="variable-string">  &lt;/obj:c1&gt;</code>
506 <code class="variable-ellipsis">...</code>
507 </pre></td></tr></table>
508 </dd>
509   </dl>
510 </td></tr></table>
511 </div>
512 <br />
513 <!-- ==================== NAVIGATION BAR ==================== -->
514 <table class="navbar" border="0" width="100%" cellpadding="0"
515        bgcolor="#a0c0ff" cellspacing="0">
516   <tr valign="middle">
517   <!-- Home link -->
518       <th>&nbsp;&nbsp;&nbsp;<a
519         href="lxml-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
520
521   <!-- Tree link -->
522       <th>&nbsp;&nbsp;&nbsp;<a
523         href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
524
525   <!-- Index link -->
526       <th>&nbsp;&nbsp;&nbsp;<a
527         href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
528
529   <!-- Help link -->
530       <th>&nbsp;&nbsp;&nbsp;<a
531         href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
532
533   <!-- Project homepage -->
534       <th class="navbar" align="right" width="100%">
535         <table border="0" cellpadding="0" cellspacing="0">
536           <tr><th class="navbar" align="center"
537             ><a class="navbar" target="_top" href="/">lxml API</a></th>
538           </tr></table></th>
539   </tr>
540 </table>
541 <table border="0" cellpadding="0" cellspacing="0" width="100%%">
542   <tr>
543     <td align="left" class="footer">
544     Generated by Epydoc 3.0.1 on Tue Jul 31 10:14:18 2012
545     </td>
546     <td align="right" class="footer">
547       <a target="mainFrame" href="http://epydoc.sourceforge.net"
548         >http://epydoc.sourceforge.net</a>
549     </td>
550   </tr>
551 </table>
552
553 <script type="text/javascript">
554   <!--
555   // Private objects are initially displayed (because if
556   // javascript is turned off then we want them to be
557   // visible); but by default, we want to hide them.  So hide
558   // them unless we have a cookie that says to show them.
559   checkCookie();
560   // -->
561 </script>
562 </body>
563 </html>