complexType "qstnType"
Namespace:
Content:
mixed (allows character data), 19 attributes, 30 elements
Defined:
globally in codebook.xsd; see XML source
Includes:
definitions of 7 attributes, 6 elements
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
 = 
xs:IDREF
 = 
xs:IDREFS
 = 
xs:string
 = 
xs:IDREFS
 = 
xs:IDREFS
 = 
("text" | "numeric" | "code" | "category" | "datetime" | "geographic" | "multiple" | "geographicLocationCode" | "geographicStructureCode" | "scale" | "externalCategory" | "nominal" | "location" | "ranking" | "distribution" | "other")
 = 
xs:NMTOKEN
   
>
   
Content: 
</...>
All Direct / Indirect Based Elements (1):
Known Usage Locations
Type Definition Detail
Type Derivation Tree
baseElementType (extension)
  abstractTextType (restriction)
      qstnType
XML Source (w/o annotations (7); see within schema source)
<xs:complexType mixed="true" name="qstnType">
<xs:complexContent>
<xs:restriction base="abstractTextType">
<xs:sequence>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:group ref="PHRASE"/>
<xs:group ref="FORM"/>
<xs:group ref="xhtml:BlkNoForm.mix"/>
<xs:element ref="preQTxt"/>
<xs:element ref="qstnLit"/>
<xs:element ref="postQTxt"/>
<xs:element ref="forward"/>
<xs:element ref="backward"/>
<xs:element ref="ivuInstr"/>
</xs:choice>
</xs:sequence>
<xs:attribute name="qstn" type="xs:IDREF"/>
<xs:attribute name="var" type="xs:IDREFS"/>
<xs:attribute name="seqNo" type="xs:string"/>
<xs:attribute name="sdatrefs" type="xs:IDREFS"/>
<xs:attribute name="access" type="xs:IDREFS"/>
<xs:attribute name="responseDomainType" use="optional">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="text"/>
<xs:enumeration value="numeric"/>
<xs:enumeration value="code"/>
<xs:enumeration value="category"/>
<xs:enumeration value="datetime"/>
<xs:enumeration value="geographic"/>
<xs:enumeration value="multiple"/>
<xs:enumeration value="geographicLocationCode"/>
<xs:enumeration value="geographicStructureCode"/>
<xs:enumeration value="scale"/>
<xs:enumeration value="externalCategory"/>
<xs:enumeration value="nominal"/>
<xs:enumeration value="location"/>
<xs:enumeration value="ranking"/>
<xs:enumeration value="distribution"/>
<xs:enumeration value="other"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="otherResponseDomainType" type="xs:NMTOKEN" use="optional"/>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
Attribute Detail (all declarations; defined within this component only; 7/19)
access
Type:
xs:IDREFS, predefined
Use:
optional
Records the ID values of all elements in the Data Access and Metadata Access section that describe access conditions for this question. These elements include: time period covered, date of collection, nation or country, geographic coverage, geographic unit, unit of analysis, universe, and kind of data.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="access" type="xs:IDREFS"/>

otherResponseDomainType
Type:
xs:NMTOKEN, predefined
Use:
optional
A term from a controlled vocabulary, if responseDomainType is given a value of "other".
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="otherResponseDomainType" type="xs:NMTOKEN" use="optional"/>

qstn
Type:
xs:IDREF, predefined
Use:
optional
Directly references a description of the question if entered in another variable.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="qstn" type="xs:IDREF"/>

responseDomainType
Type:
anonymous simpleType (restriction of xs:NMTOKEN)
Use:
optional
Added to capture the specific DDI Lifecycle response domain type to facilitate translation between DDI 2 and DDI Lifecycle.
Attribute Value
enumeration of xs:NMTOKEN
Enumeration:
"text", "numeric", "code", "category", "datetime", "geographic", "multiple", "geographicLocationCode", "geographicStructureCode", "scale", "externalCategory", "nominal", "location", "ranking", "distribution", "other"
Anonymous simpleType
Type Derivation Tree
xs:NMTOKEN (restriction)
  simpleType
Derivation:
restriction of xs:NMTOKEN
Facets:
enumeration:
"text", "numeric", "code", "category", "datetime", "geographic", "multiple", "geographicLocationCode", "geographicStructureCode", "scale", "externalCategory", "nominal", "location", "ranking", "distribution", "other"
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="responseDomainType" use="optional">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="text"/>
<xs:enumeration value="numeric"/>
<xs:enumeration value="code"/>
<xs:enumeration value="category"/>
<xs:enumeration value="datetime"/>
<xs:enumeration value="geographic"/>
<xs:enumeration value="multiple"/>
<xs:enumeration value="geographicLocationCode"/>
<xs:enumeration value="geographicStructureCode"/>
<xs:enumeration value="scale"/>
<xs:enumeration value="externalCategory"/>
<xs:enumeration value="nominal"/>
<xs:enumeration value="location"/>
<xs:enumeration value="ranking"/>
<xs:enumeration value="distribution"/>
<xs:enumeration value="other"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>

sdatrefs
Type:
xs:IDREFS, predefined
Use:
optional
References the elements in the summary data description section of the Study Description which might apply to this question.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="sdatrefs" type="xs:IDREFS"/>

seqNo
Type:
xs:string, predefined
Use:
optional
Sequence number of the question.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="seqNo" type="xs:string"/>

var
Type:
xs:IDREFS, predefined
Use:
optional
Used to list the IDs of variables resulting from the question.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="var" type="xs:IDREFS"/>
Content Element Detail (all declarations; defined within this component only; 6/30)
backward
Type:
backwardType, mixed content
XML Source (see within schema source)
<xs:element ref="backward"/>

forward
Type:
forwardType, mixed content
XML Source (see within schema source)
<xs:element ref="forward"/>

ivuInstr
Type:
simpleTextType, mixed content
XML Source (see within schema source)
<xs:element ref="ivuInstr"/>

postQTxt
Type:
simpleTextType, mixed content
XML Source (see within schema source)
<xs:element ref="postQTxt"/>

preQTxt
Type:
simpleTextType, mixed content
XML Source (see within schema source)
<xs:element ref="preQTxt"/>

qstnLit
Type:
qstnLitType, mixed content
XML Source (see within schema source)
<xs:element ref="qstnLit"/>

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