| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
MemberHelper
|
|||
|
__init__(self,
collection) x.__init__(...) initializes x; see x.__class__.__doc__ for signature... |
||
|
initiate(self,
id) Creates a default Atom entry document with its id, published, updated and edited children set. |
||
|
add_element(self,
name,
content=None,
attributes=None,
prefix=None,
ns=None,
parent=None) ... |
||
|
copy_element(self,
name,
source=None,
destination=None,
ns=None) ... |
||
|
copy_elements(self,
name,
source=None,
destination=None,
ns=None) ... |
||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
Creates a default Atom entry document with its id, published, updated and edited children set. If the collection has a xml_base attribute set it will also set it. Keyword argument: id -- the identifier of the entry (unicode) |
Add a child to an element Keyword arguments: name -- name of the element content -- content of the element attributes -- dictionnary of attributes to set prefix -- XML prefix (if not provided defaults to self.entry.xml_prefix) ns -- XML namespace (if not provided defaults to self.entry.xml_ns) parent -- if provided the child will be attached to parent, otherwiseparent will default to self.entry |
Copy an element into another element Keyword arguments: name -- name of the element to copy source -- element containing a child 'name' destination -- element to which attached the copy ns -- XML namespace to match (if not provided defaults to self.entry.xml_ns) |
Copy a list of elements into another element Keyword arguments: name -- name of the element to copy source -- element containing a child 'name' destination -- element to which attached the copy ns -- XML namespace to match (if not provided defaults to self.entry.xml_ns) |
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0alpha3 on Sat Nov 18 23:31:57 2006 | http://epydoc.sourceforge.net |