Boost logo

Boost :

From: Boris Kolpackov (boris_at_[hidden])
Date: 2006-08-14 04:50:58


Hi John,

jmzorko_at_[hidden] writes:

> My question, though, is about this: There is another XML file that we
> have to read, that is generated by a server process that we do not
> directly control. We're currently using TinyXML to read from this
> XML file, but we would like to replace its' usage with something
> Boosty. The thing is, the current Boost serialization classes seem
> to need some special tags and attributes in the XML
> (boost_serialization tag, class_id / tracking_level / version
> attributes) to read from it, and the server process which creates
> this XML file doesn't put those attributes in there (and we would
> prefer to not have the maintainers of that process make a change just
> for us). Is there another way I can use Boost to read from an XML,
> and fill an object with its' values (like the serialization classes
> do), without needing those special tags / attrbutes?

You may be interested in XML data binding for C++, for example
CodeSynthesis XSD[1]. It is an open-source (GPL + proprietary
license), cross-platform XML data binding compiler for C++.

[1] http://codesynthesis.com/products/xsd/

hth,
-boris


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