1 <xsd:schema xmlns:
xsd=
"http://www.w3.org/2001/XMLSchema">
3 <xsd:element name=
"bookstore" type=
"bookstoreType"/>
5 <xsd:complexType name=
"bookstoreType">
6 <xsd:sequence maxOccurs=
"unbounded">
7 <xsd:element name=
"book" type=
"bookType"/>
11 <xsd:complexType name=
"bookType">
13 <xsd:element name=
"title" type=
"xsd:string"/>
14 <xsd:element name=
"author" type=
"authorName"/>
15 <xsd:element name=
"price" type=
"xsd:decimal"/>
17 <xsd:attribute name=
"genre" type=
"xsd:string"/>
20 <xsd:complexType name=
"authorName">
22 <xsd:element name=
"first-name" type=
"xsd:string"/>
23 <xsd:element name=
"last-name" type=
"xsd:string"/>