xsi:type could be used if all the elements have the same content model.
--
PITHY WORDS OF WISDOM
Fairy tales: horror stories for children to get them used to reality.
This posting is provided "AS IS" with no warranties, and confers no
rights.
>-----Original Message-----
>From: [mailto:]
>Sent: Friday, January 23, 2004 1:13 PM
>To: Dare Obasanjo
>Cc:
>Subject: Re: [xml-dev] Fruitbasket schema question for both W3C/RelaxNG
>
>Dare Obasanjo scripsit:
>> SCHEMA:
>
>That works if the list of fruits is to be enumerated in the
>schema. My understanding of the use case was that any element
>could represent a fruit, provided it had a "color" attribute.
>
>--
>John Cowan
>http://www.ccil.org/~cowan O beautiful for patriot's dream
>that sees beyond the years Thine alabaster cities gleam
>undimmed by human tears!
>America! America! God mend thine every flaw, Confirm thy soul
>in self-control, thy liberty in law!
> -- one of the verses not usually taught in U.S. schools
>
>