单项选择题
下面的XML片断中结构完整的是()。
A. <customer name=”<xml>.con”><address>123 MainStreet></address></customer>
B. <customer><name>Joe’s XML Works</name><address>New York</costomer>
C. < customer type=extemal><name>Partners Unlimited</name></customer>
D.<customer name=”John Doe”><address>123 Main Street</address> <zip code=”01837”/></customer>
点击查看答案&解析
相关考题
-
单项选择题
对于XML文档实例片段<img height="”50”" width="”50”/" />,最恰当的描述其结构的DTD片段是。()
A.a)
B.b)
C.c)
D.d) -
多项选择题
在XML中,在Schema中,声明一个元素的属性的attribute元素有一个常用的属性use,use的取值有()。
A.empty
B.required
C.optional
D.fixed
E.prohibited -
单项选择题
考虑如下的XML.Schema示例 <xs:element name=”Price”> <xs:complexType> <xs:attribute name=”currency” type=”xs:string”/> </xs:complexType> </xs:element> 属性currency声明等同于下面选项的DTD声明。()
A.<!ATTLISTPricecurrencyCDATA#REQUIRED>
B.<!ATTLISTPricecurrencyCDATA#FIXED>
C.<!ATTLISTPricecurrencyCDATA#IMPLIED>
D.<!ATTLISTPricecurrencyPCDATA#IMPLIED>
