Re: Trouble writing to database: RSS-reader



Arne a écrit :
On 21 Jan, 19:15, Bruno Desthuilliers <bruno.
42.desthuilli...@xxxxxxxxxxxxxxxxxxxxxxxx> 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" ?-)
.



Relevant Pages

  • Re: Trouble writing to database: RSS-reader
    ... On Jan 21, 9:15 pm, Bruno Desthuilliers ... just can't get nowhere trying to parse it this way. ... I'd rather go for a sax parser. ... an in-memory representation of the whole document tree. ...
    (comp.lang.python)
  • MSXML SAX parsing with C code
    ... I am trying to parse an xml file using MSXML SAX parser in C. ... Please guide me on how to proceed with parsing. ...
    (microsoft.public.vc.language)
  • xerces/SAX xml search
    ... find locations (line/column) of certain elements and attributes within ... will search through an xml file as it parses. ... SAX parser and an empty handler. ... the parse search. ...
    (comp.text.xml)
  • Re: parseing an xml string
    ... If you need to "step through" XML you should use an SAX Parser. ... There is a free SAX Parser that comes with the Visual Basic Resource Kit I ... > I have an xml document loaded into a string that I need to parse. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: parseing an xml string
    ... If you need to "step through" XML you should use an SAX Parser. ... There is a free SAX Parser that comes with the Visual Basic Resource Kit I ... > I have an xml document loaded into a string that I need to parse. ...
    (microsoft.public.dotnet.languages.vb)