xml.dom.minidom
index
/usr/lib/python2.2/xml/dom/minidom.py

minidom.py -- a lightweight DOM implementation.
 
parse("foo.xml")
 
parseString("<foo><bar/></foo>")
 
Todo:
=====
 * convenience methods for getting elements and text.
 * more testing
 * bring some of the writer and linearizer code into conformance with this
        interface
 * SAX 2 namespaces

 
Modules
            
string
xml
 
Classes
            
DOMImplementation
NamedNodeMap
xml.dom.Node
Node
Attr
CharacterData
Text
CDATASection
Comment
Document
DocumentFragment
DocumentType
Element
ProcessingInstruction
__builtin__.list(__builtin__.object)
NodeList
 
class Attr(Node)
       
  
Method resolution order:
Attr
Node
xml.dom.Node

Methods defined here:
__init__(self, qName, namespaceURI=None, localName=None, prefix=None)
__setattr__(self, name, value)
cloneNode(self, deep)

Data and non-method functions defined here:
__doc__ = None
__module__ = 'xml.dom.minidom'
attributes = None
childNodeTypes = (3, 5)
nodeType = 2
ownerElement = None

Methods inherited from Node:
__nonzero__(self)
_get_firstChild(self)
_get_lastChild(self)
appendChild(self, node)
hasChildNodes(self)
insertBefore(self, newChild, refChild)
isSameNode(self, other)
normalize(self)
removeChild(self, oldChild)
replaceChild(self, newChild, oldChild)
toprettyxml(self, indent='\t', newl='\n')
toxml(self)
unlink(self)

Properties inherited from Node:
firstChild
First child node, or None.
firstChild getter = _get_firstChild(self)
lastChild
Last child node, or None.
lastChild getter = _get_lastChild(self)

Data and non-method functions inherited from Node:
_debug = 0
_makeParentNodes = 1
allnodes = {}
debug = None
namespaceURI = None
ownerDocument = None
parentNode = None

Data and non-method functions inherited from xml.dom.Node:
ATTRIBUTE_NODE = 2
CDATA_SECTION_NODE = 4
COMMENT_NODE = 8
DOCUMENT_FRAGMENT_NODE = 11
DOCUMENT_NODE = 9
DOCUMENT_TYPE_NODE = 10
ELEMENT_NODE = 1
ENTITY_NODE = 6
ENTITY_REFERENCE_NODE = 5
NOTATION_NODE = 12
PROCESSING_INSTRUCTION_NODE = 7
TEXT_NODE = 3
 
AttributeList = class NamedNodeMap
      The attribute list is a transient interface to the underlying
dictionaries.  Mutations here will change the underlying element's
dictionary.
 
Ordering is imposed artificially and does not reflect the order of
attributes as found in an input document.
 
   Methods defined here:
__cmp__(self, other)
__delitem__(self, attname_or_tuple)
__getitem__(self, attname_or_tuple)
#FIXME: is it appropriate to return .value?
__init__(self, attrs, attrsNS, ownerElement)
__len__(self)
__setitem__(self, attname, value)
# same as set
get(self, name, value=None)
item(self, index)
items(self)
itemsNS(self)
keys(self)
keysNS(self)
setNamedItem(self, node)
setNamedItemNS(self, node)
values(self)

Properties defined here:
length
Number of nodes in the NamedNodeMap.
length getter lambda self

Data and non-method functions defined here:
__doc__ = 'The attribute list is a transient interface to ... attributes as found in an input document.\n '
__module__ = 'xml.dom.minidom'
 
class CDATASection(Text)
       
  
Method resolution order:
CDATASection
Text
CharacterData
Node
xml.dom.Node

Methods defined here:
writexml(self, writer, indent='', addindent='', newl='')

Data and non-method functions defined here:
__doc__ = None
__module__ = 'xml.dom.minidom'
nodeName = '#cdata-section'
nodeType = 4

Methods inherited from Text:
splitText(self, offset)

Data and non-method functions inherited from Text:
attributes = None
childNodeTypes = ()

