[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XML Schemas: Best Practices (touches XHTML modularization als o)
Curt Arnold wrote > Alternatively, multiple groups could be allowed in substitutionGroups attribute and as long as the schema designer based the examplar on the urType, then you have about the same behavior. I think this would be a better long-term solution. substitutionGroups are a safer way of managing inheritance which do not require the document instance to "carry" the type information all the time. One question someone might be able to clear up for me. If you create abstract elements whose models are based on other abstract elements are you creating multiple inheritances or not? (In ebXML we are using abstract classes to define sharable components which themselves contain embedded sharable components.) Martin Bryan
|
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
|