Twisted Python comes with an XMPP capable XML parser called Domish. Domish has a highly optimized, pure Python XML serializer, but even as optimized as it is, it is still quite slow.
cserialize is a Domish serializer written in C, and is approximately 4 times as fast as the pure Python one.
This code is copyright (c) 2008 by Jack Moffitt jack@metajack.im and
is available under the MIT
license. See
LICENSE.txt
for details.