W3C home > Mailing lists > Public > xmlschema-dev@w3.org > October 2000

Re: [Moderator Action] Question

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 24 Oct 2000 11:23:15 +0100
To: <avakaluk@linkcomsoft.com>
Cc: <xmlschema-dev@w3.org>
Message-ID: <f5b7l6yv8q4.fsf@cogsci.ed.ac.uk>
"Alexander Vakaluk" <avakaluk@linkcomsoft.com> writes:

> If I define complexType as inherited by extension. is it possible to add
> attributes to this new type ?
> And in inheritance by extension is it possible to restrict attributes ?

Restriction and extension cannot be performed in one step, but a two
step derivation is possible.

See the Primer [1] for examples of adding attributes when extending a
complex type.

ht

[1] http://www.w3.org/TR/xmlschema-0/#IPO
-- 
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2001, part-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
	    Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
		     URL: http://www.ltg.ed.ac.uk/~ht/
Received on Tuesday, 24 October 2000 06:23:22 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:14:47 UTC