W3C home > Mailing lists > Public > xmlschema-dev@w3.org > August 2002

Extending a choice model group in the derived type

From: Dare Obasanjo <dareo@microsoft.com>
Date: Thu, 22 Aug 2002 10:38:41 -0700
Message-ID: <8BD7226E07DDFF49AF5EF4030ACE0B7E06621F90@red-msg-06.redmond.corp.microsoft.com>
To: <XMLSCHEMA-DEV@w3c.org>

If I have a base type B with the following content mode
 
B = (x | y) 
 
is there a way to create a derived type D with content model
 
D = (x |y |z) 
 
 
 
I thought of extension but at best I can create 
 
D = (x|y) z 
 
Restriction similarly doesn't work. Perhaps there is some clever way to do this with substitution groups I haven't thought of. 
Received on Thursday, 22 August 2002 13:39:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:34 GMT