- From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
- Date: 12 Mar 2001 15:03:37 +0000
- To: "Thomas F. Gundersen" <Thomas.Gundersen@fast.no>
- Cc: <xmlschema-dev@w3.org>
"Thomas F. Gundersen" <Thomas.Gundersen@fast.no> writes:
> How can I model the following relationship :
>
> Element A must contain exactly one element B, can contain 0 to N element C,
> and
> can contain 0 or 1 of elements D, E and/or F. I do NOT want order to be
> significant.
>
> For example, this should be legal :
> A
> B
> C
> D
> C
> E
> C
> C
>
> or
>
> A
> C
> C
> C
> B
> D
>
> Is this even possible ?
No. If you don't care about order, then fix an order and you'll be
fine.
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 Monday, 12 March 2001 10:03:40 UTC