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] Subtyping in XML

[ Lists Home | Date Index | Thread Index ]

Okay, I've got my mind right. 

It's not an enumeration of simpletype values that I remember, but more along
the lines of Paul's example, below.  The example is from Eric vdV's book, p.
203 (paraphrased below):

<group name="name">
         <element ref="a"/>
         <element ref="b"/>

<redefine schemaLocation="foo.xsd">
       <group name="name">
                  <group ref="name"/>
                 <element ref="c"/>

Quoth:  "... the effect of this redefinition is to allow a new element ([c])
to be accepted instead of a [a] or [b]."


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

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