LibraryToggle FramesPrintFeedback

The elements of a substitution group must be of the same type as the head element or of a type derived from the head element’s type. For example, if the head element is of type xsd:int all members of the substitution group must be of type xsd:int or of a type derived from xsd:int. You can also define a substitution group similar to the one shown in Example 14.2 where the elements of the substitution group are of types derived from the head element’s type.


The head element of the substitution group, widget, is defined as being of type widgetType. Each element of the substitution group extends widgetType to include data that is specific to ordering that type of widget.

Based on the schema in Example 14.2, the part elements in Example 14.3 are valid.


Comments powered by Disqus
loading table of contents...