[xsd-users] xsd problem

Boris Kolpackov boris at codesynthesis.com
Sun Oct 7 16:28:48 EDT 2007


Hi,

Miros?aw Madej <dabee21 at gmail.com> writes:

> I have only the *.xsd file and I havent any xml file coresponding to
> them. I thought that xsd serialization can make me my xml file from
> this schema definition.

No, it cannot. What you can do is create an object mode for some sample
document in your program and then serialize it to XML. For more
information on how to do this see Section 2.5, "Adding Serialization"
in the C++/Tree Mapping Getting Started Guide:

http://www.codesynthesis.com/projects/xsd/documentation/cxx/tree/guide/

Boris




More information about the xsd-users mailing list