Re: stripping fields from xml file into a csv

2010-02-28 Thread Hal Styli
On 28 Feb, 19:20, Stefan Behnel wrote: > Hai Vu, 28.02.2010 17:41: > > > By the way, Stefan, I am using Python 2.6. Do you know the differences > > between ElementTree and cElementTree? > > Use cElementTree, it's implemented in C and a lot faster and more memory > friendly. > > http://effbot.org/z

stripping fields from xml file into a csv

2010-02-27 Thread Hal Styli
Hello, Can someone please help. I have a sed solution to the problems below but would like to rewrite in python... I need to strip out some data from a quirky xml file into a csv: from something like this < . cust="dick" product="eggs" ... quantity="12" > < cust="tom" pr