complexType "recGrpType"
Namespace:
Content:
complex, 15 attributes, 2 elements
Defined:
globally in codebook.xsd; see XML source
Includes:
definitions of 7 attributes, 2 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:IDREFS
 = 
xs:string
 = 
xs:IDREFS
 = 
xs:string
 = 
xs:string : "1"
 = 
("numeric" | "character") : "numeric"
 = 
xs:string
   
>
   
Content: 
</...>
All Direct / Indirect Based Elements (1):
Known Usage Locations
Type Definition Detail
Type Derivation Tree
baseElementType (extension)
  recGrpType
XML Source (w/o annotations (7); see within schema source)
<xs:complexType name="recGrpType">
<xs:complexContent>
<xs:extension base="baseElementType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="labl"/>
<xs:element minOccurs="0" ref="recDimnsn"/>
</xs:sequence>
<xs:attribute name="recGrp" type="xs:IDREFS"/>
<xs:attribute name="rectype" type="xs:string"/>
<xs:attribute name="keyvar" type="xs:IDREFS"/>
<xs:attribute name="rtypeloc" type="xs:string"/>
<xs:attribute default="1" name="rtypewidth" type="xs:string"/>
<xs:attribute default="numeric" name="rtypevtype">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="numeric"/>
<xs:enumeration value="character"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="recidvar" type="xs:string"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
Attribute Detail (all declarations; defined within this component only; 7/15)
keyvar
Type:
xs:IDREFS, predefined
Use:
optional
Link to other record types. In a hierarchical study consisting of individual and household records, the "keyvar" on the person record will indicate the household to which it belongs.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="keyvar" type="xs:IDREFS"/>

recGrp
Type:
xs:IDREFS, predefined
Use:
optional
IDs of the subsidiary record groups which nest underneath; this allows for the encoding of a hierarchical structure of record groups.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="recGrp" type="xs:IDREFS"/>

recidvar
Type:
xs:string, predefined
Use:
optional
Variable that identifies the record group.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="recidvar" type="xs:string"/>

rectype
Type:
xs:string, predefined
Use:
optional
Type of record, e.g., "A records" or "Household records."
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="rectype" type="xs:string"/>

rtypeloc
Type:
xs:string, predefined
Use:
optional
Starting column location of the record type indicator variable on each record of the data file.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="rtypeloc" type="xs:string"/>

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

rtypewidth
Type:
xs:string, predefined
Use:
optional
Width, for files with many different record types.
Attribute Value
Default:
"1"
XML Source (w/o annotations (1); see within schema source)
<xs:attribute default="1" name="rtypewidth" type="xs:string"/>
Content Element Detail (all declarations; defined within this component only; 2/2)
labl
Type:
lablType, mixed content
XML Source (see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="labl"/>

recDimnsn
Type:
recDimnsnType, complex content
XML Source (see within schema source)
<xs:element minOccurs="0" ref="recDimnsn"/>

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