complexType "varGrpType"
Namespace:
Content:
complex, 18 attributes, 6 elements
Defined:
globally in codebook.xsd; see XML source
Includes:
definitions of 10 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
 = 
("section" | "multipleResp" | "grid" | "display" | "repetition" | "subject" | "version" | "iteration" | "analysis" | "pragmatic" | "record" | "file" | "randomized" | "other") : "other"
 = 
xs:NMTOKEN
 = 
xs:IDREFS
 = 
xs:IDREFS
 = 
xs:string
 = 
xs:IDREFS
 = 
xs:IDREFS
 = 
xs:IDREFS
 = 
xs:IDREFS
 = 
xs:string
   
>
   
Content: 
</...>
All Direct / Indirect Based Elements (1):
Known Usage Locations
Type Definition Detail
Type Derivation Tree
baseElementType (extension)
  varGrpType
XML Source (w/o annotations (10); see within schema source)
<xs:complexType name="varGrpType">
<xs:complexContent>
<xs:extension base="baseElementType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="labl"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="txt"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="concept"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="defntn"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="universe"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="notes"/>
</xs:sequence>
<xs:attribute default="other" name="type">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="section"/>
<xs:enumeration value="multipleResp"/>
<xs:enumeration value="grid"/>
<xs:enumeration value="display"/>
<xs:enumeration value="repetition"/>
<xs:enumeration value="subject"/>
<xs:enumeration value="version"/>
<xs:enumeration value="iteration"/>
<xs:enumeration value="analysis"/>
<xs:enumeration value="pragmatic"/>
<xs:enumeration value="record"/>
<xs:enumeration value="file"/>
<xs:enumeration value="randomized"/>
<xs:enumeration value="other"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="otherType" type="xs:NMTOKEN" use="optional"/>
<xs:attribute name="var" type="xs:IDREFS"/>
<xs:attribute name="varGrp" type="xs:IDREFS"/>
<xs:attribute name="name" type="xs:string"/>
<xs:attribute name="sdatrefs" type="xs:IDREFS"/>
<xs:attribute name="methrefs" type="xs:IDREFS"/>
<xs:attribute name="pubrefs" type="xs:IDREFS"/>
<xs:attribute name="access" type="xs:IDREFS"/>
<xs:attribute name="nCube" type="xs:string"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
Attribute Detail (all declarations; defined within this component only; 10/18)
access
Type:
xs:IDREFS, predefined
Use:
optional
ID values of all elements in codeBook/stdyDscr/dataAccs or codeBook/stdyDscr/metadataAccs of the document that describe access conditions for this variable group.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="access" type="xs:IDREFS"/>

methrefs
Type:
xs:IDREFS, predefined
Use:
optional
Methodology and processing references which record the ID values of all elements within the study methodology and processing section of the Study Description which might apply to the group. These elements include information on data collection and data appraisal (e.g., sampling, sources, weighting, data cleaning, response rates, and sampling error estimates).
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="methrefs" type="xs:IDREFS"/>

name
Type:
xs:string, predefined
Use:
optional
A name, or short label, for the group.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="name" type="xs:string"/>

nCube
Type:
xs:string, predefined
Use:
optional
Included in 2.0 and subsequent versions in ERROR. DO NOT USE THIS ATTRIBUTE. It is retained only for purposes of backward-compatibility. DEPRECATED.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="nCube" type="xs:string"/>

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

pubrefs
Type:
xs:IDREFS, predefined
Use:
optional
Link to publication/citation references and records the ID values of all citations elements within codeBook/stdyDscr/othrStdyMat or codeBook/otherMat that pertain to this variable group.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="pubrefs" type="xs:IDREFS"/>

sdatrefs
Type:
xs:IDREFS, predefined
Use:
optional
Summary data description references that record the ID values of all elements within the summary data description section of the Study Description that might apply to the group. 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="sdatrefs" type="xs:IDREFS"/>

type
Type:
anonymous simpleType (restriction of xs:NMTOKEN)
Use:
optional

General type of grouping of the variables, e.g., subject, multiple response. Use the value of "other" if the value is to come from an external controlled vocabulary, and place the term into the otherType attribute.

Specific variable groups, included included in this attribute, are:

- section: Questions which derive from the same section of the questionnaire, e.g., all variables located in Section C.

- multiple response: Questions where the respondent has the opportunity to select more than one answer from a variety of choices, e.g., what newspapers have you read in the past month (with the respondent able to select up to five choices).

- grid: Sub-questions of an introductory or main question but which do not constitute a multiple response group, e.g., I am going to read you some events in the news lately and you tell me for each one whether you are very interested in the event, fairly interested in the fact, or not interested in the event.

- display: Questions which appear on the same interview screen (CAI) together or are presented to the interviewer or respondent as a group.

- repetition: The same variable (or group of variables) which are repeated for different groups of respondents or for the same respondent at a different time.

- subject: Questions which address a common topic or subject, e.g., income, poverty, children.

- version: Variables, often appearing in pairs, which represent different aspects of the same question, e.g., pairs of variables (or groups) which are adjusted/unadjusted for inflation or season or whatever, pairs of variables with/without missing data imputed, and versions of the same basic question.

- iteration: Questions that appear in different sections of the data file measuring a common subject in different ways, e.g., a set of variables which report the progression of respondent income over the life course.

- analysis: Variables combined into the same index, e.g., the components of a calculation, such as the numerator and the denominator of an economic statistic.

- pragmatic: A variable group without shared properties.

- record: Variable from a single record in a hierarchical file.

- file: Variable from a single file in a multifile study.

- randomized: Variables generated by CAI surveys produced by one or more random number variables together with a response variable, e.g., random variable X which could equal 1 or 2 (at random) which in turn would control whether Q.23 is worded "men" or "women", e.g., would you favor helping [men/women] laid off from a factory obtain training for a new job?

- other: Variables which do not fit easily into any of the categories listed above, e.g., a group of variables whose documentation is in another language.

Attribute Value
enumeration of xs:NMTOKEN
Enumeration:
"section", "multipleResp", "grid", "display", "repetition", "subject", "version", "iteration", "analysis", "pragmatic", "record", "file", "randomized", "other"
Default:
"other"
Anonymous simpleType
Type Derivation Tree
xs:NMTOKEN (restriction)
  simpleType
Derivation:
restriction of xs:NMTOKEN
Facets:
enumeration:
"section", "multipleResp", "grid", "display", "repetition", "subject", "version", "iteration", "analysis", "pragmatic", "record", "file", "randomized", "other"
XML Source (w/o annotations (1); see within schema source)
<xs:attribute default="other" name="type">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="section"/>
<xs:enumeration value="multipleResp"/>
<xs:enumeration value="grid"/>
<xs:enumeration value="display"/>
<xs:enumeration value="repetition"/>
<xs:enumeration value="subject"/>
<xs:enumeration value="version"/>
<xs:enumeration value="iteration"/>
<xs:enumeration value="analysis"/>
<xs:enumeration value="pragmatic"/>
<xs:enumeration value="record"/>
<xs:enumeration value="file"/>
<xs:enumeration value="randomized"/>
<xs:enumeration value="other"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>

var
Type:
xs:IDREFS, predefined
Use:
optional
Space delimited list of the IDs of all the variables that are immediate children of the variable group.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="var" type="xs:IDREFS"/>

varGrp
Type:
xs:IDREFS, predefined
Use:
optional
Space delimited list of the IDs of all the variable groups that are immediate children of the variable group. The inclusion of a varGrp brings in all of its members. Members of the included varGrp should not be separately listed in either "var" or "varGrp".
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="varGrp" type="xs:IDREFS"/>
Content Element Detail (all declarations; defined within this component only; 6/6)
concept
Type:
conceptType, mixed content
XML Source (see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="concept"/>

defntn
Type:
simpleTextType, mixed content
XML Source (see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="defntn"/>

labl
Type:
lablType, mixed content
XML Source (see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="labl"/>

notes
Type:
notesType, mixed content
XML Source (see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="notes"/>

txt
Type:
txtType, mixed content
XML Source (see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="txt"/>

universe
Type:
universeType, mixed content
XML Source (see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="universe"/>

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