RE: What is lost if xsd:choice is jettisoned?

David Ezell <[email protected]>
Newsgroups gmane.text.xml.schema.devel
Message-ID <F7B1D738D797534F9F7EDB72F6A019BB2158F1BB1A@VFIWVEXMB2.verifone.com>
Roger wrote:
> Thanks to everyone who responded. Excellent! I will write a summary of
> the responses and post it.

For my own purposes, I think of substitution groups as instituting a form of polymorphism, whereas xs:choice is a "dumb" switch statement.

The former is quite useful if you expect to introduce new things into a vocabulary you want to treat in existing software without modification.  The latter is for when you just want a switch.

But that's just  me.

HTH.

Best regards,
David Ezell
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.