OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Substitution groups vs. type inheritance



> Hello,
>
> substitution groups and type inheritance seem to provide similar
> capabilities. What are differences? When should I use one
> or the other?

Have a look at XML Schemas: Best Practices [1]. Especially Creating
Variable Content Container Elements [2] and Creating Extensible Content
Models [3] discuss this.

Cheers,
/Eddie

[1] http://www.xfront.com/BestPractices.html
[2] http://www.xfront.com/VariableContentContainers.html
[3] http://www.xfront.com/ExtensibleContentModels.html