- From: Martin Gudgin <marting@develop.com>
- Date: Wed, 6 Dec 2000 21:27:47 -0000
- To: "Michael Anderson" <michael@research.canon.com.au>, "Henry S. Thompson" <ht@cogsci.ed.ac.uk>
- Cc: <Michael.Burns@sas.com>, <xmlschema-dev@w3.org>
Why wouldn't the following work? <element name='Properties' /> thus making the element be of type ur-type which can have any content and any attributes? Or is the requirement to allow any elements/attributes but disallow textual content? Gudge ----- Original Message ----- From: "Henry S. Thompson" <ht@cogsci.ed.ac.uk> To: "Michael Anderson" <michael@research.canon.com.au> Cc: <Michael.Burns@sas.com>; <xmlschema-dev@w3.org> Sent: Wednesday, December 06, 2000 9:12 PM Subject: Re: how to define an element which can contain any attributes or elements > 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:29:18 UTC