Methods inherited from CharacterData:
__init__(self, data)
__repr__(self)
appendData(self, arg)
deleteData(self, offset, count)
insertData(self, offset, arg)
replaceData(self, offset, count, arg)
substringData(self, offset, count)

Methods inherited from Node:
__nonzero__(self)
_get_firstChild(self)
_get_lastChild(self)
appendChild(self, node)
cloneNode(self, deep)
hasChildNodes(self)
insertBefore(self, newChild, refChild)
isSameNode(self, other)
normalize(self)
removeChild(self, oldChild)
replaceChild(self, newChild, oldChild)
toprettyxml(self, indent='\t', newl='\n')
toxml(self)
unlink(self)

Properties inherited from Node:
firstChild
First child node, or None.
firstChild getter = _get_firstChild(self)
lastChild
Last child node, or None.
lastChild getter = _get_lastChild(self)

Data and non-method functions inherited from Node:
_debug = 0
_makeParentNodes = 1
allnodes = {}
debug = None
namespaceURI = None
ownerDocument = None
parentNode = None

Data and non-method functions inherited from xml.dom.Node:
ATTRIBUTE_NODE = 2
CDATA_SECTION_NODE = 4
COMMENT_NODE = 8
DOCUMENT_FRAGMENT_NODE = 11
DOCUMENT_NODE = 9
DOCUMENT_TYPE_NODE = 10
ELEMENT_NODE = 1
ENTITY_NODE = 6
ENTITY_REFERENCE_NODE = 5
NOTATION_NODE = 12
PROCESSING_INSTRUCTION_NODE = 7
TEXT_NODE = 3
 
class CharacterData(Node)
       
  
Method resolution order:
CharacterData
Node
xml.dom.Node

Methods defined here:
__init__(self, data)
__repr__(self)
appendData(self, arg)
deleteData(self, offset, count)
insertData(self, offset, arg)
replaceData(self, offset, count, arg)
substringData(self, offset, count)

Data and non-method functions defined here:
__doc__ = None
__module__ = 'xml.dom.minidom'

Methods inherited from Node:
__nonzero__(self)
_get_firstChild(self)
_get_lastChild(self)
appendChild(self, node)
cloneNode(self, deep)
hasChildNodes(self)
insertBefore(self, newChild, refChild)
isSameNode(self, other)
normalize(self)
removeChild(self, oldChild)
replaceChild(self, newChild, oldChild)
toprettyxml(self, indent='\t', newl='\n')
toxml(self)
unlink(self)

Properties inherited from Node:
firstChild
First child node, or None.
firstChild getter = _get_firstChild(self)
lastChild
Last child node, or None.
lastChild getter = _get_lastChild(self)

Data and non-method functions inherited from Node:
_debug = 0
_makeParentNodes = 1
allnodes = {}
childNodeTypes = ()
debug = None
namespaceURI = None
ownerDocument = None
parentNode = None

Data and non-method functions inherited from xml.dom.Node:
ATTRIBUTE_NODE = 2
CDATA_SECTION_NODE = 4
COMMENT_NODE = 8
DOCUMENT_FRAGMENT_NODE = 11
DOCUMENT_NODE = 9
DOCUMENT_TYPE_NODE = 10
ELEMENT_NODE = 1
ENTITY_NODE = 6
ENTITY_REFERENCE_NODE = 5
NOTATION_NODE = 12
PROCESSING_INSTRUCTION_NODE = 7
TEXT_NODE = 3
 
class Comment(Node)
       
  
Method resolution order:
Comment
Node
xml.dom.Node

Methods defined here:
__init__(self, data)
writexml(self, writer, indent='', addindent='', newl='')

Data and non-method functions defined here:
__doc__ = None
__module__ = 'xml.dom.minidom'
attributes = None
childNodeTypes = ()
nodeName = '#comment'
nodeType = 8

