827 from Modern Database Management 12th edition Construct a
8-27 from Modern Database Management 12th edition
Construct a simple XML schema that describes a student. Include the student\'s last name, first name, phone, email address, and certfication date as child elements of the \"STUDENT\" element.
Solution
<?xml version=\"1.0\"?>
   <xs:schema
    xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" >
   <xs:element name=\"Student\" type=\"StudentType\" />
   <xs:complexType name=\"StudentType\">
     <xs:sequence maxOccurs=\"unbounded\">
       <xs:element ref=\"Last Name\" />
       <xs:element ref=\"First Name\" />
     <xs:element ref=\"Phone\" />
       <xs:element ref=\"Email Address\" />
<xs:element ref=\"Certification\" />
     </xs:sequence>
   </xs:complexType>
   </xs:schema>

