[XML-SIG] An inbound email security scan detected unscannable content in a message sent from your address (SYM:42621808434095427799)

2005-01-11 Thread administrator
Subject of the message: Re: Your text Recipient of the message: info ___ XML-SIG maillist - XML-SIG@python.org http://mail.python.org/mailman/listinfo/xml-sig

[XML-SIG] ANN: cElementTree 0.8 (january 11, 2005)

2005-01-11 Thread Fredrik Lundh
effbot.org proudly presents the cElementTree library, a fast and very efficient implementation of the ElementTree API, for Python 2.1 and later. On typical documents, it's 15-20 times faster than the Python version of ElementTree, and uses 2-5 times less memory. Here are some benchmark figures, u

[XML-SIG] Help writing out xml

2005-01-11 Thread Willis
I'm writing a script that edits and writes xml to a gaim(http://gaim.sourceforge.net) configuration file. However the problem I'm having is I've found no way of outputting xml in python that preserves text nodes. i.e. gaim writes ... willis ... in it's xml file somehow, and the best I can get p

Re: [XML-SIG] Help writing out xml

2005-01-11 Thread Harry George
An option is to write the xml manually. That is, each object in your "model" (as in model-view-controller) has a "to_xml" method which takes a fileobject (sys.stdout is default), and writes itself in XML to that file. Indents are controlled by some formatting mechanism. I personally use my "