a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
19 lines
494 B
XML
19 lines
494 B
XML
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
targetNamespace="urn:bar" xmlns:x="urn:foo" xmlns:y="urn:bar">
|
|
|
|
<xs:import namespace="urn:foo" schemaLocation="import-subst-dbr-base.xsd" />
|
|
|
|
<xs:element name="bar" substitutionGroup="x:foo" />
|
|
|
|
<xs:complexType name="myderived">
|
|
<xs:complexContent>
|
|
<xs:restriction base="x:mybase">
|
|
<xs:choice>
|
|
<xs:element ref="y:bar" />
|
|
</xs:choice>
|
|
</xs:restriction>
|
|
</xs:complexContent>
|
|
</xs:complexType>
|
|
|
|
</xs:schema>
|