Initial commit of OpenSPARC T2 architecture model.
[OpenSPARC-T2-SAM] / sam-t2 / devtools / v8plus / html / python / lib / node652.html
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<link rel="STYLESHEET" href="lib.css" type='text/css' />
<link rel="SHORTCUT ICON" href="../icons/pyfav.png" type="image/png" />
<link rel='start' href='../index.html' title='Python Documentation Index' />
<link rel="first" href="lib.html" title='Python Library Reference' />
<link rel='contents' href='contents.html' title="Contents" />
<link rel='index' href='genindex.html' title='Index' />
<link rel='last' href='about.html' title='About this document...' />
<link rel='help' href='about.html' title='About this document...' />
<link rel="next" href="dom-conformance.html" />
<link rel="prev" href="node651.html" />
<link rel="parent" href="module-xml.dom.html" />
<link rel="next" href="dom-implementation-objects.html" />
<meta name='aesop' content='information' />
<title>13.6.2 Objects in the DOM </title>
</head>
<body>
<DIV CLASS="navigation">
<div id='top-navigation-panel' xml:id='top-navigation-panel'>
<table align="center" width="100%" cellpadding="0" cellspacing="2">
<tr>
<td class='online-navigation'><a rel="prev" title="13.6.1 Module Contents"
href="node651.html"><img src='../icons/previous.png'
border='0' height='32' alt='Previous Page' width='32' /></A></td>
<td class='online-navigation'><a rel="parent" title="13.6 xml.dom "
href="module-xml.dom.html"><img src='../icons/up.png'
border='0' height='32' alt='Up One Level' width='32' /></A></td>
<td class='online-navigation'><a rel="next" title="13.6.2.1 DOMImplementation Objects"
href="dom-implementation-objects.html"><img src='../icons/next.png'
border='0' height='32' alt='Next Page' width='32' /></A></td>
<td align="center" width="100%">Python Library Reference</td>
<td class='online-navigation'><a rel="contents" title="Table of Contents"
href="contents.html"><img src='../icons/contents.png'
border='0' height='32' alt='Contents' width='32' /></A></td>
<td class='online-navigation'><a href="modindex.html" title="Module Index"><img src='../icons/modules.png'
border='0' height='32' alt='Module Index' width='32' /></a></td>
<td class='online-navigation'><a rel="index" title="Index"
href="genindex.html"><img src='../icons/index.png'
border='0' height='32' alt='Index' width='32' /></A></td>
</tr></table>
<div class='online-navigation'>
<b class="navlabel">Previous:</b>
<a class="sectref" rel="prev" href="node651.html">13.6.1 Module Contents</A>
<b class="navlabel">Up:</b>
<a class="sectref" rel="parent" href="module-xml.dom.html">13.6 xml.dom </A>
<b class="navlabel">Next:</b>
<a class="sectref" rel="next" href="dom-implementation-objects.html">13.6.2.1 DOMImplementation Objects</A>
</div>
<hr /></div>
</DIV>
<!--End of Navigation Panel-->
<H2><A NAME="SECTION0015620000000000000000"></A><A NAME="dom-objects"></A>
<BR>
13.6.2 Objects in the DOM
</H2>
<P>
The definitive documentation for the DOM is the DOM specification from
the W3C.
<P>
Note that DOM attributes may also be manipulated as nodes instead of
as simple strings. It is fairly rare that you must do this, however,
so this usage is not yet documented.
<P>
<div class="center"><table class="realtable">
<thead>
<tr>
<th class="left" >Interface</th>
<th class="left" >Section</th>
<th class="left" >Purpose</th>
</tr>
</thead>
<tbody>
<tr><td class="left" valign="baseline"><tt class="class">DOMImplementation</tt></td>
<td class="left" ><A href="dom-implementation-objects.html#dom-implementation-objects">13.6.2</A></td>
<td class="left" >Interface to the underlying implementation.</td></tr>
<tr><td class="left" valign="baseline"><tt class="class">Node</tt></td>
<td class="left" ><A href="dom-node-objects.html#dom-node-objects">13.6.2</A></td>
<td class="left" >Base interface for most objects in a document.</td></tr>
<tr><td class="left" valign="baseline"><tt class="class">NodeList</tt></td>
<td class="left" ><A href="dom-nodelist-objects.html#dom-nodelist-objects">13.6.2</A></td>
<td class="left" >Interface for a sequence of nodes.</td></tr>
<tr><td class="left" valign="baseline"><tt class="class">DocumentType</tt></td>
<td class="left" ><A href="dom-documenttype-objects.html#dom-documenttype-objects">13.6.2</A></td>
<td class="left" >Information about the declarations needed to process a document.</td></tr>
<tr><td class="left" valign="baseline"><tt class="class">Document</tt></td>
<td class="left" ><A href="dom-document-objects.html#dom-document-objects">13.6.2</A></td>
<td class="left" >Object which represents an entire document.</td></tr>
<tr><td class="left" valign="baseline"><tt class="class">Element</tt></td>
<td class="left" ><A href="dom-element-objects.html#dom-element-objects">13.6.2</A></td>
<td class="left" >Element nodes in the document hierarchy.</td></tr>
<tr><td class="left" valign="baseline"><tt class="class">Attr</tt></td>
<td class="left" ><A href="dom-attr-objects.html#dom-attr-objects">13.6.2</A></td>
<td class="left" >Attribute value nodes on element nodes.</td></tr>
<tr><td class="left" valign="baseline"><tt class="class">Comment</tt></td>
<td class="left" ><A href="dom-comment-objects.html#dom-comment-objects">13.6.2</A></td>
<td class="left" >Representation of comments in the source document.</td></tr>
<tr><td class="left" valign="baseline"><tt class="class">Text</tt></td>
<td class="left" ><A href="dom-text-objects.html#dom-text-objects">13.6.2</A></td>
<td class="left" >Nodes containing textual content from the document.</td></tr>
<tr><td class="left" valign="baseline"><tt class="class">ProcessingInstruction</tt></td>
<td class="left" ><A href="dom-pi-objects.html#dom-pi-objects">13.6.2</A></td>
<td class="left" >Processing instruction representation.</td></tr></tbody>
</table></div>
<P>
An additional section describes the exceptions defined for working
with the DOM in Python.
<P>
<p><br /></p><hr class='online-navigation' />
<div class='online-navigation'>
<!--Table of Child-Links-->
<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></a>
<UL CLASS="ChildLinks">
<LI><A href="dom-implementation-objects.html">13.6.2.1 DOMImplementation Objects</a>
<LI><A href="dom-node-objects.html">13.6.2.2 Node Objects</a>
<LI><A href="dom-nodelist-objects.html">13.6.2.3 NodeList Objects</a>
<LI><A href="dom-documenttype-objects.html">13.6.2.4 DocumentType Objects</a>
<LI><A href="dom-document-objects.html">13.6.2.5 Document Objects</a>
<LI><A href="dom-element-objects.html">13.6.2.6 Element Objects</a>
<LI><A href="dom-attr-objects.html">13.6.2.7 Attr Objects</a>
<LI><A href="dom-attributelist-objects.html">13.6.2.8 NamedNodeMap Objects</a>
<LI><A href="dom-comment-objects.html">13.6.2.9 Comment Objects</a>
<LI><A href="dom-text-objects.html">13.6.2.10 Text and CDATASection Objects</a>
<LI><A href="dom-pi-objects.html">13.6.2.11 ProcessingInstruction Objects</a>
<LI><A href="dom-exceptions.html">13.6.2.12 Exceptions</a>
</ul>
<!--End of Table of Child-Links-->
</div>
<DIV CLASS="navigation">
<div class='online-navigation'>
<p></p><hr />
<table align="center" width="100%" cellpadding="0" cellspacing="2">
<tr>
<td class='online-navigation'><a rel="prev" title="13.6.1 Module Contents"
href="node651.html"><img src='../icons/previous.png'
border='0' height='32' alt='Previous Page' width='32' /></A></td>
<td class='online-navigation'><a rel="parent" title="13.6 xml.dom "
href="module-xml.dom.html"><img src='../icons/up.png'
border='0' height='32' alt='Up One Level' width='32' /></A></td>
<td class='online-navigation'><a rel="next" title="13.6.2.1 DOMImplementation Objects"
href="dom-implementation-objects.html"><img src='../icons/next.png'
border='0' height='32' alt='Next Page' width='32' /></A></td>
<td align="center" width="100%">Python Library Reference</td>
<td class='online-navigation'><a rel="contents" title="Table of Contents"
href="contents.html"><img src='../icons/contents.png'
border='0' height='32' alt='Contents' width='32' /></A></td>
<td class='online-navigation'><a href="modindex.html" title="Module Index"><img src='../icons/modules.png'
border='0' height='32' alt='Module Index' width='32' /></a></td>
<td class='online-navigation'><a rel="index" title="Index"
href="genindex.html"><img src='../icons/index.png'
border='0' height='32' alt='Index' width='32' /></A></td>
</tr></table>
<div class='online-navigation'>
<b class="navlabel">Previous:</b>
<a class="sectref" rel="prev" href="node651.html">13.6.1 Module Contents</A>
<b class="navlabel">Up:</b>
<a class="sectref" rel="parent" href="module-xml.dom.html">13.6 xml.dom </A>
<b class="navlabel">Next:</b>
<a class="sectref" rel="next" href="dom-implementation-objects.html">13.6.2.1 DOMImplementation Objects</A>
</div>
</div>
<hr />
<span class="release-info">Release 2.4.2, documentation updated on 28 September 2005.</span>
</DIV>
<!--End of Navigation Panel-->
<ADDRESS>
See <i><a href="about.html">About this document...</a></i> for information on suggesting changes.
</ADDRESS>
</BODY>
</HTML>