summaryrefslogtreecommitdiff
path: root/sleekxmpp/xmlstream/tostring
AgeCommit message (Collapse)Author
2011-08-04Clean up and unify tostring once and for all.Lance Stout
Packaging for Python3 just got easier.
2011-01-27Update tostring methods.Lance Stout
Will now always show top-level namespace, unless it is the same as the stream's default namespace. Also added the XMPP stream namespace to the namespace map as 'stream'.
2010-12-07Add support for using xml:lang values.Lance Stout
Support is only for adding literal XML content to stanzas. Full support for things like multiple message bodies with different xml:lang values is still in the works.
2010-10-21Fixed mixed text and elements bug in tostring.Lance Stout
XML of the form <a>foo <b>bar</b> baz</a> was outputted as <a>foo <b>bar</b> baz baz</a>. Includes unit test.
2010-10-01Fixed tostring bug when using mapped namespaces.Lance Stout
2010-08-05Update tostring docs to clarify what the xmlns and stanza_ns parameters do.Lance Stout
2010-08-05Replaced the ToString class with a tostring function.Lance Stout
The sleekxmpp.xmlstream.tostring and sleekxmpp.xmlstream.tostring26 packages have been merged to sleekxmpp.xmlstream.tostring. The __init__.py file will import the appropriate tostring function depending on the Python version. The setup.py file has been updated with the package changes. ElementBase is now a direct descendent of object and does not subclass ToString. Stanza objects now return their XML contents for __repr__.
2010-08-04Modified sleekxmpp.xmlstream.tostring to import ToString class based on ↵Lance Stout
Python version. The package sleekxmpp.xmlstream.tostring26 remains for now until stanzabase is updated, but is no longer needed.
2010-01-29fixed setup.py issue with unicode in 3.xNathan Fritz