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

  • To: "XML Developers List" <xml-dev@l...>
  • Subject: Re: Is there a way to reuse and extend an enumeration in XML schema
  • From: "William J. Kammerer" <wkammerer@n...>
  • Date: Sat, 5 Mar 2005 18:44:15 -0500
  • Organization: Novannet, LLC. Columbus, US-OH
  • References: <7e3b51b050305152853427e0c@m...>

I don't know how to do it.  But talk about serendipity: the OASIS UBL
Code list group is wrestling with this very issue as we speak.  The
substitutionGroup feature has been considered, but surely there has to
be a simpler way.

See  http://lists.oasis-open.org/archives/ubl-dev/200503/msg00014.html
for details.  I think the winner with the most elegant solution receives
a prize.

William J. Kammerer
Novannet
Columbus, OH 43221-3859 . USA
+1 (614) 487-0320

----- Original Message ----- 
From: "Kenneth Stephen" <marvin.the.paranoid@g...>
To: "XML Developers List" <xml-dev@l...>
Sent: Saturday, 05 March, 2005 06:28 PM
Subject:  Is there a way to reuse and extend an enumeration in
XML schema


Hi,

    I have a simpleType defined as having an enumerated type having
(for example) values 'A','B', and 'C'. I want to be able to reuse this
type elsewhere and also add an additional value of 'D' without
altering the original definition. Is there a way to do that?

Thanks,
Kenneth


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