[xsde-users] RE: Generating skel for split schema

Ninh Tran Dang tdninh at tma.com.vn
Tue Oct 14 05:25:31 EDT 2008


Hi Boris,

Thank you very much for your response, and currently we apply the first
choice because we have different map files.

Regards,
Ninh

-----Original Message-----
From: Boris Kolpackov [mailto:boris at codesynthesis.com] 
Sent: Tuesday, October 14, 2008 3:57 PM
To: Ninh Tran Dang
Cc: xsde-users at codesynthesis.com
Subject: Re: Generating skel for split schema

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