source: exist/branches/proglue_production_rev4605_xquery4884/python/elementtree-1.3a6-20070220-badc/docs/pythondoc-elementtree.SimpleXMLTreeBuilder.html @ 4886

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/exist/branches/proglue_production_rev4605_xquery4884/python/elementtree-1.3a6-20070220-badc/docs/pythondoc-elementtree.SimpleXMLTreeBuilder.html@4886
Revision 4886, 2.2 KB checked in by sdonegan, 10 years ago (diff)

Creating operational branch for ndgUtils as used on proglue

Line 
1<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
2<html>
3<head>
4<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
5<title>The elementtree.SimpleXMLTreeBuilder Module</title>
6<link rel='stylesheet' href='effbot.css' type='text/css' />
7</head>
8<body>
9<h1>The elementtree.SimpleXMLTreeBuilder Module</h1>
10<p>Tools to build element trees from XML files, using <b>xmllib</b>.
11This module can be used instead of the standard tree builder, for
12Python versions where "expat" is not available (such as 1.5.2).
13</p><p>
14Note that due to bugs in <b>xmllib</b>, the namespace support is
15not reliable (you can run the module as a script to find out exactly
16how unreliable it is on your Python version).
17</p><h2>Module Contents</h2>
18<dl>
19<dt><b>TreeBuilder(html=0)</b> (class) [<a href='#elementtree.SimpleXMLTreeBuilder.TreeBuilder-class'>#</a>]</dt>
20<dd>
21<p>ElementTree builder for XML source data.</p>
22<p>For more information about this class, see <a href='#elementtree.SimpleXMLTreeBuilder.TreeBuilder-class'><i>The TreeBuilder Class</i></a>.</p>
23</dd>
24</dl>
25<h2><a id='elementtree.SimpleXMLTreeBuilder.TreeBuilder-class' name='elementtree.SimpleXMLTreeBuilder.TreeBuilder-class'>The TreeBuilder Class</a></h2>
26<dl>
27<dt><b>TreeBuilder(html=0)</b> (class) [<a href='#elementtree.SimpleXMLTreeBuilder.TreeBuilder-class'>#</a>]</dt>
28<dd>
29<p>ElementTree builder for XML source data.</p>
30</dd>
31<dt><a id='elementtree.SimpleXMLTreeBuilder.TreeBuilder.close-method' name='elementtree.SimpleXMLTreeBuilder.TreeBuilder.close-method'><b>close()</b></a> &rArr; Element [<a href='#elementtree.SimpleXMLTreeBuilder.TreeBuilder.close-method'>#</a>]</dt>
32<dd>
33<p>Finishes feeding data to the parser.</p>
34<dl>
35<dt>Returns:</dt>
36<dd>
37An element structure.</dd>
38</dl><br />
39</dd>
40<dt><a id='elementtree.SimpleXMLTreeBuilder.TreeBuilder.feed-method' name='elementtree.SimpleXMLTreeBuilder.TreeBuilder.feed-method'><b>feed(data)</b></a> [<a href='#elementtree.SimpleXMLTreeBuilder.TreeBuilder.feed-method'>#</a>]</dt>
41<dd>
42<p>Feeds data to the parser.</p>
43<dl>
44<dt><i>data</i></dt>
45<dd>
46Encoded data.</dd>
47</dl><br />
48</dd>
49</dl>
50</body></html>
Note: See TracBrowser for help on using the repository browser.