twisted.web.microdom.Element(Node) class documentationtwisted.web.microdom
(View In Hierarchy)
| Method | __init__ | Undocumented | 
| Method | addPrefixes | Undocumented | 
| Method | endTag | Undocumented | 
| Method | isEqualToElement | Undocumented | 
| Method | isEqualToNode | Compare this element to other.  If thenodeName,namespace,attributes, andchildNodesare all the same, returnTrue, 
otherwise returnFalse. | 
| Method | cloneNode | Undocumented | 
| Method | getElementsByTagName | Undocumented | 
| Method | hasAttributes | Undocumented | 
| Method | getAttribute | Undocumented | 
| Method | getAttributeNS | Undocumented | 
| Method | getAttributeNode | Undocumented | 
| Method | setAttribute | Undocumented | 
| Method | removeAttribute | Undocumented | 
| Method | hasAttribute | Undocumented | 
| Method | writexml | Serialize this Elementto the 
given stream. | 
| Method | __repr__ | Undocumented | 
| Method | __str__ | Undocumented | 
Inherited from Node:
| Method | toxml | Undocumented | 
| Method | writeprettyxml | Undocumented | 
| Method | toprettyxml | Undocumented | 
| Method | hasChildNodes | Undocumented | 
| Method | appendChild | Make the given Nodethe last child 
of this node. | 
| Method | insertBefore | Make the given Nodenewa child of this node which comes before theNoderef. | 
| Method | removeChild | Remove the given Nodefrom this 
node's children. | 
| Method | replaceChild | Replace a Nodewhich is already a child of this node with a different node. | 
| Method | lastChild | Undocumented | 
| Method | firstChild | Undocumented | 
Compare this element to other.  If the 
nodeName, namespace, attributes, and
childNodes are all the same, return True, 
otherwise return False.
Serialize this Element to the 
given stream.
| Parameters | stream | A file-like object to which this Elementwill be 
written. | 
| nsprefixes | A dictmapping namespace URIs asstrto prefixes 
asstr.  This defines the prefixes which are already in scope 
in the document at the point at which thisElementexists. 
This is essentially an implementation detail for namespace support. 
Applications should not try to use it. | |
| namespace | The namespace URI as a strwhich is the default at the point 
in the document at which thisElementexists.  
This is essentially an implementation detail for namespace support. 
Applications should not try to use it. |