Package sax
source code
The sax module contains a collection of classes that provide a
(D)ocument (O)bject (M)odel representation of an XML document. The goal
is to provide an easy, intuative interface for managing XML documents.
Although, the term, DOM, is used above, this model is far
better.
XML namespaces in suds are represented using a (2) element tuple
containing the prefix and the URI. Eg: ('tns', 'http://myns')
|
Namespace
The namespace class represents XML namespaces.
|
Encoder
|
encoder = Encoder()
A pluggable XML special character processor used to
encode/decode strings.
|
|
__package__ = ' suds.sax '
|
Split the name into a tuple (prefix, name). The first
element in the tuple is None when the name does't have a
prefix.
- Parameters:
name (basestring) - A node name containing an optional prefix.
- Returns: (prefix, name)
- A tuple containing the (2) parts of name
|