[xsde-users] Re: Generating skel for split schema
Boris Kolpackov
boris at codesynthesis.com
Tue Oct 14 04:56:33 EDT 2008
Hi Ninh,
Ninh Tran Dang <tdninh at tma.com.vn> writes:
> And the problem here is the xsde binary doesn't know to generate skel
> codes for the included schemas when we stay at the main schema.
You need to compile each schema separately. Let's say you have
schema1.xsd, schema2.xsd and master.xsd which includes the first
two schemas. You will need to run the XSD/e compiler on each
schema file:
$ xsde cxx-parser schema1.xsd
$ xsde cxx-parser schema2.xsd
$ xsde cxx-parser master.xsd
Or you can compile them all at once:
$ xsde cxx-parser schema1.xsd schema2.xsd master.xsd
Note also that for this to work each schema file should be valid
by itself (i.e., contain includes for all external types that it
references).
Boris
More information about the xsde-users
mailing list