初学者xsd 的继承 有关问题

菜鸟xsd 的继承 问题菜鸟我才开始学习xsd请大家帮我解释下我要实现下面的代码有什么问题//这个是一个父类

菜鸟xsd 的继承 问题
菜鸟我才开始学习xsd   请大家帮我解释下我要实现下面的代码有什么问题
//   这个是一个父类型
<xs:complexType   name= "typeFilePath ">
    <xs:attribute   name= "IsFullPath "   type= "xs:boolean "   use= "required "   />
    <xs:attribute   name= "FileName "   type= "xs:string "   use= "required "   />
</xs:complexType>

//我希望在下面这个子类型中继承typeFilePath的2个属性   并且再添加一个
//active的属性,所以我这样写
<xs:complexType   name= "typeFilePathActivity ">
    <xs:complexContent>
        <xs:extension   base= "typeFilePath ">
            <xs:attribute   name= "Active "   type= "xs:boolean "   use= "required ">
            </xs:attribute>
        </xs:extension>
    </xs:complexContent>
</xs:complexType>

问题:
我在设计视图中好像没有看到   我所继承的2个属性,是怎么回事呢?

小弟才疏学浅不好挣分   就只能20分   发问了


[解决办法]
试试这个,偶也刚学,比菜鸟还菜。
<xs:complexType name= "typeFilePath ">
<xs:sequence>
<xs:attribute name= "IsFullPath " type= "xs:boolean " use= "required " />
<xs:attribute name= "FileName " type= "xs:string " use= "required " />
</xs:sequence>
</xs:complexType>