> >Does anyone else have experience with using XML in this fashion?
> >Thoughts?
I think it's an extremely good idea :-)
The most efficient XML parser I know is expat
http://www.jclark.com/xml/expat.html
it is widely used and well debugged.
The problem is to get an internal form of an XML document. DOM
(http://www.w3.org/TR/REC-DOM-Level-1/) is the standard but there are
no GPL C library that does the job at present. One could extract code
from mozilla, but it's hard (IMHO). There also is some code in GNOME
but it does not comply to DOM and as far as I know it does not evolve
much.
[EMAIL PROTECTED] sent me an unpublished version of a C++ DOM library
he wrote a few month ago. This may be a good start (a copy of the
file is at http://www.senga.org/xml/xmltools-0.1.tar.gz).
I think it would be an error to write a custom parser since a very
good one already exists. I'm not sure if trying to get a working DOM
library is worthwhile, it depends on the amount of work involved.
Cheers,
--
Loic Dachary
ECILA
100 av. du Gal Leclerc
93500 Pantin - France
Tel: 33 1 56 96 09 80, Fax: 33 1 56 96 09 61
e-mail: [EMAIL PROTECTED] URL: http://www.senga.org/
------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the SUBJECT of the message.