[xsd-users] Re: creation of xml file from c++ object
Boris Kolpackov
boris at codesynthesis.com
Mon Jun 25 07:08:18 EDT 2007
Hi Samiksha,
Samiksha Rajput <samiksha.rajput at tcs.com> writes:
> Is it possible to generate the xml file when c++ object is provided to the
> xsd-2.3.1-hppa-hpux tool.
If you want to automatically generate XML serialization code from your own
C++ classes, then no, this is not possible with XSD.
If you want to serialize C++ classes that were generated from XML Schema,
then yes, this can be done. See the library example in the XSD distribution
and Chapter 4, "Serialization" in the C++/Tree Mapping User Manual:
http://www.codesynthesis.com/projects/xsd/documentation/cxx/tree/manual/#4
hth,
-boris
More information about the xsd-users
mailing list