W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > July to September 2003

Re: [www-xml-schema-comments] <none>

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: Tue, 30 Sep 2003 09:27:59 +0100
To: "Andreas Brusinsky" <Andreas.Brusinsky@gmx.de>
Cc: www-xml-schema-comments@w3.org
Message-ID: <f5br81yd6k0.fsf@erasmus.inf.ed.ac.uk>

After defining a top-level element such as

 <element name="elements" type="..."/>

you can define 'aliases' using the substitution group feature:

 <element name="Elements" substitutionGroup="xxx:elements"/>
 <element name="Emelents" substitutionGroup="xxx:elements"/>
 <element name="elemEnts" substitutionGroup="xxx:elements"/>

  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
                      Half-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/
 [mail really from me _always_ has this .sig -- mail without it is forged spam]
Received on Tuesday, 30 September 2003 04:28:00 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:09:00 UTC