complexType "varFormatType"
Namespace:
Content:
mixed (allows character data), 19 attributes, 24 elements
Defined:
globally in codebook.xsd; see XML source
Includes:
definitions of 7 attributes
Used:
XML Representation Summary
<...
   
 = 
xs:ID
 = 
xs:NMTOKEN
 = 
xs:language
 = 
("archive" | "producer") : "producer"
 = 
xs:string
 = 
(xs:dateTime | xs:date | xs:gYearMonth | xs:gYear)
 = 
xs:anyURI
 = 
xs:anyURI
 = 
xs:boolean : "false"
 = 
xs:boolean : "true"
 = 
xs:string
 = 
xs:date
 = 
("character" | "numeric") : "numeric"
 = 
xs:string
 = 
("SAS" | "SPSS" | "IBM" | "ANSI" | "ISO" | "XML-Data" | "other") : "ISO"
 = 
xs:NMTOKEN
 = 
("date" | "time" | "currency" | "other") : "other"
 = 
xs:NMTOKEN
 = 
xs:string
   
>
   
Content: 
</...>
All Direct / Indirect Based Elements (1):
Known Usage Locations
Type Definition Detail
Type Derivation Tree
baseElementType (extension)
  abstractTextType (restriction)
      simpleTextType (extension)
          varFormatType
XML Source (w/o annotations (7); see within schema source)
<xs:complexType mixed="true" name="varFormatType">
<xs:complexContent>
<xs:extension base="simpleTextType">
<xs:attribute default="numeric" name="type">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="character"/>
<xs:enumeration value="numeric"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="formatname" type="xs:string"/>
<xs:attribute default="ISO" name="schema">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="SAS"/>
<xs:enumeration value="SPSS"/>
<xs:enumeration value="IBM"/>
<xs:enumeration value="ANSI"/>
<xs:enumeration value="ISO"/>
<xs:enumeration value="XML-Data"/>
<xs:enumeration value="other"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="otherSchema" type="xs:NMTOKEN" use="optional"/>
<xs:attribute default="other" name="category">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="date"/>
<xs:enumeration value="time"/>
<xs:enumeration value="currency"/>
<xs:enumeration value="other"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="otherCategory" type="xs:NMTOKEN" use="optional"/>
<xs:attribute name="URI" type="xs:string"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
Attribute Detail (all declarations; defined within this component only; 7/19)
category
Type:
anonymous simpleType (restriction of xs:NMTOKEN)
Use:
optional
Describes what kind of data the format represents.
Attribute Value
enumeration of xs:NMTOKEN
Enumeration:
"date", "time", "currency", "other"
Default:
"other"
Anonymous simpleType
Type Derivation Tree
xs:NMTOKEN (restriction)
  simpleType
Derivation:
restriction of xs:NMTOKEN
Facets:
enumeration:
"date", "time", "currency", "other"
XML Source (w/o annotations (1); see within schema source)
<xs:attribute default="other" name="category">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="date"/>
<xs:enumeration value="time"/>
<xs:enumeration value="currency"/>
<xs:enumeration value="other"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>

formatname
Type:
xs:string, predefined
Use:
optional
In some cases, it may provide the name of the particular, proprietary format actually used.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="formatname" type="xs:string"/>

otherCategory
Type:
xs:NMTOKEN, predefined
Use:
optional
A value from a controlled vocabulary, if the category attribute is given a value of "other". The complex element controlledVocabUsed should be used to identify the controlled vocabulary to which the selected term belongs. DDI provides several Controlled Vocabularies for this location dependent upon the data being described: "DataType", "DateType", and "NumericType".
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="otherCategory" type="xs:NMTOKEN" use="optional"/>

otherSchema
Type:
xs:NMTOKEN, predefined
Use:
optional
A value from a controlled vocabulary, if the schema attribute is given a value of "other". The complex element controlledVocabUsed should be used to identify the controlled vocabulary to which the selected term belongs.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="otherSchema" type="xs:NMTOKEN" use="optional"/>

schema
Type:
anonymous simpleType (restriction of xs:NMTOKEN)
Use:
optional
Identifies the vendor or standards body that defined the format.
Attribute Value
enumeration of xs:NMTOKEN
Enumeration:
"SAS", "SPSS", "IBM", "ANSI", "ISO", "XML-Data", "other"
Default:
"ISO"
Anonymous simpleType
Type Derivation Tree
xs:NMTOKEN (restriction)
  simpleType
Derivation:
restriction of xs:NMTOKEN
Facets:
enumeration:
"SAS", "SPSS", "IBM", "ANSI", "ISO", "XML-Data", "other"
XML Source (w/o annotations (1); see within schema source)
<xs:attribute default="ISO" name="schema">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="SAS"/>
<xs:enumeration value="SPSS"/>
<xs:enumeration value="IBM"/>
<xs:enumeration value="ANSI"/>
<xs:enumeration value="ISO"/>
<xs:enumeration value="XML-Data"/>
<xs:enumeration value="other"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>

type
Type:
anonymous simpleType (restriction of xs:NMTOKEN)
Use:
optional
Indicates if the variable is character or numeric.
Attribute Value
enumeration of xs:NMTOKEN
Enumeration:
"character", "numeric"
Default:
"numeric"
Anonymous simpleType
Type Derivation Tree
xs:NMTOKEN (restriction)
  simpleType
Derivation:
restriction of xs:NMTOKEN
Facets:
enumeration:
"character", "numeric"
XML Source (w/o annotations (1); see within schema source)
<xs:attribute default="numeric" name="type">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="character"/>
<xs:enumeration value="numeric"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>

URI
Type:
xs:string, predefined
Use:
optional
A network identifier for the format definition.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="URI" type="xs:string"/>

XML schema documentation generated with DocFlex/XML 1.12 using DocFlex/XML XSDDoc 2.9.0 template set