W3C home > Mailing lists > Public > xmlschema-dev@w3.org > June 2001

Re: Element occurence

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 20 Jun 2001 17:35:19 +0100
To: "Wouter Cordewiner" <wouter_cordewiner@hotmail.com>
Cc: xmlschema-dev@w3.org
Message-ID: <f5by9qn6reg.fsf@cogsci.ed.ac.uk>
"Wouter Cordewiner" <wouter_cordewiner@hotmail.com> writes:

> The level4 element is completely optional before and after level5, and
> level5 itself is also optional.

<!ELEMENT result ((level4+,(level5+,level4*)?)|(level5+,level4*))>

If an empty result is allowed, make the last group optional as well.

ht
-- 
  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 Wednesday, 20 June 2001 12:35:18 GMT

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