Methods inherited from Node:
__nonzero__(self)
_get_firstChild(self)
_get_lastChild(self)
appendChild(self, node)
cloneNode(self, deep)
hasChildNodes(self)
insertBefore(self, newChild, refChild)
isSameNode(self, other)
normalize(self)
removeChild(self, oldChild)
replaceChild(self, newChild, oldChild)
toprettyxml(self, indent='\t', newl='\n')
toxml(self)
unlink(self)

Properties inherited from Node:
firstChild
First child node, or None.
firstChild getter = _get_firstChild(self)
lastChild
Last child node, or None.
lastChild getter = _get_lastChild(self)

Data and non-method functions inherited from Node:
_debug = 0
_makeParentNodes = 1
allnodes = {}
debug = None
namespaceURI = None
ownerDocument = None
parentNode = None

Data and non-method functions inherited from xml.dom.Node:
ATTRIBUTE_NODE = 2
CDATA_SECTION_NODE = 4
COMMENT_NODE = 8
DOCUMENT_FRAGMENT_NODE = 11
DOCUMENT_NODE = 9
DOCUMENT_TYPE_NODE = 10
ELEMENT_NODE = 1
ENTITY_NODE = 6
ENTITY_REFERENCE_NODE = 5
NOTATION_NODE = 12
PROCESSING_INSTRUCTION_NODE = 7
TEXT_NODE = 3
 
class DOMImplementation
       
   Methods defined here:
_createDocument(self)
# internal
createDocument(self, namespaceURI, qualifiedName, doctype)
createDocumentType(self, qualifiedName, publicId, systemId)
hasFeature(self, feature, version)

Data and non-method functions defined here:
__doc__ = None
__module__ = 'xml.dom.minidom'
 
class Document(Node)
       
  
Method resolution order:
Document
Node
xml.dom.Node

Methods defined here:
_get_documentElement(self)
appendChild(self, node)
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)
getElementsByTagName(self, name)
getElementsByTagNameNS(self, namespaceURI, localName)
removeChild(self, oldChild)
unlink(self)
writexml(self, writer, indent='', addindent='', newl='')

Properties defined here:
documentElement
Top-level element of this document.
documentElement getter = _get_documentElement(self)

Data and non-method functions defined here:
__doc__ = None
__module__ = 'xml.dom.minidom'
attributes = None
childNodeTypes = (1, 7, 8, 10)
doctype = None
implementation = <xml.dom.minidom.DOMImplementation instance>
nextSibling = None
nodeName = '#document'
nodeType = 9
nodeValue = None
parentNode = None
previousSibling = None

Methods inherited from Node:
__init__(self)
__nonzero__(self)
_get_firstChild(self)
_get_lastChild(self)
cloneNode(self, deep)
hasChildNodes(self)
insertBefore(self, newChild, refChild)
isSameNode(self, other)
normalize(self)
replaceChild(self, newChild, oldChild)
toprettyxml(self, indent='\t', newl='\n')
toxml(self)

Properties inherited from Node:
firstChild
First child node, or None.
firstChild getter = _get_firstChild(self)
lastChild
Last child node, or None.
lastChild getter = _get_lastChild(self)

Data and non-method functions inherited from Node:
_debug = 0
_makeParentNodes = 1
allnodes = {}
debug = None
namespaceURI = None
ownerDocument = None

Data and non-method functions inherited from xml.dom.Node:
ATTRIBUTE_NODE = 2
CDATA_SECTION_NODE = 4
COMMENT_NODE = 8
DOCUMENT_FRAGMENT_NODE = 11
DOCUMENT_NODE = 9
DOCUMENT_TYPE_NODE = 10
ELEMENT_NODE = 1
ENTITY_NODE = 6
ENTITY_REFERENCE_NODE = 5
NOTATION_NODE = 12
PROCESSING_INSTRUCTION_NODE = 7
TEXT_NODE = 3
 
class DocumentFragment(Node)
       
  
Method resolution order:
DocumentFragment
Node
xml.dom.Node

Data and non-method functions defined here:
__doc__ = None
__module__ = 'xml.dom.minidom'
attributes = None
childNodeTypes = (1, 3, 4, 5, 7, 8, 12)
nodeName = '#document-fragment'
nodeType = 11
nodeValue = None
parentNode = None

Methods inherited from Node:
__init__(self)
__nonzero__(self)
_get_firstChild(self)
_get_lastChild(self)
appendChild(self, node)
cloneNode(self, deep)
hasChildNodes(self)
insertBefore(self, newChild, refChild)
isSameNode(self, other)
normalize(self)
removeChild(self, oldChild)
replaceChild(self, newChild, oldChild)
toprettyxml(self, indent='\t', newl='\n')
toxml(self)
unlink(self)

Properties inherited from Node:
firstChild
First child node, or None.
firstChild getter = _get_firstChild(self)
lastChild
Last child node, or None.
lastChild getter = _get_lastChild(self)

Data and non-method functions inherited from Node:
_debug = 0
_makeParentNodes = 1
allnodes = {}
debug = None
namespaceURI = None
ownerDocument = None

Data and non-method functions inherited from xml.dom.Node:
ATTRIBUTE_NODE = 2
CDATA_SECTION_NODE = 4
COMMENT_NODE = 8
DOCUMENT_FRAGMENT_NODE = 11
DOCUMENT_NODE = 9
DOCUMENT_TYPE_NODE = 10
ELEMENT_NODE = 1
ENTITY_NODE = 6
ENTITY_REFERENCE_NODE = 5
NOTATION_NODE = 12
PROCESSING_INSTRUCTION_NODE = 7
TEXT_NODE = 3
 
class DocumentType(Node)
       
  
Method resolution order:
DocumentType
Node
xml.dom.Node

Methods defined here:
__init__(self, qualifiedName)

Data and non-method functions defined here:
__doc__ = None
__module__ = 'xml.dom.minidom'
attributes = None
entities = None
internalSubset = None
name = None
nodeType = 10
nodeValue = None
notations = None
publicId = None
systemId = None

Methods inherited from Node:
__nonzero__(self)
_get_firstChild(self)
_get_lastChild(self)
appendChild(self, node)
cloneNode(self, deep)
hasChildNodes(self)
insertBefore(self, newChild, refChild)
isSameNode(self, other)
normalize(self)
removeChild(self, oldChild)
replaceChild(self, newChild, oldChild)
toprettyxml(self, indent='\t', newl='\n')
toxml(self)
unlink(self)

Properties inherited from Node:
firstChild
First child node, or None.
firstChild getter = _get_firstChild(self)
lastChild
Last child node, or None.
lastChild getter = _get_lastChild(self)

Data and non-method functions inherited from Node:
_debug = 0
_makeParentNodes = 1
allnodes = {}
childNodeTypes = ()
debug = None
namespaceURI = None
ownerDocument = None
parentNode = None

Data and non-method functions inherited from xml.dom.Node:
ATTRIBUTE_NODE = 2
CDATA_SECTION_NODE = 4
COMMENT_NODE = 8
DOCUMENT_FRAGMENT_NODE = 11
DOCUMENT_NODE = 9
DOCUMENT_TYPE_NODE = 10
ELEMENT_NODE = 1
ENTITY_NODE = 6
ENTITY_REFERENCE_NODE = 5
NOTATION_NODE = 12
PROCESSING_INSTRUCTION_NODE = 7
TEXT_NODE = 3
 
class Element(Node)
       
  
Method resolution order:
Element
Node
xml.dom.Node

Methods defined here:
__init__(self, tagName, namespaceURI=None, prefix=None, localName=None)
__repr__(self)
_get_attributes(self)
cloneNode(self, deep)
getAttribute(self, attname)
getAttributeNS(self, namespaceURI, localName)
getAttributeNode(self, attrname)
getAttributeNodeNS(self, namespaceURI, localName)
getElementsByTagName(self, name)
getElementsByTagNameNS(self, namespaceURI, localName)
hasAttribute(self, name)
hasAttributeNS(self, namespaceURI, localName)
hasAttributes(self)
removeAttribute(self, name)
removeAttributeNS(self, namespaceURI, localName)
removeAttributeNode(self, node)
removeAttributeNodeNS = removeAttributeNode(self, node)
setAttribute(self, attname, value)
setAttributeNS(self, namespaceURI, qualifiedName, value)
setAttributeNode(self, attr)
setAttributeNodeNS = setAttributeNode(self, attr)
unlink(self)
writexml(self, writer, indent='', addindent='', newl='')

