Re: [Tutor] Using Beautiful Soup to extract tag names

2006-03-14 Thread Kent Johnson
Ed Singleton wrote: I have (unfortunately) received some data in XML format. I need to use it in Python, preferably as a list of dictionaries. The data is a flat representation of a table, in the style: tablename fieldname1Some Data/fieldname1 fieldname2Some Data/fieldname ...

Re: [Tutor] Using Beautiful Soup to extract tag names

2006-03-14 Thread Ed Singleton
As always Kent, you're amazing. That will do perfectly. (Though the ElementTree documentation seems a bit difficult to get through. I'm sure I'll get through it eventually). Thanks Ed On 14/03/06, Kent Johnson [EMAIL PROTECTED] wrote: Ed Singleton wrote: I have (unfortunately) received

Re: [Tutor] Using Beautiful Soup to extract tag names

2006-03-14 Thread Kent Johnson
Ed Singleton wrote: As always Kent, you're amazing. Thank you! That will do perfectly. (Though the ElementTree documentation seems a bit difficult to get through. I'm sure I'll get through it eventually). Unfortunately I have to agree with you on this one. ET is going to be part of the