xsd:sequence

The XSD sequence type is normally mapped to an ASN.1 SEQUENCE type. The following items describe special processing that may occur when processing a sequence definition:

Example

   <xsd:complexType name="Name">
      <xsd:sequence>
         <xsd:element name="givenName" type="xsd:string "/>
         <xsd:element name="initial" type="xsd:string" minOccurs="0"/>
         <xsd:element name="familyName" type="xsd:string"/>
      </xsd:sequence>
   </xsd:complexType>

would result in the creation of the following C type definition:

   typedef struct EXTERN Name {
      struct {
         unsigned initialPresent : 1;
      } m;
      const OSUTF8CHAR* givenName;
      const OSUTF8CHAR* initial;
      const OSUTF8CHAR* familyName;
   } Name;