XML I10-001 Exam - Topic 2 Question 66 Discussion
Press the Exhibit button to view the XML Schema document defining "Structure". Select which of the following is correct with respect to "Structure" defined by the XML Schema document.
A) <?xml version='1. 0'?>
<xs:schema xmlns:xs='http://www. w3. org/2001/XMLSchema'>
<xs:element name='Book' type='xs:string'>
<xs:complexType>
<xs:attribute name='Publication_Date' type='xs:string' use='optional' />
</xs:complexType>
</xs:element>
</xs:schema>
B) <?xml version='1. 0'?>
<xs:schema xmlns:xs='http://www. w3. org/2001/XMLSchema'>
<xs:element name='Book' type='book_type'>
<xs:complexType name='book_type'>
<xs:simpleContent>
<xs:extension base='xs:string'>
<xs:attribute name='Publication_Date' type='xs:string' use='optional' />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:schema>
C) <?xml version='1. 0'?>
<xs:schema xmlns:xs='http://www. w3. org/2001/XMLSchema'>
<xs:element name='Book' type='book_type'/>
<xs:complexType name='book_type'>
<xs:simpleContent>
<xs:extension base='xs:string'>
<xs:attribute name='Publication_Date' type='xs:string' use='optional' />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:schema>
D) <?xml version='1. 0'?>
<xs:schema xmlns:xs='http://www. w3. org/2001/XMLSchema'>
<xs:element name='Book' type='book_type'/>
<xs:complexType name='book_type'>
<xs:attribute name='Publication_Date' type='xs:string' use='optional' />
</xs:complexType>
</xs:schema>W Courier Newlr Z
Ollie
6 months agoWilburn
7 months agoCiara
7 months agoTonette
7 months agoRichelle
7 months agoChaya
7 months agoMarjory
8 months agoTyisha
8 months agoNatalya
8 months agoLennie
8 months agoSarah
8 months agoAvery
8 months agoPeter
8 months agoShelton
8 months agoTenesha
8 months agoElza
8 months agoJamal
1 year agoDorthy
11 months agoZena
12 months agoSantos
1 year agoDell
1 year agoDan
12 months agoClarinda
12 months agoYvette
12 months agoFrancene
1 year agoCarli
1 year agoDacia
1 year agoBarb
1 year agoDacia
1 year agoWava
1 year agoFrancine
1 year agoWava
1 year ago