OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] Fruitbasket schema question for both W3C/RelaxNG

[ Lists Home | Date Index | Thread Index ]
  • To: <jcowan@reutershealth.com>
  • Subject: RE: [xml-dev] Fruitbasket schema question for both W3C/RelaxNG
  • From: "Dare Obasanjo" <dareo@microsoft.com>
  • Date: Fri, 23 Jan 2004 13:15:35 -0800
  • Cc: <xml-dev@lists.xml.org>
  • Thread-index: AcPh9ZOoNR/dh2rfQxOodLrbp+Vy9QAAFjbQ
  • Thread-topic: [xml-dev] 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@reutershealth.com [mailto:jcowan@reutershealth.com] 
>Sent: Friday, January 23, 2004 1:13 PM
>To: Dare Obasanjo
>Cc: xml-dev@lists.xml.org
>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  jcowan@reutershealth.com  
>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
>
>




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS