[Twisted-Python] xml

Lee Connell lee.a.connell at gmail.com
Sat Jan 27 18:34:28 EST 2007


Jean-Paul,

Thanks for your input,

I looked at them all, AMP looked pretty cool, but that's just something that
is enhancing XML-RPC correct?  Netstrings looked like a viable solution, but
I like XML formatting better.  

I am not sure if what I originally asked was correct, I am not designing
some new protocol, all I am doing is looking for something to wrap up my
packets which hold some commands and data, very basic stuff, is that
considered writing my own protocol?

Anyways, it looks like minidom will do what I want as far as parsing strings
and creating DOM's.  

Thank you!

////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
Rather than developing a new protocol, have you considered using an existing
general purpose protocol to accomplish your goals?

For example, XMPP is an XML-based protocol which is already implemented in
Twisted.  You could use it to send messages.

Also, why are you interested in XML specifically?  Netstrings, AMP, or PB
might also be suitable.

Almost certainly, at least one of these is suited for the problem you are
trying to solve, and it is always beneficial to avoid implementing a new
protocol when possible.

Jean-Paul

_______________________________________________
Twisted-Python mailing list
Twisted-Python at twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.11/652 - Release Date: 1/25/2007
3:32 PM
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.12/653 - Release Date: 1/26/2007
11:11 AM
 





More information about the Twisted-Python mailing list