|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Subtyping in XML
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]."
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








