Boost logo

Boost :

Subject: Re: [boost] [property_tree] parsing XML
From: Sebastian Redl (sebastian.redl_at_[hidden])
Date: 2011-07-14 05:50:44


On 14.07.2011 11:41, Andrzej Krzemienski wrote:
> Hi,
> I recently discovered that Boost already provides a tool for XML parsing and
> generation. While it has been there for a long while, I failed to recognize
> it because it has not been sufficiently advertised and described.
> Boost.PropertyTree does allow reading and writing of XML files. It does not
> perform schema validation and is not 100% W3C compliant due to the way of
> handling white space, but it is sufficient for most of the uses. It has a
> great framework for customizing user defined types that is not documented. I
> tried to provide a guide on parsing XML on my blog:
> http://akrzemi1.wordpress.com/2011/07/13/parsing-xml-with-boost/
> But I really believe this guide belongs to the documentation of
> Boost.PropertyTree. I would be happy to add it there, but I am not familiar
> with Boost process. Should I just contact the maintainer and discuss the
> addition?
>
You just did :-)

Don't have much time at the moment, but I'll read your post as soon as
possible and let you know what I think of it.
Strange, I always thought of the XML parser of PTree as a small utility
component, but it seems to be the main reason people use the library.

Sebastian


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