September 2002
Intermediate to advanced
1008 pages
22h 3m
English
Now that we have reviewed some of the concepts associated with object-oriented development, we can examine how those concepts apply to XML schemas. For each concept—encapsulation, inheritance, and polymorphism—Section 19.4 describes how it is used in XML schemas. For now, let’s just consider to what extent they are available in an XML schema.
XML schemas have methods for expressing inheritance and polymorphism. Structure types can be derived from other structure types and thus inherit the properties of the base. Structure types defined in an XML schema are polymorphic about any base class they share. XML schemas provide a rich substitution mechanism that allows for polymorphic behavior between ...
Read now
Unlock full access