<xs:element name="ElementName"> ... type definition - placed either right here (so called "local") or referenced one (so called "global") </xs:element>