Package bridge :: Class Document
[show private | hide private]
[frames | no frames]

Type Document

object --+    
         |    
   Element --+
             |
            Document


Method Summary
  __init__(self)
  __repr__(self)
  get_root(self)
    Inherited from Element
  __copy__(self)
  __delattr__(self, name)
deletes 'name' instance of Element.
  __iter__(self)
  __str__(self)
  __unicode__(self)
  clone(self)
  collapse(self, separator)
Collapses all content of this element and its entire subtree.
  filtrate(self, some_filter, **kwargs)
Applies a filter to this element.
  forget(self)
deletes this instance of Element.
  get_attribute(self, name)
  get_attribute_ns(self, name, namespace)
  get_child(self, name, ns)
Returns the child element named 'name', None if not found.
  get_children(self, name, ns, recursive)
Returns the all children of this element named 'name'
  has_child(self, name, ns)
Checks if this element has a child named 'name' in its children elements
  has_element(self, name, ns)
Checks if this element has 'name' attribute
  insert_after(self, after_element, element)
Insert 'element' right after 'after_element'.
  insert_before(self, before_element, element)
Insert 'element' right before 'before_element'.
  is_mixed_content(self)
Returns True if the direct children of this element makes are in mixed content.
  load(self, source, prefixes, as_attribute, as_list, as_attribute_of_element, parser)
Load source into an Element instance (Class method)
  update_prefix(self, dst, srcns, dstns, update_attributes)
Updates prefixes of all the element of document matching (src, srcns)
  validate(self, validator, **kwargs)
Applies a validator on this element
  xml(self, indent, encoding, prefixes, omit_declaration, parser)
Serializes as a string this element
    Inherited from object
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value

Property Summary
  xml_root

Class Variable Summary
    Inherited from Element
NoneType as_attribute = None                                                                  
NoneType as_list = None                                                                  
str encoding = 'UTF-8'

Property Details

xml_root

Get Method:
get_root(self)

Generated by Epydoc 2.1 on Tue May 22 18:09:00 2007 http://epydoc.sf.net