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
8 months agoWilburn
8 months agoCiara
8 months agoTonette
9 months agoRichelle
9 months agoChaya
9 months agoMarjory
9 months agoTyisha
9 months agoNatalya
9 months agoLennie
9 months agoSarah
10 months agoAvery
10 months agoPeter
10 months agoShelton
10 months agoTenesha
10 months agoElza
10 months agoJamal
1 year agoDorthy
1 year agoZena
1 year agoSantos
1 year agoDell
1 year agoDan
1 year agoClarinda
1 year agoYvette
1 year 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