| Home | Trees | Index | Help |
|
|---|
| Module xmlobject :: Class XMLFile |
|
Allows an xml file to be viewed and operated on as a python object.
(If you're viewing the epydoc-generated HTML documentation, click the 'show private' link at the top right of this page to see all the methods)
Holds the root node in the .root attribute, also in an attribute with the same name as this root node.| Method Summary | |
|---|---|
Create an XMLFile | |
__getitem__(self,
idx)
| |
returns number of child nodes | |
Saves the document. | |
save this time, and all subsequent times, to filename 'path' | |
toxml(self)
| |
| Method Details |
|---|
__init__(self,
**kw)
|
__len__(self)
returns number of child nodes
|
save(self, where=None, obj=None)Saves the document. If argument 'where' is given, saves to it, otherwise tries to save to the original given 'path' (or barfs) Value can be a string (taken to be a file path), or an open file object. |
saveAs(self, path)save this time, and all subsequent times, to filename 'path' |
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Sun Apr 16 17:53:16 2006 | http://epydoc.sf.net |