Home | History | Annotate | Download | only in schemas
      1 <?xml version="1.0"?>
      2 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
      3   <xs:complexType name="personName">
      4     <xs:sequence>
      5       <xs:element name="title" minOccurs="0"/>
      6       <xs:element name="forename" minOccurs="0" maxOccurs="unbounded"/>
      7       <xs:element name="surname"/>
      8     </xs:sequence>
      9   </xs:complexType>
     10   <xs:complexType name="simpleName">
     11     <xs:complexContent>
     12       <xs:restriction base="personName">
     13         <xs:sequence>
     14           <xs:element name="forename" minOccurs="1" maxOccurs="1"/>
     15           <xs:element name="surname"/>
     16         </xs:sequence>
     17       </xs:restriction>
     18     </xs:complexContent>
     19   </xs:complexType>
     20   <xs:element name="who" type="simpleName"/>
     21 </xs:schema>
     22