Home | Trees | Indices | Help |
|
---|
|
|
|||
StreamHandler Base class for stream handler. |
|||
_SAXCallback SAX events handler for the python-only stream parser. |
|||
_PythonReader Python-only stream reader. |
|||
StreamReader A simple push-parser interface for XML streams. |
|
|||
|
|||
|
|||
|
|||
libxml2.xmlNs
|
|
||
unicode
|
|
||
|
|||
|
|||
|
|||
|
|||
string
|
|
|
|||
common_doc = libxml2.newDoc("1.0")
|
|||
common_root = common_doc.newChild(None, "root", None)
|
|||
COMMON_NS =
|
|||
common_ns = common_root.newNs(COMMON_NS, None)
|
|||
logger = logging.getLogger("pyxmpp.xmlextra")
|
|||
pure_python = False
|
|||
evil_characters_re = re.compile(r'
|
|||
utf8_replacement_char =
|
|||
bad_nsdef_replace_re = re.compile(r'^
|
|||
__package__ =
|
Imports: sys, libxml2, threading, re, logging, StreamParseError, _xmlextra, error, _create_reader
|
Get namespace of node. assigned.
:returntype:
|
Replace namespaces in a whole subtree. The old namespace declaration will be removed if present on the Both old_ns and new_ns may be None meaning no namespace set.
|
|
|
Iterate over sibling XML nodes. All types of nodes will be returned (not only the elements). Usually used to iterade over node's children like this: xml_node_iter(node.children)
|
Iterate over sibling XML elements. Non-element nodes will be skipped. Usually used to iterade over node's children like this: xml_node_iter(node.children)
|
Iterate over sibling XML elements. Only elements in the given namespace will be returned. Usually used to iterade over node's children like this: xml_node_iter(node.children)
|
Serialize an XML element making sure the result is sane. Remove control characters and invalid namespace declarations from the result string.
|
|
bad_nsdef_replace_re
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sun May 8 13:34:58 2011 | http://epydoc.sourceforge.net |