Boost logo

Boost :

From: Paul Hamilton (paul_at_[hidden])
Date: 2003-08-17 22:53:41


> I think that what is still missing in Boost is a library for reading
> and
> writing XML files.

I have been using expat for a while, and wrapping it in C++ classes.
It's a very capable parser and supports lot's of stuff.

My parser stuff is just done with a switch statement (since it's event
driven), but it would be nice if you could use expat, but then
"register" your element "handlers" to get called. This would be a cool
design.

I don't think I could actually use the "iterator" design that you have,
since I need to handle the nesting of tags, so I need to know when I am
started and finished a tag. I also need to know the normal CDATA or
comments that just came through. Is this possible with the iterator
idea?

I also have a bunch of code for wrapping expat, but it's pretty simple.

Paul.

---------------------
Paul Hamilton
pHamtec P/L - Software Makers
http://www.phamtec.com/
mailto:paul_at_[hidden]

The information transmitted is intended only for the person or entity
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you
received this in error, please contact the sender and delete the
material from any computer.
-----------------------------------------------------


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk