What differences are there between A section and B section ? Many Thanks!


1. What differences are there between A section and B section ?

2. What does the keyword "elementFormDefault" mean?


//----------------------- A section -------------------------------
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://myBooks" elementFormDefault="qualified"
targetNamespace="http://myBooks">

<xsd:element name="bookstore" type="bookstoreType" />

<xsd:complexType name="bookstoreType">
<xsd:sequence maxOccurs="unbounded">
<xsd:element name="book" type="bookType" />
</xsd:sequence>
</xsd:complexType>

</xsd:schema>
//----------------------- A section -------------------------------


//----------------------- B section -------------------------------
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://myBooks" elementFormDefault="qualified"
targetNamespace="http://myBooks">

<xsd:element name="bookstore" type="bookstoreType" />

<xsd:complexType name="bookstoreType">
<xsd:sequence>
<xsd:element name="book" type="bookType" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>

</xsd:schema>
//----------------------- B section -------------------------------