[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: Simple (and quick) Xml Reader
From:       dirk.schoenberger () sz-online ! de
Date:       2004-04-20 12:32:03
Message-ID: 59201.217.232.118.47.1082464323.squirrel () webmail ! sz-online ! de
[Download RAW message or body]

> On Tue, 20 Apr 2004 06:52 am, benoit.vautrin@free.fr wrote:
>> For tose would could be interrested, I've written a small XmlReader
>> class
>> to read a document without the whole Dom thing or the complex SAX
>> reader...
>>
>> http://benoit.vautrin.free.fr/xmlreader.h
>> http://benoit.vautrin.free.fr/xmlreader.cpp
>>
>> It is (very) far rom perfect, but already works for one of my libs.
>> At the moment, for example, it only supports 5 escaped characters...
>>
> FWIW, I wrote a quick and (_really_) dirty XML parser some years ago:
> http://cvs.sourceforge.net/viewcvs.py/libmswrite/libmswrite/
> (xmlparser.cpp,
> xmlparser.h).

If I understand the code correctly, Benoit's parser is an implementation
of something called a "XML pull parser", where the client knows in which
order the lexical elements will occur.

Clarence's parser looks like a Sax like parser with C style callbacks.

Regards
Dirk

_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic