Boost logo

Boost :

Subject: [boost] [property_tree] parsing XML
From: Andrzej Krzemienski (akrzemi1_at_[hidden])
Date: 2011-07-14 05:41:36


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?

Regards,
&rzej


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