Commit | Line | Data |
---|---|---|
86530b38 AT |
1 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
2 | <html> | |
3 | <head> | |
4 | <link rel="STYLESHEET" href="lib.css" type='text/css' /> | |
5 | <link rel="SHORTCUT ICON" href="../icons/pyfav.png" type="image/png" /> | |
6 | <link rel='start' href='../index.html' title='Python Documentation Index' /> | |
7 | <link rel="first" href="lib.html" title='Python Library Reference' /> | |
8 | <link rel='contents' href='contents.html' title="Contents" /> | |
9 | <link rel='index' href='genindex.html' title='Index' /> | |
10 | <link rel='last' href='about.html' title='About this document...' /> | |
11 | <link rel='help' href='about.html' title='About this document...' /> | |
12 | <link rel="next" href="dom-conformance.html" /> | |
13 | <link rel="prev" href="node651.html" /> | |
14 | <link rel="parent" href="module-xml.dom.html" /> | |
15 | <link rel="next" href="dom-implementation-objects.html" /> | |
16 | <meta name='aesop' content='information' /> | |
17 | <title>13.6.2 Objects in the DOM </title> | |
18 | </head> | |
19 | <body> | |
20 | <DIV CLASS="navigation"> | |
21 | <div id='top-navigation-panel' xml:id='top-navigation-panel'> | |
22 | <table align="center" width="100%" cellpadding="0" cellspacing="2"> | |
23 | <tr> | |
24 | <td class='online-navigation'><a rel="prev" title="13.6.1 Module Contents" | |
25 | href="node651.html"><img src='../icons/previous.png' | |
26 | border='0' height='32' alt='Previous Page' width='32' /></A></td> | |
27 | <td class='online-navigation'><a rel="parent" title="13.6 xml.dom " | |
28 | href="module-xml.dom.html"><img src='../icons/up.png' | |
29 | border='0' height='32' alt='Up One Level' width='32' /></A></td> | |
30 | <td class='online-navigation'><a rel="next" title="13.6.2.1 DOMImplementation Objects" | |
31 | href="dom-implementation-objects.html"><img src='../icons/next.png' | |
32 | border='0' height='32' alt='Next Page' width='32' /></A></td> | |
33 | <td align="center" width="100%">Python Library Reference</td> | |
34 | <td class='online-navigation'><a rel="contents" title="Table of Contents" | |
35 | href="contents.html"><img src='../icons/contents.png' | |
36 | border='0' height='32' alt='Contents' width='32' /></A></td> | |
37 | <td class='online-navigation'><a href="modindex.html" title="Module Index"><img src='../icons/modules.png' | |
38 | border='0' height='32' alt='Module Index' width='32' /></a></td> | |
39 | <td class='online-navigation'><a rel="index" title="Index" | |
40 | href="genindex.html"><img src='../icons/index.png' | |
41 | border='0' height='32' alt='Index' width='32' /></A></td> | |
42 | </tr></table> | |
43 | <div class='online-navigation'> | |
44 | <b class="navlabel">Previous:</b> | |
45 | <a class="sectref" rel="prev" href="node651.html">13.6.1 Module Contents</A> | |
46 | <b class="navlabel">Up:</b> | |
47 | <a class="sectref" rel="parent" href="module-xml.dom.html">13.6 xml.dom </A> | |
48 | <b class="navlabel">Next:</b> | |
49 | <a class="sectref" rel="next" href="dom-implementation-objects.html">13.6.2.1 DOMImplementation Objects</A> | |
50 | </div> | |
51 | <hr /></div> | |
52 | </DIV> | |
53 | <!--End of Navigation Panel--> | |
54 | ||
55 | <H2><A NAME="SECTION0015620000000000000000"></A><A NAME="dom-objects"></A> | |
56 | <BR> | |
57 | 13.6.2 Objects in the DOM | |
58 | </H2> | |
59 | ||
60 | <P> | |
61 | The definitive documentation for the DOM is the DOM specification from | |
62 | the W3C. | |
63 | ||
64 | <P> | |
65 | Note that DOM attributes may also be manipulated as nodes instead of | |
66 | as simple strings. It is fairly rare that you must do this, however, | |
67 | so this usage is not yet documented. | |
68 | ||
69 | <P> | |
70 | <div class="center"><table class="realtable"> | |
71 | <thead> | |
72 | <tr> | |
73 | <th class="left" >Interface</th> | |
74 | <th class="left" >Section</th> | |
75 | <th class="left" >Purpose</th> | |
76 | </tr> | |
77 | </thead> | |
78 | <tbody> | |
79 | <tr><td class="left" valign="baseline"><tt class="class">DOMImplementation</tt></td> | |
80 | <td class="left" ><A href="dom-implementation-objects.html#dom-implementation-objects">13.6.2</A></td> | |
81 | <td class="left" >Interface to the underlying implementation.</td></tr> | |
82 | <tr><td class="left" valign="baseline"><tt class="class">Node</tt></td> | |
83 | <td class="left" ><A href="dom-node-objects.html#dom-node-objects">13.6.2</A></td> | |
84 | <td class="left" >Base interface for most objects in a document.</td></tr> | |
85 | <tr><td class="left" valign="baseline"><tt class="class">NodeList</tt></td> | |
86 | <td class="left" ><A href="dom-nodelist-objects.html#dom-nodelist-objects">13.6.2</A></td> | |
87 | <td class="left" >Interface for a sequence of nodes.</td></tr> | |
88 | <tr><td class="left" valign="baseline"><tt class="class">DocumentType</tt></td> | |
89 | <td class="left" ><A href="dom-documenttype-objects.html#dom-documenttype-objects">13.6.2</A></td> | |
90 | <td class="left" >Information about the declarations needed to process a document.</td></tr> | |
91 | <tr><td class="left" valign="baseline"><tt class="class">Document</tt></td> | |
92 | <td class="left" ><A href="dom-document-objects.html#dom-document-objects">13.6.2</A></td> | |
93 | <td class="left" >Object which represents an entire document.</td></tr> | |
94 | <tr><td class="left" valign="baseline"><tt class="class">Element</tt></td> | |
95 | <td class="left" ><A href="dom-element-objects.html#dom-element-objects">13.6.2</A></td> | |
96 | <td class="left" >Element nodes in the document hierarchy.</td></tr> | |
97 | <tr><td class="left" valign="baseline"><tt class="class">Attr</tt></td> | |
98 | <td class="left" ><A href="dom-attr-objects.html#dom-attr-objects">13.6.2</A></td> | |
99 | <td class="left" >Attribute value nodes on element nodes.</td></tr> | |
100 | <tr><td class="left" valign="baseline"><tt class="class">Comment</tt></td> | |
101 | <td class="left" ><A href="dom-comment-objects.html#dom-comment-objects">13.6.2</A></td> | |
102 | <td class="left" >Representation of comments in the source document.</td></tr> | |
103 | <tr><td class="left" valign="baseline"><tt class="class">Text</tt></td> | |
104 | <td class="left" ><A href="dom-text-objects.html#dom-text-objects">13.6.2</A></td> | |
105 | <td class="left" >Nodes containing textual content from the document.</td></tr> | |
106 | <tr><td class="left" valign="baseline"><tt class="class">ProcessingInstruction</tt></td> | |
107 | <td class="left" ><A href="dom-pi-objects.html#dom-pi-objects">13.6.2</A></td> | |
108 | <td class="left" >Processing instruction representation.</td></tr></tbody> | |
109 | </table></div> | |
110 | ||
111 | <P> | |
112 | An additional section describes the exceptions defined for working | |
113 | with the DOM in Python. | |
114 | ||
115 | <P> | |
116 | ||
117 | <p><br /></p><hr class='online-navigation' /> | |
118 | <div class='online-navigation'> | |
119 | <!--Table of Child-Links--> | |
120 | <A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></a> | |
121 | ||
122 | <UL CLASS="ChildLinks"> | |
123 | <LI><A href="dom-implementation-objects.html">13.6.2.1 DOMImplementation Objects</a> | |
124 | <LI><A href="dom-node-objects.html">13.6.2.2 Node Objects</a> | |
125 | <LI><A href="dom-nodelist-objects.html">13.6.2.3 NodeList Objects</a> | |
126 | <LI><A href="dom-documenttype-objects.html">13.6.2.4 DocumentType Objects</a> | |
127 | <LI><A href="dom-document-objects.html">13.6.2.5 Document Objects</a> | |
128 | <LI><A href="dom-element-objects.html">13.6.2.6 Element Objects</a> | |
129 | <LI><A href="dom-attr-objects.html">13.6.2.7 Attr Objects</a> | |
130 | <LI><A href="dom-attributelist-objects.html">13.6.2.8 NamedNodeMap Objects</a> | |
131 | <LI><A href="dom-comment-objects.html">13.6.2.9 Comment Objects</a> | |
132 | <LI><A href="dom-text-objects.html">13.6.2.10 Text and CDATASection Objects</a> | |
133 | <LI><A href="dom-pi-objects.html">13.6.2.11 ProcessingInstruction Objects</a> | |
134 | <LI><A href="dom-exceptions.html">13.6.2.12 Exceptions</a> | |
135 | </ul> | |
136 | <!--End of Table of Child-Links--> | |
137 | </div> | |
138 | ||
139 | <DIV CLASS="navigation"> | |
140 | <div class='online-navigation'> | |
141 | <p></p><hr /> | |
142 | <table align="center" width="100%" cellpadding="0" cellspacing="2"> | |
143 | <tr> | |
144 | <td class='online-navigation'><a rel="prev" title="13.6.1 Module Contents" | |
145 | href="node651.html"><img src='../icons/previous.png' | |
146 | border='0' height='32' alt='Previous Page' width='32' /></A></td> | |
147 | <td class='online-navigation'><a rel="parent" title="13.6 xml.dom " | |
148 | href="module-xml.dom.html"><img src='../icons/up.png' | |
149 | border='0' height='32' alt='Up One Level' width='32' /></A></td> | |
150 | <td class='online-navigation'><a rel="next" title="13.6.2.1 DOMImplementation Objects" | |
151 | href="dom-implementation-objects.html"><img src='../icons/next.png' | |
152 | border='0' height='32' alt='Next Page' width='32' /></A></td> | |
153 | <td align="center" width="100%">Python Library Reference</td> | |
154 | <td class='online-navigation'><a rel="contents" title="Table of Contents" | |
155 | href="contents.html"><img src='../icons/contents.png' | |
156 | border='0' height='32' alt='Contents' width='32' /></A></td> | |
157 | <td class='online-navigation'><a href="modindex.html" title="Module Index"><img src='../icons/modules.png' | |
158 | border='0' height='32' alt='Module Index' width='32' /></a></td> | |
159 | <td class='online-navigation'><a rel="index" title="Index" | |
160 | href="genindex.html"><img src='../icons/index.png' | |
161 | border='0' height='32' alt='Index' width='32' /></A></td> | |
162 | </tr></table> | |
163 | <div class='online-navigation'> | |
164 | <b class="navlabel">Previous:</b> | |
165 | <a class="sectref" rel="prev" href="node651.html">13.6.1 Module Contents</A> | |
166 | <b class="navlabel">Up:</b> | |
167 | <a class="sectref" rel="parent" href="module-xml.dom.html">13.6 xml.dom </A> | |
168 | <b class="navlabel">Next:</b> | |
169 | <a class="sectref" rel="next" href="dom-implementation-objects.html">13.6.2.1 DOMImplementation Objects</A> | |
170 | </div> | |
171 | </div> | |
172 | <hr /> | |
173 | <span class="release-info">Release 2.4.2, documentation updated on 28 September 2005.</span> | |
174 | </DIV> | |
175 | <!--End of Navigation Panel--> | |
176 | <ADDRESS> | |
177 | See <i><a href="about.html">About this document...</a></i> for information on suggesting changes. | |
178 | </ADDRESS> | |
179 | </BODY> | |
180 | </HTML> |