Properties defined here:
attributes
NamedNodeMap of attributes on the element.
attributes getter = _get_attributes(self)

Data and non-method functions defined here:
__doc__ = None
__module__ = 'xml.dom.minidom'
childNodeTypes = (1, 7, 8, 3, 4, 5)
nextSibling = None
nodeType = 1
previousSibling = None

Methods inherited from Node:
__nonzero__(self)
_get_firstChild(self)
_get_lastChild(self)
appendChild(self, node)
hasChildNodes(self)
insertBefore(self, newChild, refChild)
isSameNode(self, other)
normalize(self)
removeChild(self, oldChild)
replaceChild(self, newChild, oldChild)
toprettyxml(self, indent='\t', newl='\n')
toxml(self)

Properties inherited from Node:
firstChild
First child node, or None.
firstChild getter = _get_firstChild(self)
lastChild
Last child node, or None.
lastChild getter = _get_lastChild(self)

Data and non-method functions inherited from Node:
_debug = 0
_makeParentNodes = 1
allnodes = {}
debug = None
namespaceURI = None
ownerDocument = None
parentNode = None

Data and non-method functions inherited from xml.dom.Node:
ATTRIBUTE_NODE = 2
CDATA_SECTION_NODE = 4
COMMENT_NODE = 8
DOCUMENT_FRAGMENT_NODE = 11
DOCUMENT_NODE = 9
DOCUMENT_TYPE_NODE = 10
ELEMENT_NODE = 1
ENTITY_NODE = 6
ENTITY_REFERENCE_NODE = 5
NOTATION_NODE = 12
PROCESSING_INSTRUCTION_NODE = 7
TEXT_NODE = 3
 
class NamedNodeMap
      The attribute list is a transient interface to the underlying
dictionaries.  Mutations here will change the underlying element's
dictionary.
 
Ordering is imposed artificially and does not reflect the order of
attributes as found in an input document.
 
   Methods defined here:
__cmp__(self, other)
__delitem__(self, attname_or_tuple)
__getitem__(self, attname_or_tuple)
#FIXME: is it appropriate to return .value?
__init__(self, attrs, attrsNS, ownerElement)
__len__(self)
__setitem__(self, attname, value)
# same as set
get(self, name, value=None)
item(self, index)
items(self)
itemsNS(self)
keys(self)
keysNS(self)
setNamedItem(self, node)
setNamedItemNS(self, node)
values(self)

Properties defined here:
length
Number of nodes in the NamedNodeMap.
length getter lambda self

Data and non-method functions defined here:
__doc__ = 'The attribute list is a transient interface to ... attributes as found in an input document.\n '
__module__ = 'xml.dom.minidom'
 
class Node(xml.dom.Node)
       
   Methods defined here:
__init__(self)
__nonzero__(self)
_get_firstChild(self)
_get_lastChild(self)
appendChild(self, node)
cloneNode(self, deep)
hasChildNodes(self)
insertBefore(self, newChild, refChild)
isSameNode(self, other)
normalize(self)
removeChild(self, oldChild)
replaceChild(self, newChild, oldChild)
toprettyxml(self, indent='\t', newl='\n')
toxml(self)
unlink(self)

Properties defined here:
firstChild
First child node, or None.
firstChild getter = _get_firstChild(self)
lastChild
Last child node, or None.
lastChild getter = _get_lastChild(self)

Data and non-method functions defined here:
__doc__ = None
__module__ = 'xml.dom.minidom'
_debug = 0
_makeParentNodes = 1
allnodes = {}
childNodeTypes = ()
debug = None
namespaceURI = None
ownerDocument = None
parentNode = None

