Hi

I am trying to develop a schema that has a variable
content container.  One part of my schema contains an
element called <results>

<results> can hold a sequence of different elements
but these elements vary from application to the next.
I want to make it easy to extend the schema for
different applications.

for one application it might be:
results -> A* | B* | C*

for another
results -> A* | D* | E*

e.g.,
<results> <A/>  </A> </results>
<results> <C/> </results>
are valid

but <results> <A/> <B/> </results>
is not

I was trying to set up a substitution group and base
abstract type, but when I did this, Castor did not
generate classes for the derived classes, only
for the base.

Has anyone succesfully gotten Castor to generate classes
in a  hierarchy?  I would appreciate any examples
or suggested schemae...

Thanks
Bowden Wise
[EMAIL PROTECTED]

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to