twisted.web.microdom.Node(object) class documentationtwisted.web.microdom
          View Source
          (View In Hierarchy)
        
      Known subclasses: twisted.web.microdom.CharacterData, twisted.web.microdom.Document, twisted.web.microdom.Element, twisted.web.microdom.EntityReference
| Method | __init__ | Undocumented | 
| Method | isEqualToNode | Compare this node to other.  If the nodes have the same 
number of children and corresponding children are equal to each other, 
returnTrue, otherwise returnFalse. | 
| Method | writexml | Undocumented | 
| Method | toxml | Undocumented | 
| Method | writeprettyxml | Undocumented | 
| Method | toprettyxml | Undocumented | 
| Method | cloneNode | 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 node to other.  If the nodes have the same 
number of children and corresponding children are equal to each other, 
return True, otherwise return False.
| Returns | (type: bool) | |
Replace a Node
which is already a child of this node with a different node.
| Parameters | newChild | A Nodewhich will
be made a child of this node. | 
| oldChild | A Nodewhich is a
child of this node which will give up its position tonewChild. | |
| Raises | TypeError | If newChildoroldChildis not aNodeinstance. | 
| ValueError | If oldChildis not a child of thisNode. |