How abstract components are created when reading a schema – an animation in 9 slides -- complexType

- July 26, 2002 5:00pm

  Parse of a complexType definition and construction of the abstract schema components.

  - <xs:complexType name="ct02">
  - <xs:sequence>
  - <xs:element ref="refed"/>
  - <xs:sequence minOccurs="0" maxOccurs="3">
  - <xs:element name="e1" type="xs:string"/>
  - <xs:element name="e2" type="xs:string"/>
  - </xs:sequence>
  - </xs:sequence>
  - </xs:complexType>
  - And elsewhere there is a global element declaration with the name “refed”

  Parse of <xs:complexType name=“ct02”>

  Parse of <xs:sequence>

  Parse of <xs:element ref=“refed”/> 1

  Parse of <xs:element ref=“refed”/> 2

  Parse of <xs:sequence minOccurs=“0” maxOccurs=“3”/>

  Parse of <xs:element name=“e1” type=“xs:string”/>

  Parse of <xs:element name=“e2” type=“xs:string”/>

  Parse of </xs:complexType>