[xsd-users] RE: Problem during compilation of generated files
pde at seic.com
Mon Oct 17 12:48:51 EDT 2005
I go through the document and found that it may be very handy.
But, when try to generate the code like the following way:
It is thorowing me the following error:
I think that is the way we ask me to generate the code.
Is it the correct way to do it?
Thanks and Regards,
From: Boris Kolpackov [mailto:boris at codesynthesis.com]
Sent: Monday, October 17, 2005 11:43 AM
To: De, Pradipta
Cc: xsd-users at codesynthesis.com
Subject: Re: Problem during compilation of generated files
De, Pradipta <pde at seic.com> writes:
> I don't know whether I am missing something, but is there a way
> to do the reverse of what you are doing right now? (XML -> Class) what
> about (Class -> XML?), have you provided any API for the same?
Sure, we call it serialization (as opposed to parsing). You can look at
examples/cxx/tree/library for the code sample and at the "C++/Tree
Serialization Guide" for documentation:
Also note that the serialization code is optional and you will need to
specify --generate-serialization when invoking xsd.
More information about the xsd-users