source: exist/trunk/python/elementtree-1.3/docs/pythondoc-elementtree.ElementPath.html @ 3150

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/exist/trunk/python/elementtree-1.3/docs/pythondoc-elementtree.ElementPath.html@3150
Revision 3150, 3.1 KB checked in by lawrence, 12 years ago (diff)

woops, we didn't include elementtree itself.

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.ElementPath Module</title>
6<link rel='stylesheet' href='effbot.css' type='text/css' />
7</head>
8<body>
9<h1>The elementtree.ElementPath Module</h1>
10<p>Implementation module for XPath support.  There's usually no reason
11to import this module directly; the <b>ElementTree</b> does this for
12you, if needed.
13</p><h2>Module Contents</h2>
14<dl>
15<dt><a id='elementtree.ElementPath._compile-function' name='elementtree.ElementPath._compile-function'><b>_compile(path)</b></a> [<a href='#elementtree.ElementPath._compile-function'>#</a>]</dt>
16<dd>
17<p>(Internal) Compile path.</p>
18</dd>
19<dt><a id='elementtree.ElementPath.find-function' name='elementtree.ElementPath.find-function'><b>find(element, path)</b></a> [<a href='#elementtree.ElementPath.find-function'>#</a>]</dt>
20<dd>
21<p>Find first matching object.</p>
22</dd>
23<dt><a id='elementtree.ElementPath.findall-function' name='elementtree.ElementPath.findall-function'><b>findall(element, path)</b></a> [<a href='#elementtree.ElementPath.findall-function'>#</a>]</dt>
24<dd>
25<p>Find all matching objects.</p>
26</dd>
27<dt><a id='elementtree.ElementPath.findtext-function' name='elementtree.ElementPath.findtext-function'><b>findtext(element, path, default=None)</b></a> [<a href='#elementtree.ElementPath.findtext-function'>#</a>]</dt>
28<dd>
29<p>Find text for first matching object.</p>
30</dd>
31<dt><b>Path(path)</b> (class) [<a href='#elementtree.ElementPath.Path-class'>#</a>]</dt>
32<dd>
33<p>Wrapper for a compiled XPath.</p>
34<p>For more information about this class, see <a href='#elementtree.ElementPath.Path-class'><i>The Path Class</i></a>.</p>
35</dd>
36</dl>
37<h2><a id='elementtree.ElementPath.Path-class' name='elementtree.ElementPath.Path-class'>The Path Class</a></h2>
38<dl>
39<dt><b>Path(path)</b> (class) [<a href='#elementtree.ElementPath.Path-class'>#</a>]</dt>
40<dd>
41<p>Wrapper for a compiled XPath.</p>
42</dd>
43<dt><a id='elementtree.ElementPath.Path.__init__-method' name='elementtree.ElementPath.Path.__init__-method'><b>__init__(path)</b></a> [<a href='#elementtree.ElementPath.Path.__init__-method'>#</a>]</dt>
44<dd>
45<p>Create an Path instance from an XPath expression.</p>
46</dd>
47<dt><a id='elementtree.ElementPath.Path.find-method' name='elementtree.ElementPath.Path.find-method'><b>find(element)</b></a> [<a href='#elementtree.ElementPath.Path.find-method'>#</a>]</dt>
48<dd>
49<p>Find first matching object.</p>
50</dd>
51<dt><a id='elementtree.ElementPath.Path.findall-method' name='elementtree.ElementPath.Path.findall-method'><b>findall(element)</b></a> [<a href='#elementtree.ElementPath.Path.findall-method'>#</a>]</dt>
52<dd>
53<p>Find all matching objects.</p>
54</dd>
55<dt><a id='elementtree.ElementPath.Path.findtext-method' name='elementtree.ElementPath.Path.findtext-method'><b>findtext(element, default=None)</b></a> [<a href='#elementtree.ElementPath.Path.findtext-method'>#</a>]</dt>
56<dd>
57<p>Find text for first matching object.</p>
58</dd>
59</dl>
60</body></html>
Note: See TracBrowser for help on using the repository browser.