[Home] [By Thread] [By Date] [Recent Entries]

  • To: <jcowan@r...>
  • Subject: RE: Fruitbasket schema question for both W3C/RelaxNG
  • From: "Dare Obasanjo" <dareo@m...>
  • Date: Fri, 23 Jan 2004 13:15:35 -0800
  • Cc: <xml-dev@l...>
  • Thread-index: AcPh9ZOoNR/dh2rfQxOodLrbp+Vy9QAAFjbQ
  • Thread-topic: Fruitbasket schema question for both W3C/RelaxNG

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: jcowan@r... [mailto:jcowan@r...] 
>Sent: Friday, January 23, 2004 1:13 PM
>To: Dare Obasanjo
>Cc: xml-dev@l...
>Subject: Re:  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  jcowan@r...  
>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
>
>

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member