Home | Trees | Index | Help |
|
---|
Package pyxmpp :: Module xmlextra :: Class StreamReader |
|
A simple push-parser interface for XML streams.
Method Summary | |
---|---|
Initialize `StreamReader` object. | |
Get the document being parsed. | |
Pass a string to the stream parser. |
Method Details |
---|
__init__(self,
handler)
|
doc(self)Get the document being parsed. :return: the document. :returntype: `libxml2.xmlNode` |
feed(self, s)Pass a string to the stream parser. Parameters: - `s`: string to parse. Types: - `s`: `str` :return: `None` on EOF, `False` when whole input was parsed and `True` if there is something still left in the buffer. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Wed May 31 22:37:01 2006 | http://epydoc.sf.net |