[Twisted-Python] xml library in twisted

Atilla theatilla at gmail.com
Mon Mar 10 08:17:00 EDT 2008

On 04/03/2008, Raj kumar <k_r_a_j_kumar at yahoo.co.in> wrote:
> Hi all,
> I'm dealing with xml files in a twisted application,
> can any one suggest me the best xml library in twisted?
> Previously i used  twisted.web.microdom and twisted.web.minidom but they
> don't have much of the functionalities....
> Is there any other xml library in twisted which makes it easy with lot of
> options?
> I wanted to create a xml file like this...
> <game>
>     <player1>
>            <stuff>
>            </stuff>
>     </player1>
>     <player2>
>            <stuff>
>            </stuff>
>     </player2>
> </game>
> and want to access that player stuff directly..(like a tree structure)
> Thank you in advance.

If you need powerful interfaces you could take a look at libxml, with
the lxml python bindings. Check http://codespeak.net/lxml/ .

More information about the Twisted-Python mailing list