1
假設我有定義的一般複雜類型從元素擴展複雜類型
<xs:complexType name="Address">
<!--definition of address-->
</complexType>
現在假設我要定義一個新的地址類型,將只能使用一次,而且我想在邁上了一個新擴展複雜類型地址元件
例如
<element type="Address">
<!--how to extend the base type address here-->
</element>
我不想定義新的複雜類型擴展類型的地址,因爲它只能使用一次