Newbie to XML in Python

David Fraser davidf at sjsoft.com
Fri Aug 20 10:39:45 EDT 2004


Jens Thiede wrote:
> XML in Python doesn't seem easy or intuitive. All I need to do, is to 
> interpret a small piece of XML in which I store data for the contents of 
> an autorun menu. What is the quickest/most effective way to do this?
> 
> What should I use for this; SAX or DOM - and which parser of ether one, 
> or niether (if there is a third option)?
> 
> What are your views,
> 
> Jens.

Hi Jens

I use elementtree for this. If you want have a look at ooswitchlang in 
the translate.sourceforge.net cvs - src/translate/tools directory :-)

David



More information about the Python-list mailing list