Trouble writing to database: RSS-reader

Bruno Desthuilliers bdesth.quelquechose at free.quelquepart.fr
Mon Jan 21 16:15:36 EST 2008


Arne a écrit :
> On 21 Jan, 19:15, Bruno Desthuilliers <bruno.
> 42.desthuilli... at wtf.websiteburo.oops.com> wrote:
> 
>> This should not prevent you from learning how to properly parse XML
>> (hint: with an XML parser). XML is *not* a line-oriented format, so you
>> just can't get nowhere trying to parse it this way.
>>
>> HTH
> 
> Do you think i should use xml.dom.minidom for this? 

I'd rather go for a sax parser. A dom parser is only useful if you need 
an in-memory representation of the whole document tree.

> 
> So, I shouldn't use this techinicke (probably wrong spelled)

May I suggest "technic" ?-)



More information about the Python-list mailing list