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">
    <choice>
         <element ref="a"/>
         <element ref="b"/>
    </choice>
 </group>

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

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