Popular recipes by Eli Golovinsky http://code.activestate.com/recipes/users/2770692/2008-10-10T12:29:33-07:00ActiveState Code RecipesElementTree CDATA support (Python) 2008-10-10T12:29:33-07:00Eli Golovinskyhttp://code.activestate.com/recipes/users/2770692/http://code.activestate.com/recipes/576536-elementtree-cdata-support/ <p style="color: grey"> Python recipe 576536 by <a href="/recipes/users/2770692/">Eli Golovinsky</a> (<a href="/recipes/tags/elementtree/">elementtree</a>, <a href="/recipes/tags/xml/">xml</a>). Revision 2. </p> <p>This recipe monkey-patches the ElementTree library to allow correct parsing and generation of CDATA sections.</p> A stoppable XMLRPCServer (Python) 2007-05-17T02:04:48-07:00Eli Golovinskyhttp://code.activestate.com/recipes/users/2770692/http://code.activestate.com/recipes/520583-a-stoppable-xmlrpcserver/ <p style="color: grey"> Python recipe 520583 by <a href="/recipes/users/2770692/">Eli Golovinsky</a> (<a href="/recipes/tags/network/">network</a>). </p> <p>SimpleXMLRPCServer is too simple. It's serve_forever function doesn't allow it to be incorporated into anything that needs to be gracefully stopped at some point. This code extends SimpleXMLRPCServer with the server_until_stopped and stop_serving functions.</p>