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
9 months agoWilburn
10 months agoCiara
10 months agoTonette
10 months agoRichelle
10 months agoChaya
10 months agoMarjory
11 months agoTyisha
11 months agoNatalya
11 months agoLennie
11 months agoSarah
11 months agoAvery
11 months agoPeter
11 months agoShelton
11 months agoTenesha
11 months agoElza
11 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