Data and non-method functions inherited from xml.dom.Node:
ATTRIBUTE_NODE = 2
CDATA_SECTION_NODE = 4
COMMENT_NODE = 8
DOCUMENT_FRAGMENT_NODE = 11
DOCUMENT_NODE = 9
DOCUMENT_TYPE_NODE = 10
ELEMENT_NODE = 1
ENTITY_NODE = 6
ENTITY_REFERENCE_NODE = 5
NOTATION_NODE = 12
PROCESSING_INSTRUCTION_NODE = 7
TEXT_NODE = 3
 
class NodeList(__builtin__.list)
       
  
Method resolution order:
NodeList
__builtin__.list
__builtin__.object

Methods defined here:
item(self, index)

Properties defined here:
length
The number of nodes in the NodeList.
length getter lambda self

Data and non-method functions defined here:
__dict__ = <dict-proxy object>
__module__ = 'xml.dom.minidom'
__weakref__ = <member '__weakref__' of 'NodeList' objects>

Methods inherited from __builtin__.list:
__add__(...)
x.__add__(y) <==> x+y
__contains__(...)
x.__contains__(y) <==> y in x
__delitem__(...)
x.__delitem__(y) <==> del x[y]
__delslice__(...)
x.__delslice__(i, j) <==> del x[i:j]
__eq__(...)
x.__eq__(y) <==> x==y
__ge__(...)
x.__ge__(y) <==> x>=y
__getattribute__(...)
x.__getattribute__('name') <==> x.name
__getitem__(...)
x.__getitem__(y) <==> x[y]
__getslice__(...)
x.__getslice__(i, j) <==> x[i:j]
__gt__(...)
x.__gt__(y) <==> x>y
__hash__(...)
x.__hash__() <==> hash(x)
__iadd__(...)
x.__iadd__(y) <==> x+=y
__imul__(...)
x.__imul__(y) <==> x*=y
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
__le__(...)
x.__le__(y) <==> x<=y
__len__(...)
x.__len__() <==> len(x)
__lt__(...)
x.__lt__(y) <==> x<y
__mul__(...)
x.__mul__(n) <==> x*n
__ne__(...)
x.__ne__(y) <==> x!=y
__repr__(...)
x.__repr__() <==> repr(x)
__rmul__(...)
x.__rmul__(n) <==> n*x
__setitem__(...)
x.__setitem__(i, y) <==> x[i]=y
__setslice__(...)
x.__setslice__(i, j, y) <==> x[i:j]=y
append(...)
L.append(object) -- append object to end
count(...)
L.count(value) -> integer -- return number of occurrences of value
extend(...)
L.extend(list) -- extend list by appending list elements
index(...)
L.index(value) -> integer -- return index of first occurrence of value
insert(...)
L.insert(index, object) -- insert object before index
pop(...)
L.pop([index]) -> item -- remove and return item at index (default last)
remove(...)
L.remove(value) -- remove first occurrence of value
reverse(...)
L.reverse() -- reverse *IN PLACE*
sort(...)
L.sort([cmpfunc]) -- sort *IN PLACE*; if given, cmpfunc(x, y) -> -1, 0, 1

Data and non-method functions inherited from __builtin__.list:
__new__ = <built-in method __new__ of type object>
T.__new__(S, ...) -> a new object with type S, a subtype of T

Methods inherited from __builtin__.object:
__delattr__(...)
x.__delattr__('name') <==> del x.name
__reduce__(...)
helper for pickle
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
__str__(...)
x.__str__() <==> str(x)

Data and non-method functions inherited from __builtin__.object:
__class__ = <type 'type'>
the object's class
 
class ProcessingInstruction(Node)
       
  
Method resolution order:
ProcessingInstruction
Node
xml.dom.Node

Methods defined here:
__init__(self, target, data)
writexml(self, writer, indent='', addindent='', newl='')

Data and non-method functions defined here:
__doc__ = None
__module__ = 'xml.dom.minidom'
attributes = None
childNodeTypes = ()
nodeType = 7

