Package xml :: Package dom :: Module minidom :: Class Document
[frames | no frames]

Class Document

GetattrMagic --+    
               |    
        Node --+    
               |    
            Node --+
                   |
      DocumentLS --+
                   |
                  Document


Method Summary
  __init__(self)
  appendChild(self, node)
  cloneNode(self, deep)
  createAttribute(self, qName)
  createAttributeNS(self, namespaceURI, qualifiedName)
  createCDATASection(self, data)
  createComment(self, data)
  createDocumentFragment(self)
  createElement(self, tagName)
  createElementNS(self, namespaceURI, qualifiedName)
  createProcessingInstruction(self, target, data)
  createTextNode(self, data)
  getElementById(self, id)
  getElementsByTagName(self, name)
  getElementsByTagNameNS(self, namespaceURI, localName)
  importNode(self, node, deep)
  isSupported(self, feature, version)
  removeChild(self, oldChild)
  renameNode(self, n, namespaceURI, name)
  unlink(self)
  writexml(self, writer, indent, addindent, newl, encoding)
    Inherited from Node
  __nonzero__(self)
  getInterface(self, feature)
  getUserData(self, key)
  hasChildNodes(self)
  insertBefore(self, newChild, refChild)
  isSameNode(self, other)
  normalize(self)
  replaceChild(self, newChild, oldChild)
  setUserData(self, key, data, handler)
  toprettyxml(self, indent, newl, encoding)
  toxml(self, encoding)

Property Summary
  documentElement: Top-level element of this document.
    Inherited from Node
  firstChild: First child node, or None.
  lastChild: Last child node, or None.
  localName: Namespace-local name of this node.

Class Variable Summary
NoneType actualEncoding = None                                                                  
NoneType attributes = None                                                                  
NoneType doctype = None                                                                  
NoneType documentURI = None                                                                  
NoneType encoding = None                                                                  
NoneType errorHandler = None                                                                  
DOMImplementation implementation = <xml.dom.minidom.DOMImplementation inst...
NoneType nextSibling = None                                                                  
str nodeName = '#document'
int nodeType = 9                                                                     
NoneType nodeValue = None                                                                  
NoneType parentNode = None                                                                  
NoneType previousSibling = None                                                                  
NoneType standalone = None                                                                  
bool strictErrorChecking = False
NoneType version = None                                                                  
    Inherited from Node
NoneType namespaceURI = None                                                                  
NoneType ownerDocument = None                                                                  
NoneType prefix = None                                                                  
    Inherited from Node
int ATTRIBUTE_NODE = 2                                                                     
int CDATA_SECTION_NODE = 4                                                                     
int COMMENT_NODE = 8                                                                     
int DOCUMENT_FRAGMENT_NODE = 11                                                                    
int DOCUMENT_NODE = 9                                                                     
int DOCUMENT_TYPE_NODE = 10                                                                    
int ELEMENT_NODE = 1                                                                     
int ENTITY_NODE = 6                                                                     
int ENTITY_REFERENCE_NODE = 5                                                                     
int NOTATION_NODE = 12                                                                    
int PROCESSING_INSTRUCTION_NODE = 7                                                                     
int TEXT_NODE = 3                                                                     

Property Details

documentElement

Top-level element of this document.


Class Variable Details

actualEncoding

Type:
NoneType
Value:
None                                                                  

attributes

Type:
NoneType
Value:
None                                                                  

doctype

Type:
NoneType
Value:
None                                                                  

documentURI

Type:
NoneType
Value:
None                                                                  

encoding

Type:
NoneType
Value:
None                                                                  

errorHandler

Type:
NoneType
Value:
None                                                                  

implementation

Type:
DOMImplementation
Value:
<xml.dom.minidom.DOMImplementation instance at 0xb73481cc>             

nextSibling

Type:
NoneType
Value:
None                                                                  

nodeName

Type:
str
Value:
'#document'                                                            

nodeType

Type:
int
Value:
9                                                                     

nodeValue

Type:
NoneType
Value:
None                                                                  

parentNode

Type:
NoneType
Value:
None                                                                  

previousSibling

Type:
NoneType
Value:
None                                                                  

standalone

Type:
NoneType
Value:
None                                                                  

strictErrorChecking

Type:
bool
Value:
False                                                                  

version

Type:
NoneType
Value:
None                                                                  

Generated by Epydoc 2.1.20050511.rpd on Sat Jun 16 16:54:32 2007 http://epydoc.sf.net