单项选择题
下列哪个是schema中的simpleType与complexType的一个区别是()。
A.只有simpleType元素中可以使用restriction从其他类型继承。 B.只有complexType元素中可以使用restriction从其他类型继承。 C.只有simpleType的元素可以含有attribute。 D.只有complexType的元素可以含有attribute。
单项选择题 在DTD中,定义元素属性时,其缺省值是IMPLIED时,是()的属性.
单项选择题 Schema至少需要具有一个属性Xmlns,用以指定该Scehma包含的()
单项选择题 考虑如下的XML.Schema示例 <xs:element name=”Price”><xs:complexType><xs:attribute name=”currency”type=”xs:string”/></xs:complexType></xs:element> 属性currency声明等同于下面选项()的DTD声明。