Methods inherited from Node:
__nonzero__(self)
_get_firstChild(self)
_get_lastChild(self)
appendChild(self, node)
cloneNode(self, deep)
hasChildNodes(self)
insertBefore(self, newChild, refChild)
isSameNode(self, other)
normalize(self)
removeChild(self, oldChild)
replaceChild(self, newChild, oldChild)
toprettyxml(self, indent='\t', newl='\n')
toxml(self)
unlink(self)

Properties inherited from Node:
firstChild
First child node, or None.
firstChild getter = _get_firstChild(self)
lastChild
Last child node, or None.
lastChild getter = _get_lastChild(self)

Data and non-method functions inherited from Node:
_debug = 0
_makeParentNodes = 1
allnodes = {}
debug = None
namespaceURI = None
ownerDocument = None
parentNode = None

Data and non-method functions inherited from xml.dom.Node:
ATTRIBUTE_NODE = 2
CDATA_SECTION_NODE = 4
COMMENT_NODE = 8
DOCUMENT_FRAGMENT_NODE = 11
DOCUMENT_NODE = 9
DOCUMENT_TYPE_NODE = 10
ELEMENT_NODE = 1
ENTITY_NODE = 6
ENTITY_REFERENCE_NODE = 5
NOTATION_NODE = 12
PROCESSING_INSTRUCTION_NODE = 7
TEXT_NODE = 3
 
class Text(CharacterData)
       
  
Method resolution order:
Text
CharacterData
Node
xml.dom.Node

Methods defined here:
splitText(self, offset)
writexml(self, writer, indent='', addindent='', newl='')

Data and non-method functions defined here:
__doc__ = None
__module__ = 'xml.dom.minidom'
attributes = None
childNodeTypes = ()
nodeName = '#text'
nodeType = 3

Methods inherited from CharacterData:
__init__(self, data)
__repr__(self)
appendData(self, arg)
deleteData(self, offset, count)
insertData(self, offset, arg)
replaceData(self, offset, count, arg)
substringData(self, offset, count)

Methods inherited from Node:
__nonzero__(self)
_get_firstChild(self)
_get_lastChild(self)
appendChild(self, node)
cloneNode(self, deep)
hasChildNodes(self)
insertBefore(self, newChild, refChild)
isSameNode(self, other)
normalize(self)
removeChild(self, oldChild)
replaceChild(self, newChild, oldChild)
toprettyxml(self, indent='\t', newl='\n')
toxml(self)
unlink(self)

Properties inherited from Node:
firstChild
First child node, or None.
firstChild getter = _get_firstChild(self)
lastChild
Last child node, or None.
lastChild getter = _get_lastChild(self)

Data and non-method functions inherited from Node:
_debug = 0
_makeParentNodes = 1
allnodes = {}
debug = None
namespaceURI = None
ownerDocument = None
parentNode = None

Data and non-method functions inherited from xml.dom.Node:
ATTRIBUTE_NODE = 2
CDATA_SECTION_NODE = 4
COMMENT_NODE = 8
DOCUMENT_FRAGMENT_NODE = 11
DOCUMENT_NODE = 9
DOCUMENT_TYPE_NODE = 10
ELEMENT_NODE = 1
ENTITY_NODE = 6
ENTITY_REFERENCE_NODE = 5
NOTATION_NODE = 12
PROCESSING_INSTRUCTION_NODE = 7
TEXT_NODE = 3
 
Functions
            
_doparse(func, args, kwargs)
_getElementsByTagNameHelper(parent, name, rc)
_getElementsByTagNameNSHelper(parent, nsURI, localName, rc)
_get_StringIO()
_nssplit(qualifiedName)
_write_data(writer, data)
Writes datachars to writer.
getDOMImplementation()
parse(*args, **kwargs)
Parse a file into a DOM by filename or file object.
parseString(*args, **kwargs)
Parse a file into a DOM from a string.
 
Data
             EMPTY_NAMESPACE = None
_StringTypes = (<type 'str'>, <type 'unicode'>)
__file__ = '/usr/lib/python2.2/xml/dom/minidom.pyc'
__name__ = 'xml.dom.minidom'