Home | Trees | Indices | Help |
|
---|
|
object --+ | XMLParser
Generator-based XML parser based on roughly equivalent code in Kid/ElementTree.
The parsing is initiated by iterating over the parser object:
>>> parser = XMLParser(StringIO('<root id="2"><child>Foo</child></root>')) >>> for kind, data, pos in parser: ... print kind, data START (QName(u'root'), Attrs([(QName(u'id'), u'2')])) START (QName(u'child'), Attrs()) TEXT Foo END child END root
Instance Methods | |||
|
|||
|
|||
|
|||
Inherited from |
Class Variables | |
name =
|
|
value = 243
|
Properties | |
Inherited from |
Method Details |
|
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Jul 9 18:16:21 2008 | http://epydoc.sourceforge.net |