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

Re: how to define an element which can contain any attributes or elements

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 06 Dec 2000 21:12:36 +0000
To: Michael Anderson <michael@research.canon.com.au>
Cc: Michael.Burns@sas.com, xmlschema-dev@w3.org
Message-ID: <f5b8zpt5k57.fsf@cogsci.ed.ac.uk>
Oops, shame on me.  You're right

Michael Anderson <michael@research.canon.com.au> writes:

> <element name="Properties">
>     <complexType>
>         <sequence>
>             <any minOccurs="0" maxOccurs="unbounded" />
>         </sequence>
>         <anyAttribute />
>     </complexType>
> </element>

I was wrong, left out the <sequence>, getting late, obviously time to
hang it up for tonight.

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, 6 December 2000 16:12:47 GMT

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