Home | Trees | Index | Help |
|
---|
Package pyxmpp :: Module xmlextra |
|
Extension to libxml2 for XMPP stream and stanza processing
Classes | |
---|---|
StreamHandler |
Base class for stream handler. |
StreamReader |
A simple push-parser interface for XML streams. |
Exceptions | |
---|---|
StreamParseError |
Exception raised when invalid XML is being processed. |
Function Summary | |
---|---|
Namespace of an XML node. | |
Return namespace URI of an XML node. | |
Remove control characters (not allowed in XML) from a string. | |
Replace namespaces in a whole subtree. | |
Serialize an XML element making sure the result is sane. | |
Iterate over sibling XML elements. | |
Iterate over sibling XML elements. | |
Iterate over sibling XML nodes. |
Variable Summary | |
---|---|
str |
__revision__ = '$Id: xmlextra.py,v 1.15 2004/10/11 18:33...
|
SRE_Pattern |
bad_nsdef_replace_re = ^([^<]*<[^><]*\s+)(xmlns=(("[^"]*...
|
xmlDoc |
common_doc = <xmlDoc (None) object at 0x-4888e134>
|
str |
COMMON_NS = 'http://pyxmpp.jabberstudio.org/xmlns/common...
|
xmlNs |
common_ns = <xmlNs (None) object at 0x-4888e074>
|
xmlNode |
common_root = <xmlNode (root) object at 0x-4888e094>
|
SRE_Pattern |
evil_characters_re = [ |