<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns="http://www.icpsr.umich.edu/DDI" 
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:doc="http://www.icpsr.umich.edu/doc" 
    targetNamespace="http://www.icpsr.umich.edu/DDI"
    elementFormDefault="qualified" attributeFormDefault="unqualified">
    <xs:annotation>
		<xs:documentation>
			This is a w3c Schema "Technical Implementation" of the DDI Conceptual Specification. 
			This schema is intended for use in producing electronic versions of codebooks for quantitative social science data.
			CVS Revision information: $Header: /cvsroot/ddi-alliance/ddi/w3c/Version2-1.xsd,v 1.3 2005/08/08 19:40:34 wesker1972 Exp $ 
		</xs:documentation>
    </xs:annotation>
    <xs:import namespace="http://www.w3.org/XML/1998/namespace" 
        schemaLocation="http://www.w3.org/2001/xml.xsd"/>
    <xs:attributeGroup name="GLOBALS">
        <xs:attribute name="ID" type="xs:ID"/>
        <xs:attribute name="xml-lang" type="xs:NMTOKEN"/>
        <xs:attribute ref="xml:lang"/>
        <xs:attribute name="source" default="producer">
            <xs:simpleType>
                <xs:restriction base="xs:NMTOKEN">
                    <xs:enumeration value="archive"/>
                    <xs:enumeration value="producer"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
    </xs:attributeGroup>
    <xs:group name="PHRASE">
        <xs:choice>
            <xs:element name="Link" type="LinkType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="ExtLink" type="ExtLinkType" minOccurs="0" maxOccurs="unbounded"/>
        </xs:choice>
    </xs:group>
    <xs:group name="FORM">
        <xs:choice>
            <xs:element name="div" type="divType"/>
            <xs:element name="emph" type="emphType"/>
            <xs:element name="head" type="headType"/>
            <xs:element name="hi" type="hiType"/>
            <xs:element name="itm" type="itmType"/>
            <xs:element name="list" type="listType"/>
            <xs:element name="p" type="pType"/>
        </xs:choice>
    </xs:group>
    <xs:complexType name="abstractType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.2.2" title="Abstract">
                    <doc:section name="Description">An unformatted summary describing the purpose,
                        nature, and scope of the data collection, special characteristics of its
                        contents, major subject areas covered, and what questions the PIs attempted
                        to answer when they conducted the study. A listing of major variables in the
                        study is important here. In cases where a codebook contains more than one
                        abstract (for example, one might be supplied by the data producer and
                        another prepared by the data archive where the data are deposited), the
                        "source" and "date" attributes may be used to distinguish the abstract
                        versions. Maps to Dublin Core Description element. Inclusion of this element
                        in the codebook is recommended. The "date" attribute should follow ISO
                        convention of YYYY-MM-DD.</doc:section>
                    <doc:section name="Example"><![CDATA[<abstract date="1999-01-28" source="ICPSR"> Data on labor force activity for the week prior 
to the survey are supplied in this collection. Information is available on the employment status, 
occupation, and industry of persons 15 years old and over. Demographic variables such as age, sex, 
race, marital status, veteran status, household relationship, educational background, and Hispanic 
origin are included. In addition to providing these core data, the May survey also contains a supplement 
on work schedules for all applicable persons aged 15 years and older who were employed at the time of 
the survey. This supplement focuses on shift work, flexible hours, and work at home for both main and 
second jobs.</abstract> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="date" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="accsPlacType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.4.1.1" title="Location of Data Collection">
                    <doc:section name="Description">Location where the data collection is currently
                        stored. Use the URI attribute to provide a URN or URL for the storage site
                        or the actual address from which the data may be downloaded.</doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="URI" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="actMinType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.3.1.10" title="Actions to Minimize Losses">
                    <doc:section name="Description">Summary of actions taken to minimize data loss.
                        Includes information on actions such as follow-up visits, supervisory
                        checks, historical matching, estimation, etc.</doc:section>
                    <doc:section name="Example"><![CDATA[<actMin>To minimize the number of unresolved cases and reduce the potential nonresponse bias, 
four follow-up contacts were made with agencies that had not responded by various stages of the data 
collection process.</actMin>]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="altTitlType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="A.6.1.3" title="Alternative Title">
                    <doc:section name="Description">A title by which the work is commonly referred,
                        or an abbreviation of the title.</doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="anlyInfoType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.3.3" title="Data Appraisal">
                    <doc:section name="Description">Information on data appraisal. </doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="respRate" type="respRateType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="EstSmpErr" type="EstSmpErrType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="dataAppr" type="dataApprType" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="anlyUnitType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.2.3.8" title="Unit of Analysis">
                    <doc:section name="Description">Basic unit of analysis or observation that the
                        file describes: individuals, families/households, groups,
                        institutions/organizations, administrative units, etc. The "unit" attribute
                        is included to permit the development of a controlled vocabulary for this element.</doc:section>
                    <doc:section name="Example"><![CDATA[<anlyUnit>individuals</anlyUnit> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:element name="txt" type="txtType"/>
            <xs:element name="concept" type="conceptType"/>
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="unit" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="anlysUnitType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="4.3.7 4.4.9" title="Analysis Unit">
                    <doc:section name="Description">Provides information regarding whom or what the
                        variable/nCube describes.</doc:section>
                    <doc:section name="Example"><![CDATA[<var><anlysUnit> This variable reports election returns at the constituency level. </anlysUnit></var> 

<nCube><anlysUnit>Household</anlysUnit></nCube>
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:element name="txt" type="txtType"/>
            <xs:element name="concept" type="conceptType"/>
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="AuthEntyType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="A.6.2.1" title="Authoring Entity/Primary Investigator">
                    <doc:section name="Description">
                        <doc:p>The person, corporate body, or agency responsible for the work's
                            substantive and intellectual content. Repeat the element for each
                            author, and use "affiliation" attribute if available. Invert first and
                            last name and use commas. Author of data collection (2.1.2.1) maps to
                            Dublin Core Creator element. Inclusion of this element in codebook is
                            recommended. </doc:p>
                        <doc:p>The "author" in the Document Description should be the individual(s)
                            or organization(s) directly responsible for the intellectual content of
                            the DDI version, as distinct from the person(s) or organization(s)
                            responsible for the intellectual content of the earlier paper or
                            electronic edition from which the DDI edition may have been derived.</doc:p>
                    </doc:section>
                    <doc:section name="Example"><![CDATA[<AuthEnty>United States Department of Commerce. Bureau of the Census</AuthEnty> 

<AuthEnty affiliation="European Commission">Rabier, Jacques-Rene</AuthEnty> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="affiliation" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="avlStatusType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.4.1.3" title="Availability Status">
                    <doc:section name="Description">Statement of collection availability. An archive
                        may need to indicate that a collection is unavailable because it is
                        embargoed for a period of time, because it has been superseded, because a
                        new edition is imminent, etc. It is anticipated that a controlled vocabulary
                        will be developed for this element. </doc:section>
                    <doc:section name="Example"><![CDATA[<avlStatus>This collection is superseded by CENSUS OF POPULATION, 1880 [UNITED STATES]: PUBLIC 
USE SAMPLE (ICPSR 6460).</avlStatus> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="backwardType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="4.3.8.5" title="Backflow">
                    <doc:section name="Description">Contains a reference to IDs of possible
                        preceding questions. The "qstn" IDREFS may be used to specify the question IDs.</doc:section>
                    <doc:section name="Example"><![CDATA[<var><qstn><backward qstn="Q12 Q13 Q14 Q15">For responses on a similar topic, see questions 
12-15.</backward></qstn> </var> 

<var><qstn><backward qstn="Q143"> </backward></qstn> </var> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="qstn" type="xs:IDREFS"/>
    </xs:complexType>
    <xs:complexType name="biblCitType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="A.6.7" title="Bibliographic Citation">
                    <doc:section name="Description">Complete bibliographic reference containing all
                        of the standard elements of a citation that can be used to cite the work.
                        The "format" attribute is provided to enable specification of the particular
                        citation style used, e.g., APA, MLA, Chicago, etc.</doc:section>
                    <doc:section name="Example"><![CDATA[<biblCit format="MRDF">Rabier, Jacques-Rene, and Ronald Inglehart. EURO-BAROMETER 11: YEAR OF 
THE CHILD IN EUROPE, APRIL 1979 [Codebook file]. Conducted by Institut Francais D'Opinion Publique 
(IFOP), Paris, et al. ICPSR ed. Ann Arbor, MI: Inter-university Consortium for Political and Social 
Resarch [producer and distributor], 1981. </biblCit> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="format" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="boundPolyType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.2.3.7" title="Geographic Bounding Polygon">
                    <doc:section name="Description">
                        <doc:p>This field allows the creation of multiple polygons to describe in a
                            more detailed manner the geographic area covered by the dataset. It
                            should only be used to define the outer boundaries of a covered area.
                            For example, in the United States, such polygons can be created to
                            define boundaries for Hawaii, Alaska, and the continental United States,
                            but not interior boundaries for the contiguous states. This field is
                            used to refine a coordinate-based search, not to actually map an area. </doc:p>
                        <doc:p>If the boundPoly element is used, then geoBndBox MUST be present, and
                            all points enclosed by the boundPoly MUST be contained within the
                            geoBndBox. Elements westBL, eastBL, southBL, and northBL of the
                            geoBndBox should each be represented in at least one point of the
                            boundPoly description. </doc:p>
                    </doc:section>
                    <doc:section name="Example"><![CDATA[<geogCover>Nevada State</geogCover>

<boundPoly>

<polygon>
    <point><gringLat>42.002207</gringLat><gringLon>-120.005729004</gringLon></point>
    <point><gringLat>42.002207</gringLat><gringLon>-114.039663</gringLon></point>
    <point><gringLat>35.9</gringLat><gringLon>-114.039663</gringLon></point>
    <point><gringLat>36.080</gringLat><gringLon>-114.544</gringLon></point>
    <point><gringLat>35.133</gringLat><gringLon>-114.542</gringLon></point>
    <point><gringLat>35.00208499998</gringLat><gringLon>-114.63288</gringLon></point>
    <point><gringLat>35.00208499998</gringLat><gringLon>-114.63323</gringLon></point>
    <point><gringLat>38.999</gringLat><gringLon>-120.005729004</gringLon></point>
    <point><gringLat>42.002207</gringLat><gringLon>-120.005729004</gringLon></point>

</polygon>

</boundPoly>  

<geogCover>Norway</geogCover>

<boundPoly>

<polygon>

<point><gringLat>80.76416</gringLat><gringLon>33.637497</gringLon></point>
 <point><gringLat>80.76416</gringLat><gringLon>10.2</gringLon></point>
    <point><gringLat>62.48395</gringLat><gringLon>4.789583</gringLon></point>
    <point><gringLat>57.987915</gringLat><gringLon>4.789583</gringLon></point>
    <point><gringLat>57.987915</gringLat><gringLon>11.8</gringLon></point>
    <point><gringLat>61.27794</gringLat><gringLon>13.2336</gringLon></point>
 <point><gringLat>63.19012</gringLat><gringLon>13.2336</gringLon></point>
    <point><gringLat>67.28615</gringLat><gringLon>17.24580</gringLon></point>
    <point><gringLat>68.14297</gringLat><gringLon>21.38362</gringLon></point>
    <point><gringLat>68.14297</gringLat><gringLon>25.50054</gringLon></point>
    <point><gringLat>69.39685</gringLat><gringLon>27.38137</gringLon></point>
    <point><gringLat>68.76991</gringLat><gringLon>28.84424</gringLon></point>
    <point><gringLat>68.76991</gringLat><gringLon>31.31021</gringLon></point>
    <point><gringLat>71.42</gringLat><gringLon>31.31021</gringLon></point>
    <point><gringLat>71.42</gringLat><gringLon>33.637497</gringLon></point>
    <point><gringLat>80.76416</gringLat><gringLon>33.637497</gringLon></point>

</polygon>

</boundPoly>  

                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="polygon" type="polygonType" maxOccurs="unbounded"/>
        </xs:sequence>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="caseQntyType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="3.1.3.1.2.2 3.1.4.1" title="Number of cases / Record Quantity">
                    <doc:section name="Description">Number of cases or observations.</doc:section>
                    <doc:section name="Example"><![CDATA[<caseQnty>1011</caseQnty>
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="catStatType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="4.3.17.2 4.3.18.4" title="Category Level Statistic">
                    <doc:section name="Description">May include frequencies, percentages, or
                        crosstabulation results. This field can contain one of the following: 1.
                        textual information (e.g., PCDATA), or 2. non-parseable character data
                        (e.g., the statistics), or 3. some other form of external information
                        (table, image, etc.) In case 1, the tag can be used to mark up character
                        data; tables can also be included in the actual markup. In cases 2 or 3, the
                        element can be left empty and the "URI" attribute used to refer to the
                        external object containing the information. The attribute "type" indicates
                        the type of statistics presented - frequency, percent, or crosstabulation.</doc:section>
                    <doc:section name="Example"><![CDATA[<var><catgryGrp ><catStat type='freq'>256 </catStat></catgryGrp></var> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:element name="table" type="tableType"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="type" default="freq">
            <xs:simpleType>
                <xs:restriction base="xs:NMTOKEN">
                    <xs:enumeration value="freq"/>
                    <xs:enumeration value="percent"/>
                    <xs:enumeration value="crosstab"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="URI" type="xs:string"/>
        <xs:attribute name="methrefs" type="xs:IDREFS"/>
        <xs:attribute name="wgtd" default="not-wgtd">
            <xs:simpleType>
                <xs:restriction base="xs:NMTOKEN">
                    <xs:enumeration value="wgtd"/>
                    <xs:enumeration value="not-wgtd"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="wgt-var" type="xs:IDREFS"/>
        <xs:attribute name="weight" type="xs:IDREFS"/>
        <xs:attribute name="sdatrefs" type="xs:IDREFS"/>
    </xs:complexType>
    <xs:complexType name="catValuType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="4.3.18.1" title="Category Value">
                    <doc:section name="Description">The explicit response.</doc:section>
                    <doc:section name="Example"><![CDATA[<var><catgry missing="Y" missType="inap"><catValu>9 </catValu> </catgry></var> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    
    <xs:complexType name="catLevelType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="4.3.25" title="Category Level">
                    <doc:section name="Description">
                    	Used to describe the levels of the category hierarchy. 
                    	Note that we do not indicate nesting levels or roll-up 
                    	structures here. This is done to be able to support ragged 
                    	hierarchies.
                    </doc:section>
					<doc:section name="Example">
						<![CDATA[
						<catlevel ID="Level1" levelnm="Broader sectors" />
						<catlevel ID="Level2" levelnm="Narrower sectors" />
						<catlevel ID="Level3" levelnm="Occupations" />
						]]>
					</doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="levelnm" type="xs:string"/>
    </xs:complexType>
    
    
    <xs:complexType name="catgryType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="4.3.18" title="Category">
                    <doc:section name="Description">
						<doc:p>A description of a particular response.</doc:p>
						
						<doc:p>The attribute "missing" indicates whether this category group contains missing
                        data or not. </doc:p>
                        <doc:p>The attribute "missType" is used to specify the type of missing
                        data, e.g., inap., don't know, no answer, etc. </doc:p>
						<doc:p>The attribute "country" allows for the denotation of country-specific category values.</doc:p>
						<doc:p>The "sdatrefs" attribute records the ID values of all elements within the
                        summary data decription that apply to this category. </doc:p>
						<doc:p>The exclusiveness attribute ("excls") should be set to "false" if the category can appear in
                        more than one place in the classification hierarchy.</doc:p>
                        <doc:p>The attribute "catgry" is an IDREF referencing any child categories of this category element.
						Used to capture nested hierarchies of categories.</doc:p>
						<doc:p>The attribute "level" is an IDREF referencing the catLevel ID in which this category exists.</doc:p>
					</doc:section>
					<doc:section name="Example">
						<![CDATA[
                        <catlevel ID="Level1" levelnm="Broader sectors" />
						<catlevel ID="Level2" levelnm="Narrower sectors" />
						<catlevel ID="Level3" levelnm="Occupations" />
                        <!-- ... -->
						<catgry ID="C1" catgry="C2" Level="Level1">
							<catValu>0</catValu>
							<labl> Management, professional and related occupations </labl>
						</catgry>
						<catgry ID="C2" catgry="C3, C4" Level="Level2">
							<catValu>01</catValu>
							<labl> Management occupations</labl>
						</catgry>
						<catgry ID="C3" Level="Level3">
							<catValu>011</catValu>
							<labl> Top executives </labl>
						</catgry>
						<catgry ID="C4" Level="Level3">
							<catValu>012</catValu>
							<labl> Financial managers</labl>
						</catgry>
						]]>
					</doc:section>
				</doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="catValu" type="catValuType" minOccurs="0"/>
            <xs:element name="labl" type="lablType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="txt" type="txtType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="catStat" type="catStatType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="mrow" type="mrowType" minOccurs="0"/>
        </xs:sequence>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="missing" default="N">
            <xs:simpleType>
                <xs:restriction base="xs:NMTOKEN">
                    <xs:enumeration value="Y"/>
                    <xs:enumeration value="N"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="missType" type="xs:string"/>
        <xs:attribute name="country" type="xs:string"/>
        <xs:attribute name="sdatrefs" type="xs:IDREFS"/>
        <xs:attribute name="excls" default="true">
            <xs:simpleType>
                <xs:restriction base="xs:NMTOKEN">
                    <xs:enumeration value="true"/>
                    <xs:enumeration value="false"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="catgry" type="xs:IDREFS" use="optional"/>
        <xs:attribute name="level" type="xs:IDREF" use="optional"/>
    </xs:complexType>
    <xs:complexType name="catgryGrpType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="4.3.17" title="Category Group">
                    <doc:section name="Description">A description of response categories that might
                        be grouped together. The attribute "missing" indicates whether this category
                        group contains missing data or not. The attribute "missType" is used to
                        specify the type of missing data, e.g., inap., don't know, no answer, etc.
                        The attribute catGrp is used to indicate all the subsidiary category groups
                        which nest underneath the current category group. This allows for the
                        encoding of a hierarchical structure of category groups. The "levelno"
                        attribute allows the addition of a level number, and "levelnm" allows the
                        addition of a level name to the category group. The completeness attribute
                        ("compl") should be set to "false" if the category group is incomplete (not
                        a complete aggregate of all sub-nodes or children). The exclusiveness
                        attribute ("excls") should be set to "false" if the category group can
                        appear in more than one place in the classification hierarchy.</doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="labl" type="lablType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="catStat" type="catStatType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="txt" type="txtType" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="missing" default="N">
            <xs:simpleType>
                <xs:restriction base="xs:NMTOKEN">
                    <xs:enumeration value="Y"/>
                    <xs:enumeration value="N"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="missType" type="xs:string"/>
        <xs:attribute name="catgry" type="xs:IDREFS"/>
        <xs:attribute name="catGrp" type="xs:IDREFS"/>
        <xs:attribute name="levelno" type="xs:string"/>
        <xs:attribute name="levelnm" type="xs:string"/>
        <xs:attribute name="compl" default="true">
            <xs:simpleType>
                <xs:restriction base="xs:NMTOKEN">
                    <xs:enumeration value="true"/>
                    <xs:enumeration value="false"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="excls" default="true">
            <xs:simpleType>
                <xs:restriction base="xs:NMTOKEN">
                    <xs:enumeration value="true"/>
                    <xs:enumeration value="false"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="citReqType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.4.2.5" title="Citation Requirement">
                    <doc:section name="Description">Text of requirement that a data collection
                        should be cited properly in articles or other publications that are based on
                        analysis of the data.</doc:section>
                    <doc:section name="Example"><![CDATA[<citReq>Publications based on ICPSR data collections should acknowledge those sources by 
means of bibliographic citations. To ensure that such source attributions are captured for social 
science bibliographic utilities, citations must appear in footnotes or in the reference section of 
publications.</citReq> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="citationType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="A.6" title="Bibliographic Citation">
                    <doc:section name="Description">
                        <doc:p>This element encodes the bibliographic information for the work at
                            the level specified: (1) Document Description, Citation (of Marked-up
                            Document), (2) Document Description, Citation (of Marked-up Document
                            Source), (3) Study Description, Citation (of Study), (4) Study
                            Description, Other Material, and (5) Other Material for the study
                            itself. Bibliographic information includes title information, statement
                            of responsibility, production and distribution information, series and
                            version information, text of a preferred bibliographic citation, and
                            notes (if any). </doc:p>
                        <doc:p>A MARCURI attribute is provided to link to the MARC record for the citation.</doc:p>
                    </doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="titlStmt" type="titlStmtType"/>
            <xs:element name="rspStmt" type="rspStmtType" minOccurs="0"/>
            <xs:element name="prodStmt" type="prodStmtType" minOccurs="0"/>
            <xs:element name="distStmt" type="distStmtType" minOccurs="0"/>
            <xs:element name="serStmt" type="serStmtType" minOccurs="0"/>
            <xs:element name="verStmt" type="verStmtType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="biblCit" type="biblCitType" minOccurs="0"/>
            <xs:element name="holdings" type="holdingsType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="notes" type="notesType" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="MARCURI" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="cleanOpsType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.3.1.13" title="Cleaning Operations">
                    <doc:section name="Description">Methods used to "clean" the data collection,
                        e.g., consistency checking, wildcode checking, etc. The "agency" attribute
                        permits specification of the agency doing the data cleaning. </doc:section>
                    <doc:section name="Example"><![CDATA[<cleanOps>Checks for undocumented codes were performed, and data were subsequently revised 
in consultation with the principal investigator.</cleanOps> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="agency" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="codInstrType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="4.3.19" title="Coder Instructions">
                    <doc:section name="Description">Any special instructions to those who converted
                        information from one form to another for a particular variable. This might
                        include the reordering of numeric information into another form or the
                        conversion of textual information into numeric information.</doc:section>
                    <doc:section name="Example"><![CDATA[<var><codInstr>Use the standard classification tables to present responses to the question:  
What is your occupation? into numeric codes.</codInstr></var> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:element name="codeBook">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="0.0" title="Codebook">
                    <doc:section name="Description">
                        <doc:p>Every element in the DDI DTD/Schema has the following attributes:</doc:p>
                        <doc:p>ID - This uniquely identifies each element.</doc:p>
                        <doc:p>xml-lang - Use of this attribute is deprecated, and it will no longer
                            be supported in the next major version of the DDI specification. For
                            newly created XML documents, please use xml:lang.</doc:p>
                        <doc:p>xml:lang - This attribute specifies the language used in the contents
                            and attribute values of any element in the XML document. Use of ISO
                                (<doc:a href="http://www.iso.org/">www.iso.org</doc:a>) language
                            codes is recommended.</doc:p>
                        <doc:p>source - This attribute identifies the source that provided
                            information in the element. If the documentation contains two differing
                            sets of information on Sampling Procedure -- one provided by the data
                            producer and one by the archive where the data is deposited -- this
                            information can be distinguished through the use of the source attribute.</doc:p>
                        <doc:p>Note also that the DDI contains a linking mechanism permitting
                            arbitrary links between internal elements (<doc:a
                            href="http://webapp.icpsr.umich.edu/cocoon/DDI-LIBRARY/Version2-0.xsd?element-definition=LinkType&amp;reps=*">Link</doc:a>)
                            and from internal elements to external sources (<doc:a href="http://webapp.icpsr.umich.edu/cocoon/DDI-LIBRARY/Version2-0.xsd?element-definition=ExtLinkType&amp;reps=*">ExtLink</doc:a>).</doc:p>
                        <doc:p>The top-level element, codeBook (0.0) also includes a version
                            attribute to specify the version number of the DDI specification.</doc:p>
                        <doc:p>Mention of formatting elements: p, emph, list, itm, etc.???</doc:p>
                    </doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:complexType>
            <xs:sequence>
                <xs:element name="docDscr" type="docDscrType" minOccurs="0" maxOccurs="unbounded"/>
                <xs:element name="stdyDscr" type="stdyDscrType" maxOccurs="unbounded"/>
                <xs:element name="fileDscr" type="fileDscrType" minOccurs="0" maxOccurs="unbounded"/>
                <xs:element name="dataDscr" type="dataDscrType" minOccurs="0" maxOccurs="unbounded"/>
                <xs:element name="otherMat" type="otherMatType" minOccurs="0" maxOccurs="unbounded"/>
            </xs:sequence>
            <xs:attributeGroup ref="GLOBALS"/>
            <xs:attribute name="version" type="xs:string" fixed="2.1"/>
        </xs:complexType>
    </xs:element>
    <xs:complexType name="cohortType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="4.4.12.1" title="Cohort">
                    <doc:section name="Description">The element cohort is used when the nCube
                        contains a limited number of categories from a particular variable, as
                        opposed to the full range of categories. The attribute "catRef" is an IDREF
                        to the actual category being used. The attribute "value" indicates the
                        actual value attached to the category that is being used.</doc:section>
                    <doc:section name="Example"><![CDATA[<timeDmns><cohort catRef="CV24_1" value="1"></cohort></timeDmns> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="range" type="rangeType" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="catRef" type="xs:IDREF"/>
        <xs:attribute name="value" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="collDateType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.2.3.2" title="Date of Collection">
                    <doc:section name="Description">Contains the date(s) when the data were
                        collected. Use the event attribute to specify "start", "end", or "single"
                        for each date entered. The ISO standard for dates (YYYY-MM-DD) is
                        recommended for use with the "date" attribute. The "cycle" attribute permits
                        specification of the relevant cycle, wave, or round of data. Maps to Dublin
                        Core Coverage element. Inclusion of this element in the codebook is recommended.</doc:section>
                    <doc:section name="Example"><![CDATA[<collDate event="single" date="1998-11-10">10 November 1998</collDate> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="date" type="xs:string"/>
        <xs:attribute name="event" default="single">
            <xs:simpleType>
                <xs:restriction base="xs:NMTOKEN">
                    <xs:enumeration value="start"/>
                    <xs:enumeration value="end"/>
                    <xs:enumeration value="single"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="cycle" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="collModeType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.3.1.6" title="Mode of Data Collection">
                    <doc:section name="Description">The method used to collect the data;
                        instrumentation characteristics.</doc:section>
                    <doc:section name="Example"><![CDATA[<collMode>telephone interviews</collMode> 

<collMode>face-to-face interviews</collMode> 

<collMode>mail questionnaires</collMode> 

<collMode>computer-aided telephone interviews (CATI)</collMode> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:element name="txt" type="txtType"/>
            <xs:element name="concept" type="conceptType"/>
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="collSituType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.3.1.9" title="Characteristics of Data Collection Situation">
                    <doc:section name="Description">Description of noteworthy aspects of the data
                        collection situation. Includes information on factors such as
                        cooperativeness of respondents, duration of interviews, number of
                        call-backs, etc.</doc:section>
                    <doc:section name="Example"><![CDATA[<collSitu>There were 1,194 respondents who answered questions in face-to-face interviews 
lasting approximately 75 minutes each.</collSitu> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="collSizeType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.4.1.4" title="Extent of Collection">
                    <doc:section name="Description">Summarizes the number of physical files that
                        exist in a collection, recording the number of files that contain data and
                        noting whether the collection contains machine-readable documentation and/or
                        other supplementary files and information such as data dictionaries, data
                        definition statements, or data collection instruments. </doc:section>
                    <doc:section name="Example"><![CDATA[<collSize>1 data file + machine-readable documentation (PDF) + SAS data definition statements
</collSize> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="colspecType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="5.4.2.1" title="Column Specification"/>
            </xs:documentation>
        </xs:annotation>
        <xs:attribute name="colnum" type="xs:string" use="optional"/>
        <xs:attribute name="colname" type="xs:NMTOKEN"/>
        <xs:attribute name="colwidth" type="xs:string"/>
        <xs:attribute name="colsep" type="xs:string"/>
        <xs:attribute name="rowsep" type="xs:string"/>
        <xs:attribute name="align">
            <xs:simpleType>
                <xs:restriction base="xs:NMTOKEN">
                    <xs:enumeration value="left"/>
                    <xs:enumeration value="right"/>
                    <xs:enumeration value="center"/>
                    <xs:enumeration value="justify"/>
                    <xs:enumeration value="char"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="char" type="xs:string"/>
        <xs:attribute name="charoff" type="xs:NMTOKEN"/>
    </xs:complexType>
    <xs:complexType name="completeType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.4.1.5" title="Completeness of Study Stored">
                    <doc:section name="Description">This item indicates the relationship of the data
                        collected to the amount of data coded and stored in the data collection.
                        Information as to why certain items of collected information were not
                        included in the data file stored by the archive should be provided. </doc:section>
                    <doc:section name="Example"><![CDATA[<complete>Because of embargo provisions, data values for some variables have been masked. Users 
should consult the data definition statements to see which variables are under embargo. A new version 
of the collection will be released by ICPSR after embargoes are lifted.</complete> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="conceptType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="4.1.3 4.2.3 4.3.21" title="Concept">
                    <doc:section name="Description">The general subject to which the parent element
                        may be seen as pertaining. This element serves the same purpose as the
                        keywords and topic classification elements, but at the data description
                        level. The "vocab" attribute is provided to indicate the controlled
                        vocabulary, if any, used in the element, e.g., LCSH (Library of Congress
                        Subject Headings), MeSH (Medical Subject Headings), etc. The "vocabURI"
                        attribute specifies the location for the full controlled vocabulary. </doc:section>
                    <doc:section name="Example"><![CDATA[<nCubeGrp><concept>Income</concept></nCubeGrp> 

<nCubeGrp><concept vocab="LCSH" vocabURI="http://lcweb.loc.gov/catdir/cpso/lcco/lcco.html" source="archive">
more experience</concept></nCubeGrp>

<var><concept>Income</concept></var> 

<var><concept vocab="LCSH" vocabURI= "http://lcweb.loc.gov/catdir/cpso/lcco/lcco.html" source="archive">
SF: 311-312 draft horses</concept></var> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="vocab" type="xs:string"/>
        <xs:attribute name="vocabURI" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="conditionsType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.4.2.7" title="Conditions">
                    <doc:section name="Description">Indicates any additional information that will
                        assist the user in understanding the access and use conditions of the data
                        collection. </doc:section>
                    <doc:section name="Example"><![CDATA[<conditions>The data are available without restriction. Potential users of these datasets 
are advised, however, to contact the original principal investigator Dr. J. Smith (Institute for 
Social Research, The University of Michigan, Box 1248, Ann Arbor, MI 48106), about their intended 
uses of the data. Dr. Smith would also appreciate receiving copies of reports based on the datasets.
</conditions> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="confDecType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.4.2.1" title="Confidentiality Declaration">
                    <doc:section name="Description">This element is used to determine if signing of
                        a confidentiality declaration is needed to access a resource. The "required"
                        attribute is used to aid machine processing of this element, and the default
                        specification is "yes". The "formNo" attribute indicates the number or ID of
                        the form that the user must fill out. The "URI" attribute may be used to
                        provide a URN or URL for online access to a confidentiality declaration
                        form. </doc:section>
                    <doc:section name="Example"><![CDATA[<confDec formNo="1">To download this dataset, the user must sign a declaration of confidentiality.
</confDec> 

<confDec URI="http://www.icpsr.umich.edu/HMCA/CTSform/contents.html"> To obtain this dataset, the user 
must complete a Restricted Data Use Agreement.</confDec> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="required" default="yes">
            <xs:simpleType>
                <xs:restriction base="xs:NMTOKEN">
                    <xs:enumeration value="yes"/>
                    <xs:enumeration value="no"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="formNo" type="xs:string"/>
        <xs:attribute name="URI" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="contactType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="A.6.4.2" title="Contact Persons">
                    <doc:section name="Description">Names and addresses of individuals responsible
                        for the work. Individuals listed as contact persons will be used as resource
                        persons regarding problems or questions raised by the user community. The
                        URI attribute should be used to indicate a URN or URL for the homepage of
                        the contact individual. The email attribute is used to indicate an email
                        address for the contact individual. </doc:section>
                    <doc:section name="Example"><![CDATA[<contact affiliation="University of Wisconsin" email="jsmith@...">Jane Smith</contact> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="affiliation" type="xs:string"/>
        <xs:attribute name="URI" type="xs:string"/>
        <xs:attribute name="email" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="ConOpsType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.3.1.11" title="Control Operations">
                    <doc:section name="Description">Methods to facilitate data control performed by
                        the primary investigator or by the data archive. Specify any special
                        programs used for such operations. The "agency" attribute maybe used to
                        refer to the agency that performed the control operation. </doc:section>
                    <doc:section name="Example"><![CDATA[<ConOps source="ICPSR">Ten percent of data entry forms were reentered to check for accuracy.</ConOps> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="agency" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="copyrightType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="A.6.3.2" title="Copyright">
                    <doc:section name="Description">Copyright statement for the work at the
                        appropriate level. Copyright for data collection (2.1.3.2) maps to Dublin
                        Core Rights. Inclusion of this element is recommended element. </doc:section>
                    <doc:section name="Example"><![CDATA[<copyright>Copyright(c) ICPSR, 2000</copyright> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="CubeCoordType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="3.2.1.1" title="">
                    <doc:section name="Description">This is an empty element containing only the
                        attributes listed below. It is used to identify the coordinates of the data
                        item within a logical nCube describing aggregate data. CubeCoord is repeated
                        for each dimension of the nCube giving the coordinate number ("coordNo") and
                        coordinate value ("coordVal"). Coordinate value reference ("cordValRef") is
                        an ID reference to the variable that carries the coordinate value. The
                        attributes provide a complete coordinate location of a cell within the nCube.</doc:section>
                    <doc:section name="Example"><![CDATA[<CubeCoord coordNo="1" coordVal="3"/> 

<CubeCoord coordNo="2" coordVal="7"/> 

<CubeCoord coordNo="3" coordVal="2"/> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="coordNo" type="xs:string"/>
        <xs:attribute name="coordVal" type="xs:string"/>
        <xs:attribute name="coordValRef" type="xs:IDREF"/>
    </xs:complexType>
    <xs:complexType name="dataAccsType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.4" title="Data Access">
                    <doc:section name="Description">This section describes access conditions and
                        terms of use for the data collection. In cases where access conditions
                        differ across individual files or variables, multiple access conditions can
                        be specified. The access conditions applying to a study, file, variable
                        group, or variable can be indicated by an IDREF attribute on the study,
                        file, variable group, or variable elements called "access". </doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="setAvail" type="setAvailType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="useStmt" type="useStmtType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="notes" type="notesType" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="dataApprType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.3.3.3" title="Other Forms of Data Appraisal">
                    <doc:section name="Description">Other issues pertaining to data appraisal.
                        Describe here issues such as response variance, nonresponse rate and testing
                        for bias, interviewer and response bias, confidence levels, question bias,
                        etc. </doc:section>
                    <doc:section name="Example"><![CDATA[<dataAppr>These data files were obtained from the United States House of Representatives, who 
received them from the Census Bureau accompanied by the following caveats: "The numbers contained herein 
are not official 1990 decennial Census counts. The numbers represent estimates of the population based on
a statistical adjustment method applied to the official 1990 Census figures using a sample survey intended 
to measure overcount or undercount in the Census results. On July 15, 1991, the Secretary of Commerce 
decided not to adjust the official 1990 decennial Census counts (see 56 Fed. Reg. 33582, July 22, 1991). 
In reaching his decision, the Secretary determined that there was not sufficient evidence that the 
adjustment method accurately distributed the population across and within states. The numbers contained 
in these tapes, which had to be produced prior to the Secretary's decision, are now known to be biased. 
Moreover, the tapes do not satisfy standards for the publication of Federal statistics, as established 
in Statistical Policy Directive No. 2, 1978, Office of Federal Statistical Policy and Standards. 
Accordingly, the Department of Commerce deems that these numbers cannot be used for any purpose that 
legally requires use of data from the decennial Census and assumes no responsibility for the accuracy 
of the data for any purpose whatsoever. The Department will provide no assistance in interpretation or 
use of these numbers."</dataApp> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="dataChckType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="3.1.8" title="Extent of Processing Checks">
                    <doc:section name="Description">Indicate here, at the file level, the types of
                        checks and operations performed on the data file. A controlled vocabulary
                        may be developed for this element in the future. The following examples are
                        based on ICPSR's Extent of Processing scheme:</doc:section>
                    <doc:section name="Example"><![CDATA[<dataChck>The archive produced a codebook for this collection.</dataChck> 

<dataChck>Consistency checks were performed by Data Producer/ Principal  Investigator.</dataChck> 

<dataChck>Consistency checks performed by the archive.</dataChck> 

<dataChck>The archive generated SAS and/or SPSS data definition  statements for this collection.</dataChck> 

<dataChck>Frequencies were provided by Data Producer/Principal Investigator.</dataChck> 

<dataChck>Frequencies provided by the archive.</dataChck> 

<dataChck>Missing data codes were standardized by Data  Producer/ Principal Investigator.</dataChck> 

<dataChck>Missing data codes were standardized by the archive.</dataChck> 

<dataChck>The archive performed recodes and/or calculated derived variables. </dataChck> 

<dataChck>Data were reformatted by the archive.</dataChck> 

<dataChck>Checks for undocumented codes were performed by  Data Producer/Principal Investigator.</dataChck> 

<dataChck>Checks for undocumented codes were performed by the archive.</dataChck> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="dataCollType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.3.1" title="Data Collection Methdology">
                    <doc:section name="Description">Information about the methodology employed in a
                        data collection. </doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="timeMeth" type="timeMethType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="dataCollector" type="dataCollectorType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="frequenc" type="frequencType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="sampProc" type="sampProcType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="deviat" type="deviatType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="collMode" type="collModeType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="resInstru" type="resInstruType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="sources" type="sourcesType" minOccurs="0"/>
            <xs:element name="collSitu" type="collSituType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="actMin" type="actMinType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="ConOps" type="ConOpsType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="weight" type="weightType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="cleanOps" type="cleanOpsType" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="dataCollectorType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.3.1.2" title="Data Collector">
                    <doc:section name="Description">The entity (individual, agency, or institution)
                        responsible for administering the questionnaire or interview or compiling
                        the data. This refers to the entity collecting the data, not to the entity
                        producing the documentation. Attribute "abbr" may be used to list common
                        abbreviations given to agencies, etc. Attribute "affiliation" may be used to
                        record affiliation of the data collector.</doc:section>
                    <doc:section name="Example"><![CDATA[<dataCollector abbr="SRC" affiliation="University of Michigan">Survey Research Center</dataCollector>]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="abbr" type="xs:string"/>
        <xs:attribute name="affiliation" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="dataDscrType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="4.0" title="Variable Description">
                    <doc:section name="Description">Description of variables.</doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="varGrp" type="varGrpType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="nCubeGrp" type="nCubeGrpType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="var" type="varType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="nCube" type="nCubeType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="notes" type="notesType" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="dataItemType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="3.2.1" title="">
                    <doc:section name="Description">Identifies a physical storage location for an
                        individual data entry, serving as a link between the physical location and
                        the logical content description of each data item. The attribute "varRef" is
                        an IDREF that points to a discrete variable description. If the data item is
                        located within an nCube (aggregate data), use the attribute "nCubeRef"
                        (IDREF) to point to the appropriate nCube and the element CubeCoord to
                        identify the coordinates of the data item within the nCube.</doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="CubeCoord" type="CubeCoordType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="physLoc" type="physLocType" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="varRef" type="xs:IDREF"/>
        <xs:attribute name="nCubeRef" type="xs:IDREF"/>
    </xs:complexType>
    <xs:complexType name="dataKindType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.2.3.10" title="Kind of Data">
                    <doc:section name="Description">The type of data included in the file: survey
                        data, census/enumeration data, aggregate data, clinical data,
                        event/transaction data, program source code, machine-readable text,
                        administrative records data, experimental data, psychological test, textual
                        data, coded textual, coded documents, time budget diaries, observation
                        data/ratings, process-produced data, etc. This element maps to Dublin Core
                        Type element.</doc:section>
                    <doc:section name="Example"><![CDATA[<dataKind>survey data</dataKind>]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:element name="txt" type="txtType"/>
            <xs:element name="concept" type="conceptType"/>
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="dataMsngType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="3.1.10" title="Missing Data">
                    <doc:section name="Description">This element can be used to give general
                        information about missing data, e.g., that missing data have been
                        standardized across the collection, missing data are present because of
                        merging, etc.</doc:section>
                    <doc:section name="Example"><![CDATA[<dataMsng>Missing data are represented by blanks.</dataMsng> 

<dataMsng>The codes "-1" and "-2" are used to represent missing data.</dataMsng> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="dataSrcType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.3.1.8.1" title="Data Sources">
                    <doc:section name="Description">Used to list the book(s), article(s), serial(s),
                        and/or machine-readable data file(s)--if any--that served as the source(s)
                        of the data collection. </doc:section>
                    <doc:section name="Example"><![CDATA[<dataSrc> "Voting Scores." CONGRESSIONAL QUARTERLY ALMANAC 33 (1977), 487-498.</dataSrc> 

<dataSrc>United States Internal Revenue Service Quarterly Payroll File</dataSrc> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="defntnType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="4.1.4 4.2.4" title="Definition">
                    <doc:section name="Description">Rationale for why the group was constituted in
                        this way.</doc:section>
                    <doc:section name="Example"><![CDATA[<varGrp><defntn>The following eight variables were only asked in Ghana.</defntn></varGrp>
<nCubeGrp><defntn>The following four nCubes form a single presentation table.</defntn></nCubeGrp>]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="depDateType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="A.6.4.4" title="Date of Deposit">
                    <doc:section name="Description">The date that the work was deposited with the
                        archive that originally received it. The ISO standard for dates (YYYY-MM-DD)
                        is recommended for use with the "date" attribute. </doc:section>
                    <doc:section name="Example"><![CDATA[<depDate date="1999-01-25">January 25, 1999</depDate> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="date" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="deposReqType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.4.2.6" title="Deposit Requirement">
                    <doc:section name="Description">Information regarding user responsibility for
                        informing archives of their use of data through providing citations to the
                        published work or providing copies of the manuscripts. </doc:section>
                    <doc:section name="Example"><![CDATA[<deposReq> To provide funding agencies with essential information about use of archival resources 
and to facilitate the exchange of information about ICPSR participants' research activities, users of 
ICPSR data are requested to send to ICPSR bibliographic citations for, or copies of, each completed 
manuscript or thesis abstract. Please indicate in a cover letter which data were used.</deposReq> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="depositrType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="A.6.4.3" title="Depositor">
                    <doc:section name="Description">The name of the person (or institution) who
                        provided this work to the archive storing it. </doc:section>
                    <doc:section name="Example"><![CDATA[<depositr abbr="BJS" affiliation="U.S. Department of Justice">Bureau of Justice Statistics
</depositr> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="abbr" type="xs:string"/>
        <xs:attribute name="affiliation" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="derivationType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="4.3.22" title="Derivation">
                    <doc:section name="Description">Used only in the case of a derived variable,
                        this element provides both a description of how the derivation was performed
                        and the command used to generate the derived variable, as well as a
                        specification of the other variables in the study used to generate the
                        derivation. The "var" attribute provides the ID values of the other
                        variables in the study used to generate this derived variable.</doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="drvdesc" type="drvdescType" minOccurs="0"/>
            <xs:element name="drvcmd" type="drvcmdType" minOccurs="0"/>
        </xs:sequence>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="var" type="xs:IDREFS"/>
    </xs:complexType>
    <xs:complexType name="deviatType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.3.1.5" title="Major Deviations from the Sample Design">
                    <doc:section name="Description">Information indicating correspondence as well as
                        discrepancies between the sampled units (obtained) and available statistics
                        for the population (age, sex-ratio, marital status, etc.) as a whole. </doc:section>
                    <doc:section name="Example"><![CDATA[<deviat>The suitability of Ohio as a research site reflected its similarity to the United States 
as a whole. The evidence extended by Tuchfarber (1988) shows that Ohio is representative of the United 
States in several ways: percent urban and rural, percent of the population that is African American, 
median age, per capita income, percent living below the poverty level, and unemployment rate. Although 
results generated from an Ohio sample are not empirically generalizable to the United States, they may 
be suggestive of what might be expected nationally.</deviat> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="dimensnsType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="3.1.4" title="File Dimensions">
                    <doc:section name="Description">Dimensions of the overall file.</doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="caseQnty" type="caseQntyType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="varQnty" type="varQntyType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="logRecL" type="logRecLType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="recPrCas" type="recPrCasType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="recNumTot" type="recNumTotType" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="disclaimerType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.4.2.8" title="Disclaimer">
                    <doc:section name="Description">Information regarding responsibility for uses of
                        the data collection.</doc:section>
                    <doc:section name="Example"><![CDATA[<disclaimer>The original collector of the data, ICPSR, and the relevant funding agency bear 
no responsibility for uses of this collection or for interpretations or inferences based upon such 
uses.</disclaimer> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="distDateType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="A.6.4.5" title="Date of Distribution">
                    <doc:section name="Description">Date that the work was made available for
                        distribution/presentation. The ISO standard for dates (YYYY-MM-DD) is
                        recommended for use with the "date" attribute. </doc:section>
                    <doc:section name="Example"><![CDATA[<distDate date="1999-01-25">January 25, 1999</distDate> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="date" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="distStmtType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="A.6.4" title="Distributor Statement">
                    <doc:section name="Description">Distribution statement for the work at the
                        appropriate level: marked-up document; marked-up document source; study;
                        study description, other material; other material for study.</doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="distrbtr" type="distrbtrType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="contact" type="contactType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="depositr" type="depositrType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="depDate" type="depDateType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="distDate" type="distDateType" minOccurs="0"/>
        </xs:sequence>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="distrbtrType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="A.6.4.1" title="Distributor">
                    <doc:section name="Description">The organization designated by the author or
                        producer to generate copies of the particular work including any necessary
                        editions or revisions. Names and addresses may be specified and other
                        archives may be co-distributors. A URI attribute is included to provide an
                        URN or URL to the ordering service or download facility on a Web site. </doc:section>
                    <doc:section name="Example"><![CDATA[<distrbtr abbr="ICPSR" affiliation="Institute for Social Research" 
URI="http://www.icpsr.umich.edu">Ann Arbor, MI: Inter-university Consortium for 
Political and Social Research</distrbtr> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="abbr" type="xs:string"/>
        <xs:attribute name="affiliation" type="xs:string"/>
        <xs:attribute name="URI" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="divType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="A.13" title="Division">
                    <doc:section name="Description">Formatting element: marks a subdivision in a text.</doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="n" type="xs:string"/>
        <xs:attribute name="rend" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="dmnsType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="4.4.12" title="Dimension">
                    <doc:section name="Description">This element defines a variable as a dimension
                        of the nCube, and should be repeated to describe each of the cube's
                        dimensions. The attribute "rank" is used to define the coordinate order
                        (rank="1", rank="2", etc.) The attribute "varRef" is an IDREF that points to
                        the variable that makes up this dimension of the nCube.</doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="cohort" type="cohortType" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="rank" type="xs:string"/>
        <xs:attribute name="varRef" type="xs:IDREF"/>
    </xs:complexType>
    <xs:complexType name="docDscrType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="1.0" title="Document Description">
                    <doc:section name="Description">The Document Description consists of
                        bibliographic information describing the DDI-compliant document itself as a
                        whole. This Document Description can be considered the wrapper or header
                        whose elements uniquely describe the full contents of the compliant DDI
                        file. Since the Document Description section is used to identify the
                        DDI-compliant file within an electronic resource discovery environment, this
                        section should be as complete as possible. The author in the Document
                        Description should be the individual(s) or organization(s) directly
                        responsible for the intellectual content of the DDI version, as distinct
                        from the person(s) or organization(s) responsible for the intellectual
                        content of the earlier paper or electronic edition from which the DDI
                        edition may have been derived. The producer in the Document Description
                        should be the agency or person that prepared the marked-up document. Note
                        that the Document Description section contains a Documentation Source
                        subsection consisting of information about the source of the DDI-compliant
                        file-- that is, the hardcopy or electronic codebook that served as the
                        source for the marked-up codebook. These sections allow the creator of the
                        DDI file to produce version, responsibility, and other descriptions relating
                        to both the creation of that DDI file as a separate and reformatted version
                        of source materials (either print or electronic) and the original source
                        materials themselves. </doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="citation" type="citationType" minOccurs="0"/>
            <xs:element name="guide" type="guideType" minOccurs="0"/>
            <xs:element name="docStatus" type="docStatusType" minOccurs="0"/>
            <xs:element name="docSrc" type="docSrcType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="notes" type="notesType" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="docSrcType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="1.4" title="Documentation Source">
                    <doc:section name="Description">Citation for the source document. This element
                        encodes the bibliographic information describing the source codebook,
                        including title information, statement of responsibility, production and
                        distribution information, series and version information, text of a
                        preferred bibliographic citation, and notes (if any). Information for this
                        section should be taken directly from the source document whenever possible.
                        If additional information is obtained and entered in the elements within
                        this section, the source of this information should be noted in the source
                        attribute of the particular element tag. A MARCURI attribute is provided to
                        link to the MARC record for this citation.</doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="titlStmt" type="titlStmtType"/>
            <xs:element name="rspStmt" type="rspStmtType" minOccurs="0"/>
            <xs:element name="prodStmt" type="prodStmtType" minOccurs="0"/>
            <xs:element name="distStmt" type="distStmtType" minOccurs="0"/>
            <xs:element name="serStmt" type="serStmtType" minOccurs="0"/>
            <xs:element name="verStmt" type="verStmtType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="biblCit" type="biblCitType" minOccurs="0"/>
            <xs:element name="holdings" type="holdingsType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="notes" type="notesType" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="MARCURI" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="docStatusType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="1.3" title="Documentation Status">
                    <doc:section name="Description">Use this field to indicate if the documentation
                        is being presented/distributed before it has been finalized. Some data
                        producers and social science data archives employ data processing strategies
                        that provide for release of data and documentation at various stages of
                        processing. </doc:section>
                    <doc:section name="Example"><![CDATA[<docStatus>This marked-up document includes a provisional data dictionary and brief citation 
only for the purpose of providing basic access to the data file. A complete codebook will be published 
at a later date.</docStatus> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="drvcmdType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="4.3.22.2" title="Derivation Command">
                    <doc:section name="Description">The actual command used to generate the derived
                        variable. The "syntax" attribute is used to indicate the command language
                        employed (e.g., SPSS, SAS, Fortran, etc.)</doc:section>
                    <doc:section name="Example"><![CDATA[<var><derivation><drvcmd syntax="SPSS" >RECODE V1 TO V3 (0=1) (1=0) (2=-1) INTO DEFENSE WELFARE 
HEALTH. </drvcmd></derivation></var> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="syntax" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="drvdescType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="4.3.22.1" title="Derivation Description">
                    <doc:section name="Description">A textual description of the way in which this
                        variable was derived.</doc:section>
                    <doc:section name="Example"><![CDATA[<var><derivation><drvdesc> VAR215.01 "Outcome of first pregnancy" (1988 NSFG=VAR611 PREGOUT1) 
If R has never been pregnant (VAR203 PREGNUM EQ 0) then OUTCOM01 is blank/inapplicable. Else, OUTCOM01 
is transferred from VAR225 OUTCOME for R's 1st pregnancy. </drvdesc></derivation></var> 

                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="eastBLType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.2.3.6.2" title="East Bounding Longitude">
                    <doc:section name="Description">The easternmost coordinate delimiting the
                        geographic extent of the dataset. A valid range of values, expressed in
                        decimal degrees (positive east and positive north), is: -180,0 &lt;=
                        East Bounding Longitude Value &lt;= 180,0</doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="embargoType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="4.3.5 4.4.7" title="Embargo">
                    <doc:section name="Description">
                        <doc:p>Provides information on variables/nCubes which are not currently
                            available because of policies established by the principal investigators
                            and/or data producers. The ISO standard for dates (YYYY-MM-DD) is
                            recommended for use with the "date" attribute. An "event" attribute is
                            provided to specify "notBefore" or "notAfter" ("notBefore" is the
                            default). A "format" attribute is provided to ensure that this
                            information will be machine-processable, and specifies a format for the
                            embargo element. </doc:p>
                        <doc:p>The "format" attribute could be used to specify other conventions for
                            the way that information within the embargo element is set out, if
                            conventions for encoding embargo information were established in the
                            future. </doc:p>
                    </doc:section>
                    <doc:section name="Example"><![CDATA[<var><embargo event="notBefore" date="2001-09-30"> The data associated with this variable/nCube 
will not become available until September 30, 2001, because of embargo provisions established by the 
data producers.</embargo></var> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="date" type="xs:string"/>
        <xs:attribute name="event" default="notBefore">
            <xs:simpleType>
                <xs:restriction base="xs:NMTOKEN">
                    <xs:enumeration value="notBefore"/>
                    <xs:enumeration value="notAfter"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="format" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="emphType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="A.14" title="Emphasis">
                    <doc:section name="Description">Formatting element: marks words or phrases that
                        are emphasized for rhetorical effect.</doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded"/>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="n" type="xs:string"/>
        <xs:attribute name="rend" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="entryType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="5.4.2.2.1.1 5.4.2.3.1.1" title="Table Entry"/>
            </xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="xs:string">
                <xs:attribute name="colname" type="xs:NMTOKEN" use="optional"/>
                <xs:attribute name="namest" type="xs:NMTOKEN"/>
                <xs:attribute name="nameend" type="xs:NMTOKEN"/>
                <xs:attribute name="morerows" type="xs:string"/>
                <xs:attribute name="colsep" type="xs:string"/>
                <xs:attribute name="rowsep" type="xs:string"/>
                <xs:attribute name="align">
                    <xs:simpleType>
                        <xs:restriction base="xs:NMTOKEN">
                            <xs:enumeration value="left"/>
                            <xs:enumeration value="right"/>
                            <xs:enumeration value="center"/>
                            <xs:enumeration value="justify"/>
                            <xs:enumeration value="char"/>
                        </xs:restriction>
                    </xs:simpleType>
                </xs:attribute>
                <xs:attribute name="char" type="xs:string"/>
                <xs:attribute name="charoff" type="xs:NMTOKEN"/>
                <xs:attribute name="valign">
                    <xs:simpleType>
                        <xs:restriction base="xs:NMTOKEN">
                            <xs:enumeration value="top"/>
                            <xs:enumeration value="middle"/>
                            <xs:enumeration value="bottom"/>
                        </xs:restriction>
                    </xs:simpleType>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="EstSmpErrType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.3.3.2" title="Estimates of Sampling Error">
                    <doc:section name="Description">Measure of how precisely one can estimate a
                        population value from a given sample.</doc:section>
                    <doc:section name="Example"><![CDATA[<EstSmpErr> To assist NES analysts, the PC SUDAAN program was used to compute sampling errors for 
a wide-ranging example set of proportions estimated from the 1996 NES Pre-election Survey dataset. For each 
estimate, sampling errors were computed for the total sample and for twenty demographic and political 
affiliation subclasses of the 1996 NES Pre-election Survey sample. The results of these sampling error 
computations were then summarized and translated into the general usage sampling error table provided in 
Table 11. The mean value of deft, the square root of the design effect, was found to be 1.346. The design 
effect was primarily due to weighting effects (Kish, 1965) and did not vary significantly by subclass size. 
Therefore the generalized variance table is produced by multiplying the simple random sampling standard error 
for each proportion and sample size by the average deft for the set of sampling error computations.</EstSmpErr> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="ExtLinkType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="A.12" title="External Link">
                    <doc:section name="Description">This element permits encoders to provide links
                        from any arbitrary element containing ExtLink as a subelement to electronic
                        resources outside the codebook.</doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="URI" type="xs:string" use="required"/>
        <xs:attribute name="role" type="xs:string"/>
        <xs:attribute name="title" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="fileContType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="3.1.2" title="Contents of Files">
                    <doc:section name="Description">Abstract or description of the file. A summary
                        describing the purpose, nature, and scope of the data file, special
                        characteristics of its contents, major subject areas covered, and what
                        questions the PIs attempted to answer when they created the file. A listing
                        of major variables in the file is important here. In the case of multi-file
                        collections, this uniquely describes the contents of each file.</doc:section>
                    <doc:section name="Example"><![CDATA[<fileCont>Part 1 contains both edited and constructed variables describing demographic and 
family relationships, income, disability, employment, health insurance status, and utilization data 
for all of 1987. </fileCont> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="fileDscrType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="3.0" title="Data Files Description">
                    <doc:section name="Description">
                        <doc:p>Information about the data file(s) that comprises a collection. This
                            section can be repeated for collections with multiple files. </doc:p>
                        <doc:p>The "URI" attribute may be a URN or a URL that can be used to
                            retrieve the file. The "sdatrefs" are 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 file. These elements include: time period covered, date of
                            collection, nation or country, geographic coverage, geographic unit,
                            unit of analysis, universe, and kind of data. The "methrefs" are
                            methodology and processing references that record the ID values of all
                            elements within the study methodology and processing section of the
                            Study Description that might apply to the file. These elements include
                            information on data collection and data appraisal (e.g., sampling,
                            sources, weighting, data cleaning, response rates, and sampling error
                            estimates). The "pubrefs" attribute provides a link to
                            publication/citation references and records the ID values of all
                            citations elements within Other Study Description Materials or Other
                            Study-Related Materials that pertain to this file. "Access" records the
                            ID values of all elements in the Data Access section that describe
                            access conditions for this file.</doc:p>
                        <doc:p>Remarks: When a codebook documents two different physical
                            instantiations of a data file, e.g., logical record length (or OSIRIS)
                            and card-image version, the Data File Description should be repeated to
                            describe the two separate files. An ID should be assigned to each file
                            so that in the Variable section the location of each variable on the two
                            files can be distinguished using the unique file IDs. </doc:p>
                    </doc:section>
                    <doc:section name="Example"><![CDATA[<fileDscr ID="CARD-IMAGE" URI="www.icpsr.umich.edu/cgi-bin/archive.prl?path=ICPSR&num=7728"/> 

<fileDscr ID="LRECL" URI="www.icpsr.umich.edu/cgi-bin/archive.prl?path=ICPSR&num=7728"/> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="fileTxt" type="fileTxtType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="locMap" type="locMapType" minOccurs="0"/>
            <xs:element name="notes" type="notesType" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="URI" 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:complexType>
    <xs:complexType name="fileNameType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="3.1.1" title="File Name">
                    <doc:section name="Description">Contains a short title that will be used to
                        distinguish a particular file/part from other files/parts in the data
                        collection. </doc:section>
                    <doc:section name="Example"><![CDATA[<fileName ID="File1">Second-Generation Children Data </fileName> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="filePlacType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="3.1.7" title="Place of File Production">
                    <doc:section name="Description">Indicates whether the file was produced at an
                        archive or produced elsewhere.</doc:section>
                    <doc:section name="Example"><![CDATA[<filePlac>Washington, DC: United States Department of Commerce, Bureau of the  Census</filePlac> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="fileQntyType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.4.1.6" title="Number of Files">
                    <doc:section name="Description">Total number of physical files associated with a collection.</doc:section>
                    <doc:section name="Example"><![CDATA[<fileQnty> 5 files</fileQnty> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="fileStrcType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="3.1.3" title="File Structure">
                    <doc:section name="Description">Type of file structure. The attribute "type" is
                        used to indicate hierarchical, rectangular, relational, or nested (the
                        default is rectangular). If the file is rectangular, the next relevant
                        element is File Dimensions. </doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="recGrp" type="recGrpType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="notes" type="notesType" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="type" default="rectangular">
            <xs:simpleType>
                <xs:restriction base="xs:NMTOKEN">
                    <xs:enumeration value="rectangular"/>
                    <xs:enumeration value="hierarchical"/>
                    <xs:enumeration value="relational"/>
                    <xs:enumeration value="nested"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="fileTxtType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="3.1" title="File-by-File Description">
                    <doc:section name="Description">Information about the data file. </doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="fileName" type="fileNameType" minOccurs="0"/>
            <xs:element name="fileCont" type="fileContType" minOccurs="0"/>
            <xs:element name="fileStrc" type="fileStrcType" minOccurs="0"/>
            <xs:element name="dimensns" type="dimensnsType" minOccurs="0"/>
            <xs:element name="fileType" type="fileTypeType" minOccurs="0"/>
            <xs:element name="format" type="formatType" minOccurs="0"/>
            <xs:element name="filePlac" type="filePlacType" minOccurs="0"/>
            <xs:element name="dataChck" type="dataChckType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="ProcStat" type="ProcStatType" minOccurs="0"/>
            <xs:element name="dataMsng" type="dataMsngType" minOccurs="0"/>
            <xs:element name="software" type="softwareType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="verStmt" type="verStmtType" minOccurs="0"/>
        </xs:sequence>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="fileTypeType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="3.1.5" title="Type of File">
                    <doc:section name="Description">Types of data files include raw data (ASCII,
                        EBCDIC, etc.) and software-dependent files such as SAS datasets, SPSS export
                        files, etc. If the data are of mixed types (e.g., ASCII and packed decimal),
                        state that here. Note that the element varFormat permits specification of
                        the data format at the variable level. The "charset" attribute allows one to
                        specify the character set used in the file, e.g., US-ASCII, EBCDIC, UNICODE
                        UTF-8, etc.</doc:section>
                    <doc:section name="Example"><![CDATA[<fileType charset="US-ASCII">ASCII data file</fileType> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="charset" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="formatType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="3.1.6" title="Data Format">
                    <doc:section name="Description">Physical format of the data file: Logical record
                        length format, card-image format (i.e., data with multiple records per
                        case), delimited format, free format, etc.</doc:section>
                    <doc:section name="Example"><![CDATA[<format>comma-delimited</format> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="forwardType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="4.3.8.4" title="Forward Progression">
                    <doc:section name="Description">Contains a reference to IDs of possible
                        following questions. The "qstn" IDREFS may be used to specify the question IDs.</doc:section>
                    <doc:section name="Example"><![CDATA[<var><qstn><forward qstn="Q120 Q121 Q122 Q123 Q124"> If yes, please ask questions 120-124.
</forward></qstn></var> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="qstn" type="xs:IDREFS"/>
    </xs:complexType>
    <xs:complexType name="frequencType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.3.1.3" title="Frequency of Data Collection">
                    <doc:section name="Description">For data collected at more than one point in
                        time, the frequency with which the data were collected. The "freq" attribute
                        is included to permit the development of a controlled vocabulary for this
                        element. </doc:section>
                    <doc:section name="Example"><![CDATA[<freq>monthly</freq> 

<freq>quarterly</freq> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="freq" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="fundAgType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="A.6.3.6" title="Funding Agency/Sponsor">
                    <doc:section name="Description">The source(s) of funds for production of the
                        work. If different funding agencies sponsored different stages of the
                        production process, use the "role" attribute to distinguish them. </doc:section>
                    <doc:section name="Example"><![CDATA[<fundAg abbr="NSF" role="infrastructure">National Science Foundation</fundAg> 

<fundAg abbr="SUN" role="equipment">Sun Microsystems</fundAg> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="abbr" type="xs:string"/>
        <xs:attribute name="role" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="geoBndBoxType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.2.3.6" title="Geographic Bounding Box">
                    <doc:section name="Description">The fundamental geometric description for any
                        dataset that models geography. GeoBndBox is the minimum box, defined by west
                        and east longitudes and north and south latitudes, that includes the largest
                        geographic extent of the dataset's geographic coverage. This element is used
                        in the first pass of a coordinate-based search. If the boundPoly element is
                        included, then the geoBndBox element MUST be included.</doc:section>
                    <doc:section name="Example"><![CDATA[<geogCover>Nevada State</geogCover>
<geoBndBox>
  <westBL>-120.005729004</westBL>
  <eastBL>-114.039663</eastBL>
  <southBL>35.00208499998</southBL>
  <northBL>42.002207</northBL>
</geoBndBox>

 <geogCover>Norway</geogCover>
<geoBndBox>
  <westBL>4.789583</westBL>
  <eastBL>33.637497</eastBL>
  <southBL>57.987915</southBL>
  <northBL>80.76416</northBL>
</geoBndBox>
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="westBL" type="westBLType"/>
            <xs:element name="eastBL" type="eastBLType"/>
            <xs:element name="southBL" type="southBLType"/>
            <xs:element name="northBL" type="northBLType"/>
        </xs:sequence>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="geoMapType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="4.3.24" title="Geographic Map">
                    <doc:section name="Description">This element is used to point, using a "URI"
                        attribute, to an external map that displays the geography in question. The
                        "levelno" attribute indicates the level of the geographic hierarchy relayed
                        in the map. The "mapformat" attribute indicates the format of the map.</doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="URI" type="xs:string"/>
        <xs:attribute name="mapformat" type="xs:string"/>
        <xs:attribute name="levelno" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="geogCoverType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.2.3.4" title="Geographic Coverage">
                    <doc:section name="Description">Information on the geographic coverage of the
                        data. Includes the total geographic scope of the data, and any additional
                        levels of geographic coding provided in the variables. Maps to Dublin Core
                        Coverage element. Inclusion of this element in the codebook is recommended.</doc:section>
                    <doc:section name="Example"><![CDATA[<geogCover>State of California</geogCover> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:element name="txt" type="txtType"/>
            <xs:element name="concept" type="conceptType"/>
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="geogUnitType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.2.3.5" title="Geographic Unit">
                    <doc:section name="Description">Lowest level of geographic aggregation covered
                        by the data.</doc:section>
                    <doc:section name="Example"><![CDATA[<geogUnit>state</geogUnit> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:element name="txt" type="txtType"/>
            <xs:element name="concept" type="conceptType"/>
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="grantNoType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="A.6.3.7" title="Grant Number">
                    <doc:section name="Description">The grant/contract number of the project that
                        sponsored the effort. If more than one, indicate the appropriate agency
                        using the "agency" attribute. If different funding agencies sponsored
                        different stages of the production process, use the "role" attribute to
                        distinguish the grant numbers. </doc:section>
                    <doc:section name="Example"><![CDATA[<grantNo agency="Bureau of Justice Statistics">J-LEAA-018-77</grantNo> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="agency" type="xs:string"/>
        <xs:attribute name="role" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="gringLatType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.2.3.7.1.1.1" title="G-Ring Latitude">
                    <doc:section name="Description">Latitude (y coordinate) of a point. Valid range
                        expressed in decimal degrees is as follows: -90,0 to 90,0 degrees (latitude)</doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="gringLonType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.2.3.7.1.1.2" title="G-Ring Longitude">
                    <doc:section name="Description">Longitude (x coordinate) of a point. Valid range
                        expressed in decimal degrees is as follows: -180,0 to 180,0 degrees (longitude)</doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="guideType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="1.2" title="Guide to Codebook">
                    <doc:section name="Description">List of terms and definitions used in the
                        documentation. Provided to assist users in using the document correctly.
                        This element was intended to reflect the section in OSIRIS codebooks that
                        assisted users in reading and interpreting a codebook. Each OSIRIS codebook
                        contained a sample codebook page that defined the codebook conventions. </doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="headType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="A.15" title="Head">
                    <doc:section name="Description">Formatting element: marks off a heading to a
                        division, list, etc. </doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded"/>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="n" type="xs:string"/>
        <xs:attribute name="rend" type="xs:string"/>
        <xs:attribute name="type" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="hiType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="A.16" title="Highlight">
                    <doc:section name="Description">Formatting element: marks a word or phrase as
                        graphically distinct from the surrounding text, while making no claim for
                        the reasons.</doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded"/>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="n" type="xs:string"/>
        <xs:attribute name="rend" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="holdingsType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="A.6.8" title="Holdings Information">
                    <doc:section name="Description">Information concerning either the physical or
                        electronic holdings of the cited work. Attributes include: location--The
                        physical location where a copy is held; callno--The call number for a work
                        at the location specified; and URI--A URN or URL for accessing the
                        electronic copy of the cited work. </doc:section>
                    <doc:section name="Example"><![CDATA[<holdings location="ICPSR DDI Repository" callno="inap." URI="http://www.icpsr.umich.edu/DDIrepository/">
Marked-up Codebook for Current Population Survey, 1999: Annual Demographic File</holdings> 

<holdings location="University of Michigan Graduate Library" callno="inap." URI="http://www.umich.edu/library/">
Codebook for Current Population Survey, 1999: Annual Demographic File </holdings> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="location" type="xs:string"/>
        <xs:attribute name="callno" type="xs:string"/>
        <xs:attribute name="URI" type="xs:string"/>
        <xs:attribute name="media" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="IDNoType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="A.6.1.5" title="Identification Number">
                    <doc:section name="Description">Unique string or number (producer's or archive's
                        number). An "agency" attribute is supplied. Identification Number of data
                        collection maps to Dublin Core Identifier element. </doc:section>
                    <doc:section name="Example"><![CDATA[<IDNo agency="ICPSR">6678</IDNo> 

<IDNo agency="ZA">2010</IDNo> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="agency" type="xs:string"/>
        <xs:attribute name="level">
            <xs:simpleType>
                <xs:restriction base="xs:NMTOKEN">
                    <xs:enumeration value="study"/>
                    <xs:enumeration value="file"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="imputationType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="4.3.3 4.4.5" title="Imputation">
                    <doc:section name="Description">According to the Statistical Terminology
                        glossary maintained by the National Science Foundation, this is "the process
                        by which one estimates missing values for items that a survey respondent
                        failed to provide," and if applicable in this context, it refers to the type
                        of procedure used. When applied to an nCube, imputation takes into
                        consideration all of the dimensions that are part of that nCube.</doc:section>
                    <doc:section name="Example"><![CDATA[<var><imputation>This variable contains values that were derived by substitution.</imputation></var> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="invalrngType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="4.3.10" title="Range of Invalid Data Values">
                    <doc:section name="Description">Values for a particular variable that represent
                        missing data, not applicable responses, etc.</doc:section>
                    <doc:section name="Example"><![CDATA[<invalrng> 
<range UNITS="INT" min="98" max="99"> 
</range> 
<key> 
98 DK 
99 Inappropriate 
</key> </invalrng> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="range" type="rangeType" maxOccurs="unbounded"/>
            <xs:element name="item" type="itemType" maxOccurs="unbounded"/>
            <xs:element name="key" type="keyType" minOccurs="0"/>
            <xs:element name="notes" type="notesType" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="itemType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="A.9" title="Value Item">
                    <doc:section name="Description">The counterpart to Range; used to encode
                        individual values. This is an empty element consisting only of its
                        attributes. The "UNITS" attribute permits the specification of integer/real
                        numbers. The "VALUE" attribute specifies the actual value.</doc:section>
                    <doc:section name="Example"><![CDATA[<valrng><item VALUE="1"/><item VALUE="2"/><item VALUE="3"/> </valrng>]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="UNITS" default="INT">
            <xs:simpleType>
                <xs:restriction base="xs:NMTOKEN">
                    <xs:enumeration value="INT"/>
                    <xs:enumeration value="REAL"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="VALUE" type="xs:string" use="required"/>
    </xs:complexType>
    <xs:complexType name="itmType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="A.17" title="Item">
                    <doc:section name="Description">Formatting element: marks entries (items) in a list.</doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:element name="label" type="labelType"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="n" type="xs:string"/>
        <xs:attribute name="rend" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="ivuInstrType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="4.3.8.6" title="Interviewer Instructions">
                    <doc:section name="Description">Specific instructions to the individual
                        conducting an interview.</doc:section>
                    <doc:section name="Example"><![CDATA[<var><qstn><ivuInstr> Please prompt the respondent if they are reticent to answer this question.
</ivuInstr></qstn></var> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="keyType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="A.10" title="Range Key">
                    <doc:section name="Description">This element permits a listing of the category
                        values and labels. While this information is coded separately in the
                        Category element, there may be some value in having this information in
                        proximity to the range of valid and invalid values. A table is permissible
                        in this element.</doc:section>
                    <doc:section name="Example"><![CDATA[<valrng>
<range UNITS="INT" maxExclusive="95" min="05" max="80"> </range> 
<key> 

05 (PSU) Parti Socialiste Unifie et extreme gauche (Lutte Ouvriere) [United Socialists and extreme left 
(Workers Struggle)] 

50 Les Verts [Green Party] 

80 (FN) Front National et extreme droite [National Front and extreme right] 

</key>
 </valrng> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:element name="table" type="tableType"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="keywordType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.2.1.1" title="Keywords">
                    <doc:section name="Description">Words or phrases that describe salient aspects
                        of a data collection's content. Can be used for building keyword indexes and
                        for classification and retrieval purposes. A controlled vocabulary can be
                        employed. Maps to Dublin Core Subject element. The "vocab" attribute is
                        provided for specification of the controlled vocabulary in use, e.g., LCSH,
                        MeSH, etc. The "vocabURI" attribute specifies the location for the full
                        controlled vocabulary. </doc:section>
                    <doc:section name="Example"><![CDATA[<keyword vocab="ICPSR Subject Thesaurus" vocabURI="http://www.icpsr.umich.edu/thesaurus/subject.html">
quality of life</keyword> 

<keyword vocab="ICPSR Subject Thesaurus" vocabURI="http://www.icpsr.umich.edu/thesaurus/subject.html">
family</keyword> 

<keyword vocab="ICPSR Subject Thesaurus" vocabURI="http://www.icpsr.umich.edu/thesaurus/subject.html">
career goals</keyword> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="vocab" type="xs:string"/>
        <xs:attribute name="vocabURI" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="labelType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="A.19" title="Label">
                    <doc:section name="Description">Formatting element: contains the label
                        associated with an item in a list; in glossaries, marks the term being
                        defined. </doc:section>
                </doc:doc>
            </xs:documentation>
            <xs:documentation>
                <doc:doc useAs="A.2" title="Label">
                    <doc:section name="Description">A short description of the parent element.
                        Attribute "level" indicates the level to which the element applies (variable
                        group, nCube group, variable, etc.). The "vendor" attribute allows for
                        specification of different labels for use with different vendors' software.
                        Attribute "country" allows specification of a different label by country for
                        the same element to which it applies. Attribute "sdatrefs" allows pointing
                        to specific dates, universes, or other information encoded in the study
                        description. The attributes "country" and "sdatrefs" are intended to cover
                        instances of comparative data, by retaining consistency in some elements
                        over time and geography, but altering, as appropriate, information
                        pertaining to date, language, and/or location. </doc:section>
                    <doc:section name="Example"><![CDATA[<recGrp rectype="A" keyvar="H-SEQ"  recidvar="PRECORD"> 
<labl>Person (A) Record</labl> 
</recGrp> 

<varGrp><labl>Study Procedure Information</labl></varGrp> 

<varGrp><labl>Political Involvement and National Goals</labl></varGrp> <varGrp><labl>Household Variable
Section </labl></varGrp> 

<nCubeGrp><labl>Sex by Work Experience in 1999 by Income in 1999</labl></nCubeGrp> 

<nCubeGrp><labl>Tenure by Age of Householder</labl></nCubeGrp> 

<var><labl>Why No Holiday-No Money</labl></var> 

<catgryGrp><labl>Other Agricultural and Related Occupations </labl></catgryGrp>

<catgry><labl>Better</labl></catgry> 

<catgry><labl>About the same</labl> </catgry> 

<catgry><labl>Inap.</labl> </catgry> 

<nCube><labl>Age by Sex by Poverty Status</labl></nCube> 

<otherMat type="SAS data definition statements" level="study" URI="http:// www.icpsr.umich.edu"><labl>
SAS Data Definition Statements for  ICPSR 6837</labl></otherMat> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded"/>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="n" type="xs:string"/>
        <xs:attribute name="rend" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="lablType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="A.2" title="Label">
                    <doc:section name="Description">A short description of the parent element. In
                        the variable label, the length of this phrase may depend on the statistical
                        analysis system used (e.g., some versions of SAS permit 40-character labels,
                        while some versions of SPSS permit 120 characters), although the DDI itself
                        imposes no restrictions on the number of characters allowed. A "level"
                        attribute is included to permit coding of the level to which the label
                        applies, i.e. record group, variable group, variable, category group,
                        category, nCube group, nCube, or other study-related materials. The "vendor"
                        attribute was provided to allow for specification of different labels for
                        use with different vendors' software. The attribute "country" allows for the
                        denotation of country-specific labels. The "sdatrefs" attribute records the
                        ID values of all elements within the Summary Data Description section of the
                        Study Description that might apply to the label. These elements include:
                        time period covered, date of collection, nation or country, geographic
                        coverage, geographic unit, unit of analysis, universe, and kind of data. </doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="level" type="xs:string"/>
        <xs:attribute name="vendor" type="xs:string"/>
        <xs:attribute name="country" type="xs:string"/>
        <xs:attribute name="sdatrefs" type="xs:IDREFS"/>
    </xs:complexType>
    <xs:complexType name="LinkType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="A.11" title="Link">
                    <doc:section name="Description">This element permits encoders to provide links
                        from any arbitrary element containing Link as a subelement to other elements
                        in the codebook. </doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="refs" type="xs:IDREFS" use="required"/>
        <xs:attribute name="role" type="xs:string"/>
        <xs:attribute name="title" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="listType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="A.18" title="List">
                    <doc:section name="Description">Formatting element: contains any sequence of
                        items (entries) organized as a list.</doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:element name="label" type="labelType"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="n" type="xs:string"/>
        <xs:attribute name="rend" type="xs:string"/>
        <xs:attribute name="type" default="simple">
            <xs:simpleType>
                <xs:restriction base="xs:NMTOKEN">
                    <xs:enumeration value="ordered"/>
                    <xs:enumeration value="bulleted"/>
                    <xs:enumeration value="simple"/>
                    <xs:enumeration value="gloss"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="locMapType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="3.2" title="Location Map">
                    <doc:section name="Description">This element maps individual data entries to one
                        or more physical storage locations. It is used to describe the physical
                        location of aggregate/tabular data in cases where the nCube model is employed.</doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="dataItem" type="dataItemType" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="locationType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="4.3.1 4.4.1" title="Location">
                    <doc:section name="Description">This is an empty element containing only the
                        attributes listed below. Attributes include "StartPos" (starting position of
                        variable), "EndPos" (ending position of variable), "width" (number of
                        columns the variable occupies), "RecSegNo" (the record segment number, deck
                        or card number the variable is located on), and "fileid", an IDREF link to
                        the fileDscr element for the file that this location is within (this is
                        necessary in cases where the same variable may be coded in two different
                        files, e.g., a logical record length type file and a card image type file).
                        Note that if there is no width or ending position, then the starting
                        position should be the ordinal position in the file, and the file would be
                        described as free-format. The attribute "locMap" is an IDREF to the element
                        locMap and serves as a pointer to indicate that the location information for
                        the nCube's cells (aggregate data) is located in that section.</doc:section>
                    <doc:section name="Example"><![CDATA[<var><location StartPos="55" EndPos="57" width="3" RecSegNo="2" fileid="CARD-IMAGE" ></location>

<location StartPos="167" EndPos="169" fileid="LRECL"></location></var> 

<nCube><location locMap="LM"/></nCube>
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="StartPos" type="xs:string"/>
        <xs:attribute name="EndPos" type="xs:string"/>
        <xs:attribute name="width" type="xs:string"/>
        <xs:attribute name="RecSegNo" type="xs:string"/>
        <xs:attribute name="fileid" type="xs:IDREF"/>
        <xs:attribute name="locMap" type="xs:IDREF"/>
    </xs:complexType>
    <xs:complexType name="logRecLType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="3.1.3.1.2.3 3.1.4.3" title="Record Length / Logical Record Length">
                    <doc:section name="Description">Logical record length, i.e., number of
                        characters of data in the record.</doc:section>
                    <doc:section name="Example"><![CDATA[<logRecL>27</logRecL> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
            <xs:documentation>
                <doc:doc useAs="3.1.4.3" title="Logical Record Length">
                    <doc:section name="Description">Logical record length, i.e., number of
                        characters of data in the record.</doc:section>
                    <doc:section name="Example"><![CDATA[Example: 
<logRecL>27</logRecL> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="measureType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="4.4.13" title="Measure">
                    <doc:section name="Description">The element measure indicates the measurement
                        features of the cell content: type of aggregation used, measurement unit,
                        and measurement scale. An origin point is recorded for anchored scales, to
                        be used in determining relative movement along the scale. Additivity
                        indicates whether an aggregate is a stock (like the population at a given
                        point in time) or a flow (like the number of births or deaths over a certain
                        period of time). The non-additive flag is to be used for measures that for
                        logical reasons cannot be aggregated to a higher level - for instance, data
                        that only make sense at a certain level of aggregation, like a
                        classification. Two nCubes may be identical except for their measure - for
                        example, a count of persons by age and percent of persons by age. Measure is
                        an empty element that includes the following attributes: "varRef" is an
                        IDREF; "aggrMeth" indicates the type of aggregation method used, for example
                        'sum', 'average', 'count'; "measUnit" records the measurement unit, for
                        example 'km', 'miles', etc.; "scale" records unit of scale, for example
                        'x1', 'x1000'; "origin" records the point of origin for anchored
                        scales;"additivity" records type of additivity such as 'stock', 'flow',
                        'non-additive'. </doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="varRef" type="xs:IDREF"/>
        <xs:attribute name="aggrMeth">
            <xs:simpleType>
                <xs:restriction base="xs:NMTOKEN">
                    <xs:enumeration value="sum"/>
                    <xs:enumeration value="average"/>
                    <xs:enumeration value="count"/>
                    <xs:enumeration value="mode"/>
                    <xs:enumeration value="median"/>
                    <xs:enumeration value="maximum"/>
                    <xs:enumeration value="minimum"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="measUnit" type="xs:string"/>
        <xs:attribute name="scale" type="xs:string"/>
        <xs:attribute name="origin" type="xs:string"/>
        <xs:attribute name="additivity">
            <xs:simpleType>
                <xs:restriction base="xs:NMTOKEN">
                    <xs:enumeration value="stock"/>
                    <xs:enumeration value="flow"/>
                    <xs:enumeration value="non-additive"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="methodType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.3" title="Methodology and Processing">
                    <doc:section name="Description">This section describes the methodology and
                        processing involved in a data collection. </doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="dataColl" type="dataCollType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="notes" type="notesType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="anlyInfo" type="anlyInfoType" minOccurs="0"/>
            <xs:element name="stdyClas" type="stdyClasType" minOccurs="0"/>
        </xs:sequence>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="miType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="4.3.18.5.1" title="Mathematical Identifier">
                    <doc:section name="Description">Token element containing the smallest unit in
                        the mrow that carries meaning.</doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="varRef" type="xs:IDREF" use="required"/>
    </xs:complexType>
    <xs:complexType name="mrowType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="4.3.18.5" title="Mathematical Row">
                    <doc:section name="Description">This element is a wrapper containing the
                        presentation expression mi. It creates a single string without spaces
                        consisting of the individual elements described within it. It can be used to
                        create a single variable by concatenating other variables into a single
                        string. It is used to create linking variables composed of multiple
                        non-contiguous parts, or to define unique strings for various category
                        values of a single variable.</doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="mi" type="miType" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="nCubeType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="4.4" title="nCube">
                    <doc:section name="Description">
                        <doc:p>Describes the logical structure of an n-dimensional array, in which
                            each coordinate intersects with every other dimension at a single point.
                            The nCube has been designed for use in the markup of aggregate data.
                            This element includes the following attributes: </doc:p>
                        <doc:p>The attribute "name" includes a short label for the nCube. Following
                            the rules of many statistical analysis systems such as SAS and SPSS,
                            names are usually up to eight characters long. </doc:p>
                        <doc:p>The "sdatrefs" are summary data description references which record
                            the ID values of all elements within the summary data description
                            section of the Study Description which might apply to the nCube. These
                            elements include: time period covered, date of collection, nation or
                            country, geographic coverage, geographic unit, unit of analysis,
                            universe, and kind of data. </doc:p>
                        <doc:p>The "methrefs" are 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
                            nCube. These elements include information on data collection and data
                            appraisal (e.g., sampling, sources, weighting, data cleaning, response
                            rates, and sampling error estimates). </doc:p>
                        <doc:p>The "pubrefs" attribute provides a link to publication/citation
                            references and records the ID values of all citations elements in Other
                            Study Description Materials or Other Study-Related Materials that
                            pertain to this nCube. </doc:p>
                        <doc:p>The "access" attribute records the ID values of all elements in the
                            Data Access section that describe access conditions for this nCube. The
                            "dmnsQnty" attribute notes the number of dimensions in the nCube. The
                            "cellQnty" attribute indicates the total number of cells in the nCube. </doc:p>
                    </doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="location" type="locationType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="labl" type="lablType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="txt" type="txtType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="universe" type="universeType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="imputation" type="imputationType" minOccurs="0"/>
            <xs:element name="security" type="securityType" minOccurs="0"/>
            <xs:element name="embargo" type="embargoType" minOccurs="0"/>
            <xs:element name="respUnit" type="respUnitType" minOccurs="0"/>
            <xs:element name="anlysUnit" type="anlysUnitType" minOccurs="0"/>
            <xs:element name="verStmt" type="verStmtType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="purpose" type="purposeType" minOccurs="0"/>
            <xs:element name="dmns" type="dmnsType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="measure" type="measureType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="notes" type="notesType" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
        <xs:attributeGroup ref="GLOBALS"/>
        <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="dmnsQnty" type="xs:string"/>
        <xs:attribute name="cellQnty" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="nCubeGrpType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="4.2" title="nCube Group">
                    <doc:section name="Description">
                        <doc:p>A group of nCubes that may share a common subject, arise from the
                            interpretation of a single question, or are linked by some other factor.
                            This element makes it possible to identify all nCubes derived from a
                            simple presentation table, and to provide the original table title and
                            universe, as well as reference the source. Specific nesting patterns can
                            be described using the attribute nCubeGrp. </doc:p>
                        <doc:p>nCube groups are also created this way in order to permit nCubes to
                            belong to multiple groups, including multiple subject groups, without
                            causing overlapping groups. nCubes that are linked by the same use of
                            the same variable need not be identified by an nCubeGrp element because
                            they are already linked by a common variable element. Note that as a
                            result of the strict sequencing required by XML, all nCube Groups must
                            be marked up before the Variable element is opened. That is, the mark-up
                            author cannot mark up a nCube Group, then mark up its constituent
                            nCubes, then mark up another nCube Group. </doc:p>
                        <doc:p>The "type" attribute refers to the general type of grouping of the
                            nCubes. Specific nCube Groups, included within the 'type' attribute,
                            are: </doc:p>
                        <doc:p>Display: nCubes that are part of the same presentation table. </doc:p>
                        <doc:p>Subject: nCubes that address a common topic or subject, e.g., income,
                            poverty, children. </doc:p>
                        <doc:p>Iteration: nCubes that appear in different sections of the data file
                            measuring a common subject in different ways, e.g., using different
                            universes, units of measurement, etc. </doc:p>
                        <doc:p>Pragmatic: An nCube group without shared properties. </doc:p>
                        <doc:p>Record: nCubes from a single record in a hierarchical file. </doc:p>
                        <doc:p>File: nCube from a single file in a multifile study.</doc:p>
                        <doc:p>Other: nCubes that do not fit easily into any of the categories
                            listed above, e.g., a group of nCubes whose documentation is in another
                            language. </doc:p>
                        <doc:p>The "nCube" attribute is used to reference all the IDs of the nCubes
                            belonging to the group. </doc:p>
                        <doc:p>The "nCubeGrp" attribute is used to reference all the subsidiary
                            nCube groups which nest underneath the current nCubeGrp. This allows for
                            encoding of a hierarchical structure of nCube groups. </doc:p>
                        <doc:p>The attribute "name" provides a name, or short label, for the group. </doc:p>
                        <doc:p>The "sdatrefs" are 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. </doc:p>
                        <doc:p>The "methrefs" are 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). </doc:p>
                        <doc:p>The "pubrefs" attribute provides a link to publication/citation
                            references and records the ID values of all citations elements within
                            Section 2.5 or Section 5.0 that pertain to this nCube group. </doc:p>
                        <doc:p>The "access" attribute records the ID values of all elements in
                            Section 2.4 of the document that describe access conditions for this
                            nCube group. </doc:p>
                    </doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="labl" type="lablType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="txt" type="txtType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="concept" type="conceptType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="defntn" type="defntnType" minOccurs="0"/>
            <xs:element name="universe" type="universeType" minOccurs="0"/>
            <xs:element name="notes" type="notesType" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="type" default="other">
            <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="nCube" type="xs:IDREFS"/>
        <xs:attribute name="nCubeGrp" 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:complexType>
    <xs:complexType name="nationType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.2.3.3" title="Country">
                    <doc:section name="Description">Indicates the country or countries covered in
                        the file. Attribute "abbr" may be used to list common abbreviations; use of
                        ISO country codes is recommended. Maps to Dublin Core Coverage element.
                        Inclusion of this element is recommended. </doc:section>
                    <doc:section name="Example"><![CDATA[<nation abbr="GB">United Kingdom</nation> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:element name="txt" type="txtType"/>
            <xs:element name="concept" type="conceptType"/>
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="abbr" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="northBLType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.2.3.6.4" title="North Bounding Latitude">
                    <doc:section name="Description">The northernmost coordinate delimiting the
                        geographic extent of the dataset. A valid range of values, expressed in
                        decimal degrees (positive east and positive north), is: -90,0 &lt;=
                        North Bounding Latitude Value &lt;= 90,0 ; North Bounding Latitude Value
                        = South Bounding Latitude Value</doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="notesType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="A.4" title="Notes and comments">
                    <doc:section name="Description">
                        <doc:p>For clarifying information/annotation regarding the parent element.</doc:p>
                        <doc:p>The attributes for notes permit a controlled vocabulary to be
                            developed ("type" and "subject"), indicate the "level" of the DDI to
                            which the note applies (study, file, variable, etc.), and identify the
                            author of the note ("resp"). </doc:p>
                    </doc:section>
                    <doc:section name="Example"><![CDATA[<docDscr><verStmt><notes resp="Jane Smith">Additional information on derived variables  
has been added to this marked-up version of the documentation.</notes></verStmt></docDscr>

<docDscr><citation><notes resp="Jane Smith">This citation was prepared by the archive 
based on information received from the markup authors.</notes></citation></docDscr> 

<docSrc><verStmt><notes resp="Jane Smith">The source codebook was produced from  
original hardcopy materials using  Optical Character Recognition (OCR).</notes><verStmt>
</docSrc> 

<docSrc><notes>A machine-readable version of the source codebook was supplied by the 
Zentralarchiv</notes></docSrc>

<docDscr><notes>This Document Description, or header information, can be used  within an 
electronic resource discovery environment.</notes></docDscr> 

<stdyDscr><verStmt><notes resp="Jane Smith">Data for 1998 have been added to this 
version of the data collection.</notes></verStmt></stdyDscr>

<stdyDscr><citation><notes resp="Jane Smith">This citation was sent to ICPSR by the 
agency depositing the data.</notes></citation></stdyDscr> 

<stdyInfo><notes>Data on employment and income refer to the preceding year, although 
demographic data refer to the time of the survey.</notes></stdyInfo> 

<method><notes>Undocumented codes were found in this data collection. Missing data are 
represented by blanks.</notes></method>

<method><notes>For this collection, which focuses on employment, unemployment, and 
gender equality, data from EUROBAROMETER 44.3: HEALTH CARE ISSUES AND PUBLIC SECURITY, 
FEBRUARY-APRIL 1996 (ICPSR 6752) were merged with an oversample.</notes></method> 

<setAvail><notes> Data from the Bureau of Labor Statistics used in the analyses for the 
final report are not provided as part of this collection.</notes></setAvail> 

<dataAccs><notes>Users should note that this is a beta version of the data. The 
investigators therefore request that users who encounter any problems with the dataset 
contact them at the above address.</notes></dataAccs> 

<fileStrc><notes>The number of arrest records for an individual is dependent on the 
number of arrests an offender had.</notes></fileStrc> 

<fileTxt><verStmt><notes>Data for all previously-embargoed variables are now available 
in  this version of the file.</notes></verStmt></fileTxt> 

<fileDscr><notes>There is a restricted version of this file containing confidential 
information,  access to which is controlled by the principal investigator.</notes>
</fileDscr> 

<varGrp><notes>This variable group was created for the purpose of combining all derived 
variables.</notes></varGrp> 

<varGrp><notes source="archive" resp="John Data">This variable group and all other 
variable groups in this data file were organized according to a schema developed by 
the adhoc advisory committee. </notes></varGrp> 

<nCubeGrp><notes>This nCube Group was created for the purpose of presenting a cross-
tabulation between variables "Tenure" and "Age of householder."</notes></nCubeGrp> 

<valrng><notes subject="political party">Starting with Euro-Barometer 2 the coding of 
this variable has been standardized following an approximate ordering of each country's 
political parties along a "left" to "right" continuum in the first digit of the codes. 
Parties coded 01-39 are generally considered on the "left", those coded 40-49 in the 
"center", and those coded 60-89 on the "right" of the political spectrum. Parties coded 
50-59 cannot be readily located in the traditional meaning of "left" and "right". The 
second digit of the codes is not significant to the "left-right" ordering. Codes 90-99 
contain the response "other party" and various missing data responses. Users may modify 
these codings or part of these codings in order to suit their specific needs. </notes>
</valrng> 

<invalrng><notes>Codes 90-99 contain the response "other party" and various missing 
data responses. </notes></invalrng> 

<var><verStmt><notes>The labels for categories 01 and 02 for this variable, were 
inadvertently switched in the first version of this variable and have now been 
corrected.</notes></verStmt></var> 

<var><notes>This variable was created by recoding location of residence to Census 
regions.</notes></var> 

<nCube><verStmt><notes>The labels for categories 01 and 02 in dimension 1 were 
inadvertently switched in the first version of the cube, and have now been corrected.
</notes></verStmt></nCube> 

<nCube><notes>This nCube was created to meet the needs of local low income programs 
in determining eligibility for federal funds.</notes></nCube> 

<dataDscr><notes>The variables in this study are identical to earlier waves. </notes>
</dataDscr> 

<otherMat><notes>Users should be aware that this questionnaire was modified  during 
the CAI process.</notes></otherMat> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:element name="table" type="tableType"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="type" type="xs:string"/>
        <xs:attribute name="subject" type="xs:string"/>
        <xs:attribute name="level" type="xs:string"/>
        <xs:attribute name="resp" type="xs:string"/>
        <xs:attribute name="sdatrefs" type="xs:IDREFS"/>
    </xs:complexType>
    <xs:complexType name="origArchType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.4.1.2" title="Archive Where Study Originally Stored">
                    <doc:section name="Description">Archive from which the data collection was
                        obtained; the originating archive. </doc:section>
                    <doc:section name="Example"><![CDATA[<origArch>Zentralarchiv fuer empirische Sozialforschung</origArch> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="othIdType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="A.6.2.2" title="Other Identifications /Acknowledgments">
                    <doc:section name="Description">Statements of responsibility not recorded in the
                        title and statement of responsibility areas. Indicate here the persons or
                        bodies connected with the work, or significant persons or bodies connected
                        with previous editions and not already named in the description. For
                        example, the name of the person who edited the marked-up documentation might
                        be cited in 1.1.2.2, using the "role" and "affiliation" attributes. Other
                        identifications/acknowledgements for data collection (2.1.2.2) maps to
                        Dublin Core Contributor element.</doc:section>
                    <doc:section name="Example"><![CDATA[<othId role="editor" affiliation="INRA">Jane Smith</othId> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="type" type="xs:string"/>
        <xs:attribute name="role" type="xs:string"/>
        <xs:attribute name="affiliation" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="othRefsType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.5.4" title="Other References Notes">
                    <doc:section name="Description">Indicates other pertinent references. Can take
                        the form of bibliographic citations. </doc:section>
                    <doc:section name="Example"><![CDATA[<othRefs>Part II of the documentation, the Field Representative's Manual, is provided in hardcopy 
form only.</othRefs> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:element name="citation" type="citationType"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="otherMatType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="A.1" title="Other Study-Related Materials">
                    <doc:section name="Description">
                        <doc:p>This section allows for the inclusion of other materials that are
                            related to the study as identified and labeled by the DTD/Schema users
                            (encoders). The' materials may be entered as PCDATA (ASCII text)
                            directly into the document (through use of the "txt" element). This
                            ection may also serve as a "container" for other electronic materials
                            such as setup files by providing a brief description of the
                            study-related materials accompanied by the attributes "type" and "level"
                            defining the material further. The "URI" attribute may be used to
                            indicate the location of the other study-related materials.</doc:p>
                        <doc:p>Other Study-Related Materials may include: questionnaires, coding
                            notes, SPSS/SAS/Stata setup files (and others), user manuals, continuity
                            guides, sample computer software programs, glossaries of terms,
                            interviewer/project instructions, maps, database schema, data
                            dictionaries, show cards, coding information, interview schedules,
                            missing values information, frequency files, variable maps, etc.</doc:p>
                        <doc:p>Note that Section 2.5, Other Study Description Materials, should be
                            used for materials that are primarily descriptions of the content and
                            use of the study, such as appendices, sampling information, weighting
                            details, methodological and technical details, publications based upon
                            the study content, related studies or collection of studies, etc. This
                            section, 5.0 Other Study-Related Materials, is intended to include or to
                            link to materials used in the production of the study or useful in the
                            analysis of the study.</doc:p>
                        <doc:p>The "level" attribute is used to clarify the relationship of the
                            other materials to components of the study. Suggested values for level
                            include specifications of the item level to which the element applies:
                            e.g., level=datafile; level=studydsc; level=study. The URI attribute
                            need not be used in every case; it is intended for capturing references
                            to other materials separate from the codebook itself. In Section 5,
                            Other Material is recursively defined.</doc:p>
                    </doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice>
            <xs:sequence>
                <xs:element name="labl" type="lablType" minOccurs="0" maxOccurs="unbounded"/>
                <xs:element name="txt" type="txtType" minOccurs="0"/>
                <xs:element name="notes" type="notesType" minOccurs="0" maxOccurs="unbounded"/>
                <xs:element name="table" type="tableType" minOccurs="0" maxOccurs="unbounded"/>
                <xs:element name="citation" type="citationType" minOccurs="0"/>
                <xs:element name="otherMat" type="otherMatType" minOccurs="0" maxOccurs="unbounded"/>
            </xs:sequence>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="type" type="xs:string"/>
        <xs:attribute name="level" use="required">
            <xs:simpleType>
                <xs:restriction base="xs:NMTOKEN">
                    <xs:enumeration value="data"/>
                    <xs:enumeration value="datafile"/>
                    <xs:enumeration value="studydsc"/>
                    <xs:enumeration value="study"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="URI" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="othrStdyMatType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.5" title="Other Study Description Materials">
                    <doc:section name="Description">Other materials relating to the study
                        description. This section describes other materials that are related to the
                        study description that are primarily descriptions of the content and use of
                        the study, such as appendices, sampling information, weighting details,
                        methodological and technical details, publications based upon the study
                        content, related studies or collections of studies, etc. This section may
                        point to other materials related to the description of the study through use
                        of the generic citation element (A.6), which is available for each element
                        in this section. &lt;othrStdyMat&gt; maps to Dubli Core Relation
                        element. Note that Section 5.0, Other Study-Related Materials, should be
                        sued for materials used in the production of the study or useful in the
                        analysis of the study. The materials in Section 5.0 may be entered as PCDATA
                        (ASCII text) directly into the document (through use of the txt element).
                        That section may also serve as a "container" for other electronic materials
                        by providing a brief description of the study-related materials accompanied
                        by the "type" and "level" attributes further defining the materials. Other
                        Study-Related Materials in Section 5.0 may include: questionnaires, coding
                        notes, SPSS/SAS/Stata setup files (and others), user manuals, continuity
                        guides, sample computer software programs, glossaries of terms,
                        interviewer/project instructions, maps, database schema, data dictionaries,
                        show cards, coding information, interview schedules, missing values
                        information, frequency files, variable maps, etc. </doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="relMat" type="relMatType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="relStdy" type="relStdyType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="relPubl" type="relPublType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="othRefs" type="othRefsType" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="pType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="A.5" title="Paragraph">
                    <doc:section name="Description">Marks a paragraph.</doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded"/>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="n" type="xs:string"/>
        <xs:attribute name="rend" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="parTitlType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="A.6.1.4" title="Parallel Title">
                    <doc:section name="Description">Title translated into another language.</doc:section>
                    <doc:section name="Example"><![CDATA[<titl>Politbarometer West [Germany], Partial Accumulation, 1977-1995</titl> 

<parTitl>Politbarometer, 1977-1995: Partielle Kumulation</parTitl> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="physLocType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="3.2.1.2" title="">
                    <doc:section name="Description">
                        <doc:p>This is an empty element containing only the attributes listed below.
                            Attributes include "type" (type of file structure: rectangular,
                            hierarchical, two-dimensional, relational), "recRef" (IDREF link to the
                            appropriate file or recGrp element within a file), "startPos" (starting
                            position of variable or data item), "endPos" (ending position of
                            variable or data item), "width" (number of columns the variable/data
                            item occupies), "RecSegNo" (the record segment number, deck or card
                            number the variable or data item is located on), and "fileid" (an IDREF
                            link to the fileDscr element for the file that includes this physical
                            location). </doc:p>
                        <doc:p>Remarks: Where the same variable is coded in two different files,
                            e.g., a fixed format file and a relational database file, simply repeat
                            the physLoc element with the alternative location information. Note that
                            if there is no width or ending position, then the starting position
                            should be the ordinal position in the file, and the file would be
                            described as free-format. New attributes will be added as other storage
                            formats are described within the DDI. </doc:p>
                    </doc:section>
                    <doc:section name="Example"><![CDATA[<physLoc type="rectangular" recRef="R1" startPos="55" endPos="57" width="3"/> 

<physLoc type="hierarchical" recRef="R6"  startPos="25" endPos="25" width="1"/> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="type" type="xs:string"/>
        <xs:attribute name="recRef" type="xs:IDREF"/>
        <xs:attribute name="startPos" type="xs:string"/>
        <xs:attribute name="width" type="xs:string"/>
        <xs:attribute name="endPos" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="pointType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.2.3.7.1.1" title="Point">
                    <doc:section name="Description">0-dimensional geometric primitive, representing
                        a position, but not having extent. In this declaration, point is limited to
                        a longitude/latitude coordinate system.</doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="gringLat" type="gringLatType"/>
            <xs:element name="gringLon" type="gringLonType"/>
        </xs:sequence>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="polygonType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.2.3.7.1" title="Polygon">
                    <doc:section name="Description">The minimum polygon that covers a geographical
                        area, and is delimited by at least 4 points (3 sides), in which the last
                        point coincides with the first point.</doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="point" type="pointType" maxOccurs="unbounded"/>
        </xs:sequence>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="postQTxtType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="4.3.8.3" title="PostQuestion Text">
                    <doc:section name="Description">Text describing what occurs after the literal
                        question has been asked.</doc:section>
                    <doc:section name="Example"><![CDATA[<var><qstn><postQTxt>The next set of questions will ask about your financial situation.</postQTxt> 
</qstn></var> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="preQTxtType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="4.3.8.1" title="PreQuestion Text">
                    <doc:section name="Description">Text describing a set of conditions under which
                        a question might be asked.</doc:section>
                    <doc:section name="Example"><![CDATA[<var><qstn><preQTxt>For those who did not go away on a holiday of four days or more in 1985... 
</preQTxt></qstn></var> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="ProcStatType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="3.1.9" title="Processing Status">
                    <doc:section name="Description">Processing status of the file. Some data
                        producers and social science data archives employ data processing strategies
                        that provide for release of data and documentation at various stages of processing.</doc:section>
                    <doc:section name="Example"><![CDATA[<ProcStat>Available from the DDA. Being processed.</ProcStat> 

<ProcStat>The principal investigator notes that the data in Public Use Tape 5 are released prior to final 
cleaning and editing, in order to provide prompt access to the NMES data by the research and policy 
community.</ProcStat> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="prodDateType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="A.6.3.3" title="Date of Production">
                    <doc:section name="Description">Date when the marked-up document/marked-up
                        document source/data collection/other material(s) were produced (not
                        distributed or archived). The ISO standard for dates (YYYY-MM-DD) is
                        recommended for use with the date attribute. Production date for data
                        collection (2.1.3.3) maps to Dublin Core Date element. </doc:section>
                    <doc:section name="Example"><![CDATA[<prodDate date="1999-01-25">January 25, 1999</prodDate> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="date" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="prodPlacType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="A.6.3.4" title="Place of Production">
                    <doc:section name="Description">Address of the archive or organization that
                        produced the work. </doc:section>
                    <doc:section name="Example"><![CDATA[<prodPlac>Ann Arbor, MI: Inter-university Consortium for Political and Social Research</prodPlac>]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="prodStmtType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="A.6.3" title="Production Statement">
                    <doc:section name="Description">Production statement for the work at the
                        appropriate level: marked-up document; marked-up document source; study;
                        study description, other material; other material for study. </doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="producer" type="producerType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="copyright" type="copyrightType" minOccurs="0"/>
            <xs:element name="prodDate" type="prodDateType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="prodPlac" type="prodPlacType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="software" type="softwareType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="fundAg" type="fundAgType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="grantNo" type="grantNoType" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="producerType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="A.6.3.1" title="Producer">
                    <doc:section name="Description">The producer is the person or organization with
                        the financial or administrative responsibility for the physical processes
                        whereby the document was brought into existence. Use the "role" attribute to
                        distinguish different stages of involvement in the production process, such
                        as original producer. Producer of data collection (2.1.3.1) maps to Dublin
                        Core Publisher element. The "producer" in the Document Description should be
                        the agency or person that prepared the marked-up document.</doc:section>
                    <doc:section name="Example"><![CDATA[<producer abbr="ICPSR" affiliation="Institute for Social Research">Inter-university Consortium 
for Political and Social Research</producer> 

<producer abbr="MNPoll" affiliation="Minneapolis Star Tibune Newspaper" role="original producer">
Star Tribune Minnesota Poll</producer> 

<producer abbr="MRDC" affiliation="University of Minnesota" role="final production">Machine Readable 
Data Center</producer> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="abbr" type="xs:string"/>
        <xs:attribute name="affiliation" type="xs:string"/>
        <xs:attribute name="role" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="purposeType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="4.4.11" title="">
                    <doc:section name="Description">Explains the purpose for which a particular
                        nCube was created.</doc:section>
                    <doc:section name="Example"><![CDATA[<nCube><purpose>Meets reporting requirements for the Federal Reserve Board</purpose></nCube> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="sdatrefs" type="xs:IDREFS"/>
        <xs:attribute name="methrefs" type="xs:IDREFS"/>
        <xs:attribute name="pubrefs" type="xs:IDREFS"/>
        <xs:attribute name="URI" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="qstnType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="4.3.8" title="Question">
                    <doc:section name="Description">The question element may have mixed content. The
                        element itself may contain text for the question, with the subelements being
                        used to provide further information about the question. Alternatively, the
                        question element may be empty and only the subelements used. The element has
                        a unique question ID attribute which can be used to link a variable with
                        other variables where the same question has been asked. This would allow
                        searching for all variables that share the same question ID, perhaps because
                        the questions was asked several times in a panel design. The "ID" attribute
                        contains a unique identifier for the question. "Var" references the ID(s) of
                        the variable(s) relating to the question. The attribute "seqNo" refers to
                        the sequence number of the question. The attribute "sdatrefs" may be used to
                        reference elements in the summary data description section of the Study
                        Description which might apply to 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.</doc:section>
                    <doc:section name="Example"><![CDATA[<var><qstn ID="Q125">When you get together with your friends, would you say you discuss political 
matters frequently, occasionally, or never?</qstn></var> 

                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
              <xs:element name="preQTxt" type="preQTxtType"/>
              <xs:element name="qstnLit" type="qstnLitType"/>
              <xs:element name="postQTxt" type="postQTxtType"/>
              <xs:element name="forward" type="forwardType"/>
              <xs:element name="backward" type="backwardType"/>
              <xs:element name="ivuInstr" type="ivuInstrType"/>
              <xs:group ref="PHRASE"/>
              <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <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:complexType>
    <xs:complexType name="qstnLitType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="4.3.8.2" title="Literal Question">
                    <doc:section name="Description">Text of the actual, literal question asked.</doc:section>
                    <doc:section name="Example"><![CDATA[<var><qstn><qstnLit>Why didn't you go away in 1985?</qstnLit></qstn></var> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="sdatrefs" type="xs:IDREFS"/>
    </xs:complexType>
    <xs:complexType name="rangeType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="A.8" title="Value Range">
                    <doc:section name="Description">This is the actual range of values. The "UNITS"
                        attribute permits the specification of integer/real numbers. The "min" and
                        "max" attributes specify the lowest and highest values that are part of the
                        range. The "minExclusive" and "maxExclusive" attributes specify values that
                        are immediately outside the range. This is an empty element consisting only
                        of its attributes.</doc:section>
                    <doc:section name="Example"><![CDATA[For example, x < 1 or 10 <= x < 20 would be expressed as <range maxExclusive="1"/><range min="10" 
maxExclusive="20" />. ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="UNITS" default="INT">
            <xs:simpleType>
                <xs:restriction base="xs:NMTOKEN">
                    <xs:enumeration value="INT"/>
                    <xs:enumeration value="REAL"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="min" type="xs:string"/>
        <xs:attribute name="minExclusive" type="xs:string"/>
        <xs:attribute name="max" type="xs:string"/>
        <xs:attribute name="maxExclusive" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="recDimnsnType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="3.1.3.1.2" title="Dimensions (of record)">
                    <doc:section name="Description">Information about the physical characteristics
                        of the record. The "level" attribute on this element should be set to
                        "record". </doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="varQnty" type="varQntyType" minOccurs="0"/>
            <xs:element name="caseQnty" type="caseQntyType" minOccurs="0"/>
            <xs:element name="logRecL" type="logRecLType" minOccurs="0"/>
        </xs:sequence>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="level" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="recGrpType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="3.1.3.1" title="Record or Record Group">
                    <doc:section name="Description">Used to describe record groupings if the file is
                        hierarchical or relational. The attribute "recGrp" allows a record group to
                        indicate subsidiary record groups which nest underneath; this allows for the
                        encoding of a hierarchical structure of record groups. The attribute
                        "rectype" indicates the type of record, e.g., "A records" or "Household
                        records." The attribute "keyvar" is an IDREF that provides the 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. The attribute "rtypeloc" indicates the starting column
                        location of the record type indicator variable on each record of the data
                        file. The attribute "rtypewidth" specifies the width, for files with many
                        different record types. The attribute "rtypevtype" specifies the type of the
                        indicator variable. The "recidvar" indicates the variable that identifies
                        the record group.</doc:section>
                    <doc:section name="Example"><![CDATA[<fileStrc type="hierarchical"> 

<recGrp rectype="A">CPS Person-Level Records</recGrp> 

</fileStrc> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="labl" type="lablType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="recDimnsn" type="recDimnsnType" minOccurs="0"/>
        </xs:sequence>
        <xs:attributeGroup ref="GLOBALS"/>
        <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 name="rtypewidth" type="xs:string" default="1"/>
        <xs:attribute name="rtypevtype" default="numeric">
            <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:complexType>
    <xs:complexType name="recNumTotType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="3.1.4.5" title="Overall Number of Records">
                    <doc:section name="Description">Overall record count in file. Particularly
                        helpful in instances such as files with multiple cards/decks or records per case.</doc:section>
                    <doc:section name="Example"><![CDATA[<dimensns><recNumTot>2400</recNumTot></dimensns> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="recPrCasType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="3.1.4.4" title="Records per Case">
                    <doc:section name="Description">Records per case in the file. This element
                        should be used for card-image data or other files in which there are
                        multiple records per case.</doc:section>
                    <doc:section name="Example"><![CDATA[<dimensns><recPrCas>5</recPrCas></dimensns> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
            <xs:documentation>
                <doc:doc useAs="3.1.4.4" title="Records per Case">
                    <doc:section name="Description">Records per case in the file. This element
                        should be used for card-image data or other files in which there are
                        multiple records per case.</doc:section>
                    <doc:section name="Example"><![CDATA[<dimensns><recPrCas>5</recPrCas></dimensns> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="relMatType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.5.1" title="Related Materials">
                    <doc:section name="Description">Describes materials related to the study
                        description, such as appendices, additional information on sampling found in
                        other documents, etc. Can take the form of bibliographic citations. This
                        element can contain either PCDATA or a citation or both, and there can be
                        multiple occurrences of both the citation and PCDATA within a single
                        element. May consist of a single URI or a series of URIs comprising a series
                        of citations/references to external materials which can be objects as a
                        whole (journal articles) or parts of objects (chapters or appendices in
                        articles or documents). </doc:section>
                    <doc:section name="Example"><![CDATA[<relMat> Full details on the research design and procedures, sampling methodology, content areas, 
and questionnaire design, as well as percentage distributions by respondent's sex, race, region, college 
plans, and drug use, appear in the annual ISR volumes MONITORING THE FUTURE: QUESTIONNAIRE RESPONSES FROM 
THE NATION'S HIGH SCHOOL SENIORS.</relMat> 

<relMat>Current Population Survey, March 1999: Technical Documentation  includes an abstract, pertinent 
information about the file, a glossary, code lists, and a data dictionary. One copy accompanies each 
file order. When ordered separately, it is available from Marketing Services Office, Customer Service 
Center, Bureau of the Census, Washington, D.C. 20233. </relMat> 

<relMat>A more precise explanation regarding the CPS sample design is provided in Technical Paper 40, 
The Current Population Survey: Design and Methodology. Chapter 5 of this paper provides documentation 
on the weighting procedures for the CPS both with and without supplement questions.</relMat> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:element name="citation" type="citationType"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="callno" type="xs:string"/>
        <xs:attribute name="label" type="xs:string"/>
        <xs:attribute name="media" type="xs:string"/>
        <xs:attribute name="type" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="relPublType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.5.3" title="Related Publications">
                    <doc:section name="Description">Bibliographic and access information about
                        articles and reports based on the data in this collection. Can take the form
                        of bibliographic citations. </doc:section>
                    <doc:section name="Example"><![CDATA[<relPubl>Economic Behavior Program Staff. SURVEYS OF CONSUMER FINANCES. Annual volumes 1960 
through 1970. Ann Arbor, MI: Institute for Social Research.</relPubl> 

<relPubl>Data from the March Current Population Survey are published most  frequently in the Current 
Population Reports P- 20 and P- 60 series. These  reports are available from the Superintendent of 
Documents, U. S. Government  Printing Office, Washington, DC 20402. They also are available on the 
INTERNET  at http:// www. census. gov. Forthcoming reports will be cited in Census and  You, the 
Monthly Product Announcement (MPA), and the Bureau of the Census  Catalog and Guide. </relPubl> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:element name="citation" type="citationType"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="relStdyType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.5.2" title="Related Studies">
                    <doc:section name="Description">Information on the relationship of the current
                        data collection to others (e.g., predecessors, successors, other waves or
                        rounds) or to other editions of the same file. This would include the names
                        of additional data collections generated from the same data collection
                        vehicle plus other collections directed at the same general topic. Can take
                        the form of bibliographic citations. </doc:section>
                    <doc:section name="Example"><![CDATA[<relStdy>ICPSR distributes a companion study to this collection titled FEMALE LABOR FORCE 
PARTICIPATION AND MARITAL INSTABILITY, 1980: [UNITED STATES] (ICPSR 9199).</relStdy> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:element name="citation" type="citationType"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="resInstruType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.3.1.7" title="Type of Research Instrument">
                    <doc:section name="Description">The type of data collection instrument used.
                        "Structured" indicates an instrument in which all respondents are asked the
                        same questions/tests, possibly with precoded answers. If a small portion of
                        such a questionnaire includes open-ended questions, provide appropriate
                        comments. "Semi-structured" indicates that the research instrument contains
                        mainly open-ended questions. "Unstructured" indicates that in-depth
                        interviews were conducted. The "type" attribute is included to permit the
                        development of a controlled vocabulary for this element.</doc:section>
                    <doc:section name="Example"><![CDATA[<resInstru>structured</resInstru> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:element name="txt" type="txtType"/>
            <xs:element name="concept" type="conceptType"/>
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="type" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="respRateType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.3.3.1" title="Response Rate">
                    <doc:section name="Description">The percentage of sample members who provided
                        information. </doc:section>
                    <doc:section name="Example"><![CDATA[<respRate>For 1993, the estimated inclusion rate for TEDS-eligible providers was 91 percent, 
with the inclusion rate for all treatment providers estimated at 76 percent (including privately and 
publicly funded providers).</respRate> 

<respRate>The overall response rate was 82%, although retail firms with an annual sales volume of more 
than $5,000,000 were somewhat less likely to respond.</respRate> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="respUnitType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="4.3.6 4.4.8" title="Response Unit">
                    <doc:section name="Description">Provides information regarding who provided the
                        information contained within the variable/nCube, e.g., respondent, proxy, interviewer.</doc:section>
                    <doc:section name="Example"><![CDATA[<var><respUnit>Head of household</respUnit></var> 

<nCube><respUnit>Head of household</respUnit></nCube>
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="restrctnType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.4.2.3" title="Restrictions">
                    <doc:section name="Description">Any restrictions on access to or use of the
                        collection such as privacy certification or distribution restrictions should
                        be indicated here. These can be restrictions applied by the author,
                        producer, or disseminator of the data collection. If the data are restricted
                        to only a certain class of user, specify which type. </doc:section>
                    <doc:section name="Example"><![CDATA[<restrctn> In preparing the data file(s) for this collection, the National Center for Health 
Statistics (NCHS) has removed direct identifiers and characteristics that might lead to identification 
of data subjects. As an additional precaution NCHS requires, under Section 308(d) of the Public Health 
Service Act (42 U.S.C. 242m), that data collected by NCHS not be used for any purpose other than 
statistical analysis and reporting. NCHS further requires that analysts not use the data to learn the 
identity of any persons or establishments and that the director of NCHS be notified if any identities 
are inadvertently discovered. ICPSR member institutions and other users ordering data from ICPSR are 
expected to adhere to these restrictions.</restrctn> 

<restrctn> ICPSR obtained these data from the World Bank under the terms of a contract which states 
that the data are for the sole use of ICPSR and may not be sold or provided to third parties outside 
of ICPSR membership. Individuals at institutions that are not members of the ICPSR may obtain these 
data directly from the World Bank.</restrctn> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="rowType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="5.4.2.2.1 5.4.2.3.1" title="Table Row"/>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="entry" type="entryType" maxOccurs="unbounded"/>
        </xs:sequence>
        <xs:attribute name="rowsep" type="xs:string"/>
        <xs:attribute name="valign">
            <xs:simpleType>
                <xs:restriction base="xs:NMTOKEN">
                    <xs:enumeration value="top"/>
                    <xs:enumeration value="middle"/>
                    <xs:enumeration value="bottom"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="rspStmtType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="A.6.2" title="Responsibility Statement">
                    <doc:section name="Description">Responsibility for the creation of the work at
                        the appropriate level: marked-up document; marked-up document source; study;
                        study description, other material; other material for study.</doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="AuthEnty" type="AuthEntyType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="othId" type="othIdType" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="sampProcType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.3.1.4" title="Sampling Procedure">
                    <doc:section name="Description">The type of sample and sample design used to
                        select the survey respondents to represent the population. May include
                        reference to the target sample size and the sampling fraction. </doc:section>
                    <doc:section name="Example"><![CDATA[<sampProc>National multistage area probability sample</sampProc> 

<sampProc>Simple random sample</sampProc> 

<sampProc>Stratified random sample</sampProc> 

<sampProc>Quota sample</sampProc> 

<sampProc>The 8,450 women interviewed for the NSFG, Cycle IV, were drawn from households in which 
someone had been interviewed for the National Health Interview Survey (NHIS), between October 1985 
and March 1987.</sampProc> 

<sampProc>Samples sufficient to produce approximately 2,000 families with completed interviews were 
drawn in each state. Families containing one or more Medicaid or uninsured persons were oversampled.</sampProc> 

                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:element name="txt" type="txtType"/>
            <xs:element name="concept" type="conceptType"/>
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="securityType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="4.3.4 4.4.6" title="Security">
                    <doc:section name="Description">Provides information regarding levels of access,
                        e.g., public, subscriber, need to know. The ISO standard for dates
                        (YYYY-MM-DD) is recommended for use with the date attribute.</doc:section>
                    <doc:section name="Example"><![CDATA[<var><security date="1998-05-10"> This variable has been recoded for reasons of confidentiality.  
Users should contact the archive for information on obtaining access.</security></var> 

<var><security date="1998-05-10">Variable(s) within this nCube have been recoded for reasons of 
confidentiality.  Users should contact the archive for information on obtaining access.</security></var> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="date" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="serInfoType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="A.6.5.2" title="Series Information">
                    <doc:section name="Description">Contains a history of the series and a summary
                        of those features that apply to the series as a whole. </doc:section>
                    <doc:section name="Example"><![CDATA[<serInfo>The Current Population Survey (CPS) is a household sample survey conducted monthly by the 
Census Bureau to provide estimates of employment, unemployment, and other characteristics of the 
general labor force, estimates of the population as a whole, and estimates of various subgroups in 
the population. The entire non-institutionalized population of the United States is sampled to 
obtain the respondents for this survey series.</serInfo> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="serNameType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="A.6.5.1" title="Series Name">
                    <doc:section name="Description">The name of the series to which the work
                        belongs. </doc:section>
                    <doc:section name="Example"><![CDATA[<serName abbr="CPS">Current Population Survey Series</serName> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="abbr" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="serStmtType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="A.6.5" title="Series Statement">
                    <doc:section name="Description">Series statement for the work at the appropriate
                        level: marked-up document; marked-up document source; study; study
                        description, other material; other material for study. The URI attribute is
                        provided to point to a central Internet repository of series information. </doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="serName" type="serNameType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="serInfo" type="serInfoType" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="URI" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="setAvailType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.4.1" title="Data Set Availability">
                    <doc:section name="Description">Information on availability and storage of the
                        collection. The "media" attribute may be used in combination with any of the
                        subelements. See Location of Data Collection. </doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="accsPlac" type="accsPlacType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="origArch" type="origArchType" minOccurs="0"/>
            <xs:element name="avlStatus" type="avlStatusType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="collSize" type="collSizeType" minOccurs="0"/>
            <xs:element name="complete" type="completeType" minOccurs="0"/>
            <xs:element name="fileQnty" type="fileQntyType" minOccurs="0"/>
            <xs:element name="notes" type="notesType" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="media" type="xs:string"/>
        <xs:attribute name="callno" type="xs:string"/>
        <xs:attribute name="label" type="xs:string"/>
        <xs:attribute name="type" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="softwareType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="A.6.3.5" title="Software used in Production">
                    <doc:section name="Description">Software used to produce the work. A "version"
                        attribute permits specification of the software version number. The "date"
                        attribute is provided to enable specification of the date (if any) for the
                        software release. The ISO standard for dates (YYYY-MM-DD) is recommended for
                        use with the date attribute.</doc:section>
                    <doc:section name="Example"><![CDATA[<docDscr><citation><prodStmt><software version="1.0">MRDC Codebook Authoring Tool</software>
</prodStmt></citation></docDscr>

<docDscr><citation><prodStmt><software version="8.0">Arbortext Adept Editor</software>
</prodStmt></citation></docDscr>

<docDscr><docSrc><prodStmt><software version="4.0">PageMaker</software></prodStmt></docSrc></docDscr>

<stdyDscr><citation><prodStmt><software version="6.12">SAS</software></prodStmt></citation></stdyDscr>

<fileTxt><software version="6.12">The SAS transport file was generated by the SAS CPORT procedure.
</software></fileTxt> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="date" type="xs:string"/>
        <xs:attribute name="version" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="sourcesType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.3.1.8" title="Sources Statement">
                    <doc:section name="Description">Description of sources used for the data
                        collection. The element is nestable so that the sources statement might
                        encompass a series of discrete source statements, each of which could
                        contain the facts about an individual source. This element maps to Dublin
                        Core Source element.</doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice>
            <xs:sequence>
                <xs:element name="dataSrc" type="dataSrcType" minOccurs="0" maxOccurs="unbounded"/>
                <xs:element name="srcOrig" type="srcOrigType" minOccurs="0" maxOccurs="unbounded"/>
                <xs:element name="srcChar" type="srcCharType" minOccurs="0" maxOccurs="unbounded"/>
                <xs:element name="srcDocu" type="srcDocuType" minOccurs="0" maxOccurs="unbounded"/>
                <xs:element name="sources" type="sourcesType" minOccurs="0" maxOccurs="unbounded"/>
            </xs:sequence>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="southBLType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.2.3.6.3" title="South Bounding Latitude">
                    <doc:section name="Description">The southernmost coordinate delimiting the
                        geographic extent of the dataset. A valid range of values, expressed in
                        decimal degrees (positive east and positive north), is: -90,0 &lt;=
                        South Bounding Latitude Value &lt;= 90,0 ; South Bounding Latitude Value
                        &lt;= North Bounding Latitude Value</doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="specPermType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.4.2.2" title="Special Permissions">
                    <doc:section name="Description">This element is used to determine if any special
                        permissions are required to access a resource. The "required" attribute is
                        used to aid machine processing of this element, and the default
                        specification is "yes". The "formNo" attribute indicates the number or ID of
                        the form that the user must fill out. The "URI" attribute may be used to
                        provide a URN or URL for online access to a special permissions form.</doc:section>
                    <doc:section name="Example"><![CDATA[<specPerm formNo="4">The user must apply for special permission to use this dataset locally 
and must complete a confidentiality form.</specPerm> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="required" default="yes">
            <xs:simpleType>
                <xs:restriction base="xs:NMTOKEN">
                    <xs:enumeration value="yes"/>
                    <xs:enumeration value="no"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="formNo" type="xs:string"/>
        <xs:attribute name="URI" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="srcCharType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.3.1.8.3" title="Characteristics of Source Noted">
                    <doc:section name="Description">Assessment of characteristics and quality of
                        source material. May not be relevant to survey data. </doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="srcDocuType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.3.1.8.4" title="Documentation and Access to Sources">
                    <doc:section name="Description">Level of documentation of the original sources.
                        May not be relevant to survey data. </doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="srcOrigType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.3.1.8.2" title="Origins of Sources">
                    <doc:section name="Description">For historical materials, information about the
                        origin(s) of the sources and the rules followed in establishing the sources
                        should be specified. May not be relevant to survey data. </doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:element name="txt" type="txtType"/>
            <xs:element name="concept" type="conceptType"/>
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="stdCatgryType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="4.3.16" title="Standard Categories">
                    <doc:section name="Description">Standard category codes used in the variable,
                        like industry codes, employment codes, or social class codes. The attribute
                        "date" is provided to indicate the version of the code in place at the time
                        of the study. The attribute "URI" is provided to indicate a URN or URL that
                        can be used to obtain an electronic list of the category codes.</doc:section>
                    <doc:section name="Example"><![CDATA[<var><stdCatgry date="1981" source="producer">U. S. Census of Population and Housing, Classified 
Index of Industries and Occupations </stdCatgry></var> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="date" type="xs:string"/>
        <xs:attribute name="URI" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="stdyClasType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.3.4" title="Class of the Study">
                    <doc:section name="Description">Generally used to give the data archive's class
                        or study status number, which indicates the processing status of the study.
                        May also be used as a text field to describe processing status.</doc:section>
                    <doc:section name="Example"><![CDATA[<stdyClas>ICPSR Class II</stdyClas> 

<stdyClas>DDA Class C</stdyClas> 

<stdyClas>Available from the DDA. Being processed. </stdyClas> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="type" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="stdyDscrType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.0" title="Study Description">
                    <doc:section name="Description">The Study Description consists of information
                        about the data collection, study, or compilation that the DDI-compliant
                        documentation file describes. This section includes information about how
                        the study should be cited, who collected or compiled the data, who
                        distributes the data, keywords about the content of the data, summary
                        (abstract) of the content of the data, data collection methods and
                        processing, etc. Note that some content of the Study Description's Citation
                        -- e.g., Responsibility Statement -- may be identical to that of the
                        Documentation Citation. This is usually the case when the producer of a data
                        collection also produced the print or electronic codebook for that data collection.</doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="citation" type="citationType" maxOccurs="unbounded"/>
            <xs:element name="stdyInfo" type="stdyInfoType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="method" type="methodType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="dataAccs" type="dataAccsType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="othrStdyMat" type="othrStdyMatType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="notes" type="notesType" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="access" type="xs:IDREFS"/>
    </xs:complexType>
    <xs:complexType name="stdyInfoType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.2" title="Study Scope">
                    <doc:section name="Description">This section contains information about the data
                        collection's scope across several dimensions, including substantive content,
                        geography, and time. </doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="subject" type="subjectType" minOccurs="0"/>
            <xs:element name="abstract" type="abstractType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="sumDscr" type="sumDscrType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="notes" type="notesType" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="subTitlType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="A.6.1.2" title="Subtitle">
                    <doc:section name="Description">A secondary title used to amplify or state
                        certain limitations on the main title. It may repeat information already in
                        the main title. </doc:section>
                    <doc:section name="Example"><![CDATA[<titl>Monitoring the Future: A Continuing Study of American Youth, 1995</titl> 

<subTitl>A Continuing Study of American Youth, 1995</subTitl> 

<titl>Census of Population, 1950 [United States]: Public Use Microdata Sample</titl> 

<subTitl>Public Use Microdata Sample</subTitl> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="subjectType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.2.1" title="Subject Information">
                    <doc:section name="Description">Subject information describing the data
                        collection's intellectual content. </doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="keyword" type="keywordType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="topcClas" type="topcClasType" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="sumDscrType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.2.3" title="Summary Data Description">
                    <doc:section name="Description">Information about a study's chronological and
                        geographic coverage and unit of analysis.</doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="timePrd" type="timePrdType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="collDate" type="collDateType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="nation" type="nationType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="geogCover" type="geogCoverType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="geogUnit" type="geogUnitType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="geoBndBox" type="geoBndBoxType" minOccurs="0"/>
            <xs:element name="boundPoly" type="boundPolyType" minOccurs="0"/>
            <xs:element name="anlyUnit" type="anlyUnitType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="universe" type="universeType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="dataKind" type="dataKindType" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="sumStatType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="4.3.14" title="Summary Statistics">
                    <doc:section name="Description">
                        <doc:p>One or more statistical measures that describe the responses to a
                            particular variable and may include one or more standard summaries,
                            e.g., minimum and maximum values, median, mode, etc. The attribute
                            "wgtd" indicates whether the statistics are weighted or not. The
                            "weight" attribute is an IDREF(S) to the weight element(s) in the study
                            description. </doc:p>
                        <doc:p>The attribute "type" denotes the type of statistics being shown:
                            mean, median, mode, valid cases, invalid cases, minimum, maximum, or
                            standard deviation. </doc:p>
                    </doc:section>
                    <doc:section name="Example"><![CDATA[<var><sumStat type="min">0</sumStat></var> 

<var><sumStat type="max">9</sumStat></var> 

<var><sumStat type="median">4</sumStat></var> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="wgtd" default="not-wgtd">
            <xs:simpleType>
                <xs:restriction base="xs:NMTOKEN">
                    <xs:enumeration value="wgtd"/>
                    <xs:enumeration value="not-wgtd"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="wgt-var" type="xs:IDREFS"/>
        <xs:attribute name="weight" type="xs:IDREFS"/>
        <xs:attribute name="type" use="required">
            <xs:simpleType>
                <xs:restriction base="xs:NMTOKEN">
                    <xs:enumeration value="mean"/>
                    <xs:enumeration value="medn"/>
                    <xs:enumeration value="mode"/>
                    <xs:enumeration value="vald"/>
                    <xs:enumeration value="invd"/>
                    <xs:enumeration value="min"/>
                    <xs:enumeration value="max"/>
                    <xs:enumeration value="stdev"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="tableType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="5.4.1" title="Table"/>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="titl" type="titlType" minOccurs="0"/>
            <xs:element name="tgroup" type="tgroupType" maxOccurs="unbounded"/>
        </xs:sequence>
        <xs:attribute name="frame">
            <xs:simpleType>
                <xs:restriction base="xs:NMTOKEN">
                    <xs:enumeration value="top"/>
                    <xs:enumeration value="bottom"/>
                    <xs:enumeration value="topbot"/>
                    <xs:enumeration value="all"/>
                    <xs:enumeration value="sides"/>
                    <xs:enumeration value="none"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="colsep" type="xs:string"/>
        <xs:attribute name="rowsep" type="xs:string"/>
        <xs:attribute name="pgwide" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="tbodyType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="5.4.2.3" title="Table Body"/>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="row" type="rowType" maxOccurs="unbounded"/>
        </xs:sequence>
        <xs:attribute name="valign">
            <xs:simpleType>
                <xs:restriction base="xs:NMTOKEN">
                    <xs:enumeration value="top"/>
                    <xs:enumeration value="middle"/>
                    <xs:enumeration value="bottom"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="tgroupType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="5.4.2" title="Table Group"/>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="colspec" type="colspecType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="thead" type="theadType" minOccurs="0"/>
            <xs:element name="tbody" type="tbodyType"/>
        </xs:sequence>
        <xs:attribute name="cols" type="xs:string" use="required"/>
        <xs:attribute name="colsep" type="xs:string"/>
        <xs:attribute name="rowsep" type="xs:string"/>
        <xs:attribute name="align">
            <xs:simpleType>
                <xs:restriction base="xs:NMTOKEN">
                    <xs:enumeration value="left"/>
                    <xs:enumeration value="right"/>
                    <xs:enumeration value="center"/>
                    <xs:enumeration value="justify"/>
                    <xs:enumeration value="char"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="theadType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="5.4.2.2" title="Table Head"/>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="row" type="rowType" maxOccurs="unbounded"/>
        </xs:sequence>
        <xs:attribute name="valign">
            <xs:simpleType>
                <xs:restriction base="xs:NMTOKEN">
                    <xs:enumeration value="top"/>
                    <xs:enumeration value="middle"/>
                    <xs:enumeration value="bottom"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="timeMethType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.3.1.1" title="Time Method">
                    <doc:section name="Description">The time method or time dimension of the data
                        collection. The "method" attribute is included to permit the development of
                        a controlled vocabulary for this element. </doc:section>
                    <doc:section name="Example"><![CDATA[<timeMeth>panel survey</timeMeth> 

<timeMeth>cross-section</timeMeth> 

<timeMeth>trend study</timeMeth> 

<timeMeth>time-series</timeMeth> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:element name="txt" type="txtType"/>
            <xs:element name="concept" type="conceptType"/>
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="method" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="timePrdType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.2.3.1" title="Time Period Covered">
                    <doc:section name="Description">The time period to which the data refer. This
                        item reflects the time period covered by the data, not the dates of coding
                        or making documents machine-readable or the dates the data were collected.
                        Also known as span. Use the event attribute to specify "start", "end", or
                        "single" for each date entered. The ISO standard for dates (YYYY-MM-DD) is
                        recommended for use with the "date" attribute. The "cycle" attribute permits
                        specification of the relevant cycle, wave, or round of data. Maps to Dublin
                        Core Coverage element. Inclusion of this element is recommended. </doc:section>
                    <doc:section name="Example"><![CDATA[<timePrd event="start" date="1998-05-01">May 1, 1998</timePrd> 

<timePrd event="end" "date=1998-05-31">May 31, 1998</timePrd> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="date" type="xs:string"/>
        <xs:attribute name="event" default="single">
            <xs:simpleType>
                <xs:restriction base="xs:NMTOKEN">
                    <xs:enumeration value="start"/>
                    <xs:enumeration value="end"/>
                    <xs:enumeration value="single"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="cycle" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="titlType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="A.6.1.1" title="Title">
                    <doc:section name="Description">Full authoritative title for the work at the
                        appropriate level: marked-up document; marked-up document source; study;
                        other material(s) related to study description; other material(s) related to
                        study. The study title will in most cases be identical to the title for the
                        marked-up document. A full title should indicate the geographic scope of the
                        data collection as well as the time period covered. Title of data collection
                        (2.1.1.1) maps to Dublin Core Title element. This element is required in the
                        Study Description citation. </doc:section>
                    <doc:section name="Example"><![CDATA[<titl>Domestic Violence Experience in Omaha, Nebraska, 1986-1987</titl> 

<titl>Census of Population, 1950 [United States]: Public Use Microdata Sample</titl> 

<titl>Monitoring the Future: A Continuing Study of American Youth, 1995</titl> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="titlStmtType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="A.6.1" title="Title Statement">
                    <doc:section name="Description">Title statement for the work at the appropriate
                        level: marked-up document; marked-up document source; study; study
                        description, other materials; other materials for study. </doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="titl" type="titlType"/>
            <xs:element name="subTitl" type="subTitlType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="altTitl" type="altTitlType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="parTitl" type="parTitlType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="IDNo" type="IDNoType" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="topcClasType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.2.1.2" title="Topic Classification">
                    <doc:section name="Description">The classification field indicates the broad
                        substantive topic(s) that the data cover. Library of Congress subject terms
                        may be used here. The "vocab" attribute is provided for specification of the
                        controlled vocabulary in use, e.g., LCSH, MeSH, etc. The "vocabURI"
                        attribute specifies the location for the full controlled vocabulary. Maps to
                        Dublin Core Subject element. Inclusion of this element in the codebook is recommended.</doc:section>
                    <doc:section name="Example"><![CDATA[<topcClas vocab="LOC Subject Headings" vocabURI="http://www.loc.gov/catdir/cpso/lcco/lcco.html">
Public opinion -- California -- Statistics</topcClas> 

<topcClas vocab="LOC Subject Headings" vocabURI="http://www.loc.gov/catdir/cpso/lcco/lcco.html">Elections 
-- California</topcClas> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="vocab" type="xs:string"/>
        <xs:attribute name="vocabURI" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="TotlRespType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="4.3.13" title="Total Responses">
                    <doc:section name="Description">The number of responses to this variable. This
                        element might be used if the number of responses does not match added case
                        counts. It may also be used to sum the frequencies for variable categories.</doc:section>
                    <doc:section name="Example"><![CDATA[<var><TotlResp>1,056</TotlResp></var>

OR

<var><TotlResp>There are only 725 responses to this question since it was not asked in Tanzania.</TotlResp></var> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="txtType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="A.3" title="Descriptive Text">
                    <doc:section name="Description">Lengthier description of the parent element. The
                        attribute "level" indicates the level to which the element applies. The
                        attribute "sdatrefs" allows pointing to specific dates, universes, or other
                        information encoded in the study description. </doc:section>
                    <doc:section name="Example"><![CDATA[<varGrp type="subject"><txt>The following five variables refer to respondent attitudes toward 
national environmental policies: air pollution, urban sprawl, noise abatement, carbon dioxide emissions, 
and nuclear waste.</txt></varGrp> 

<nCubeGrp type="subject"><txt>The following four nCubes are grouped to present a cross tabulation of the 
variables Sex, Work experience in 1999, and Income in 1999.</txt></nCubeGrp> 

<var><txt>Total population for the agency for the year reported.</txt></var> 

<catgryGrp><txt>When the respondent indicated his political party reference, his response was coded on a 
scale of 1-99 with parties with a left-wing orientation coded on the low end of the scale and parties 
with a right-wing orientation coded on the high end of the scale.  Categories 90-99 were reserved 
miscellaneous responses.</txt></catgryGrp> 

<catgry><txt>Inap., question not asked in Ireland, Northern Ireland, and Luxembourg.</txt></catgry> 

<nCube><txt>Detailed poverty status for age cohorts over a period of five years, to be used in determining 
program eligibility</txt></nCube> 

<otherMat URI="http://www.icpsr.umich.edu/.."><txt>This is a PDF version of the original questionnaire 
provided by the principal investigator.</txt></otherMat> 

<otherMat><txt>Glossary of Terms. Below are terms that may  prove useful in working with the technical 
documentation for this study.. </txt></otherMat> 

<otherMat><txt>This is a PDF version of the original questionnaire provided by the principal investigator.
</txt></otherMat> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:element name="table" type="tableType"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="level" type="xs:string"/>
        <xs:attribute name="sdatrefs" type="xs:IDREFS"/>
    </xs:complexType>
    <xs:complexType name="undocCodType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="4.3.11" title="List of Undocumented Codes">
                    <doc:section name="Description">Values whose meaning is unknown.</doc:section>
                    <doc:section name="Example"><![CDATA[<var><undocCod>Responses for categories 9 and 10 are unavailable.</undocCod></var> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="universeType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.2.3.9 4.1.5 4.2.5 4.3.12 4.4.4" title="Universe">
                    <doc:section name="Description">The group of persons or other elements that are
                        the object of research and to which any analytic results refer. Age,
                        nationality, and residence commonly help to delineate a given universe, but
                        any of a number of factors may be involved, such as sex, race, income,
                        veteran status, criminal convictions, etc. The universe may consist of
                        elements other than persons, such as housing units, court cases, deaths,
                        countries, etc. In general, it should be possible to tell from the
                        description of the universe whether a given individual or element
                        (hypothetical or real) is a member of the population under study. A "level"
                        attribute is included to permit coding of the level to which universe
                        applies, i.e., the study level, the file level (if different from study),
                        the record group, the variable group, the nCube group, the variable, or the
                        nCube level. The "clusion" attribute provides for specification of groups
                        included (I) in or excluded (E) from the universe. If all the
                        variables/nCubes described in the data documentation relate to the same
                        population, e.g., the same set of survey respondents, this element would be
                        unnecessary at data description level. In this case, universe can be fully
                        described at the study level. </doc:section>
                    <doc:section name="Example"><![CDATA[<universe clusion="I">Individuals 15-19 years of age. </universe> 

<universe clusion="E">Individuals younger than 15 and older than 19 years of age.</universe> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:element name="txt" type="txtType"/>
            <xs:element name="concept" type="conceptType"/>
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="level" type="xs:string"/>
        <xs:attribute name="clusion" default="I">
            <xs:simpleType>
                <xs:restriction base="xs:NMTOKEN">
                    <xs:enumeration value="I"/>
                    <xs:enumeration value="E"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="useStmtType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.4.2" title="Use Statement">
                    <doc:section name="Description">Information on terms of use for the data
                        collection. </doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="confDec" type="confDecType" minOccurs="0"/>
            <xs:element name="specPerm" type="specPermType" minOccurs="0"/>
            <xs:element name="restrctn" type="restrctnType" minOccurs="0"/>
            <xs:element name="contact" type="contactType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="citReq" type="citReqType" minOccurs="0"/>
            <xs:element name="deposReq" type="deposReqType" minOccurs="0"/>
            <xs:element name="conditions" type="conditionsType" minOccurs="0"/>
            <xs:element name="disclaimer" type="disclaimerType" minOccurs="0"/>
        </xs:sequence>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="valrngType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="4.3.9" title="Range of Valid Data Values">
                    <doc:section name="Description">Values for a particular variable that represent
                        legitimate responses.</doc:section>
                    <doc:section name="Example"><![CDATA[<valrng><range min="1" max="3" /></valrng>

<valrng><item VALUE="1" /><item VALUE="2" /><item VALUE="3" /></valrng>
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="range" type="rangeType" maxOccurs="unbounded"/>
            <xs:element name="item" type="itemType" maxOccurs="unbounded"/>
            <xs:element name="key" type="keyType" minOccurs="0"/>
            <xs:element name="notes" type="notesType" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="varType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="4.3" title="Variable">
                    <doc:section name="Description">
                        <doc:p>This element describes all of the features of a single variable in a
                            social science data file. It includes the following attributes: </doc:p>
                        <doc:p>The attribute "name" usually contains the so-called "short label" for
                            the variable, limited to eight characters in many statistical analysis
                            systems such as SAS or SPSS. </doc:p>
                        <doc:p>The attribute "wgt" indicates whether the variable is a weight. </doc:p>
                        <doc:p>The attribute "wgt-var" references the weight variable(s) for this
                            variable. </doc:p>
                        <doc:p>The attribute "qstn" is a reference to the question ID for the
                            variable. </doc:p>
                        <doc:p>The attribute "files" is the IDREF identifying the file(s) to which
                            the variable belongs. </doc:p>
                        <doc:p>The attribute "vendor" is the origin of the proprietary format and
                            includes SAS, SPSS, ANSI, and ISO. </doc:p>
                        <doc:p>The attribute "dcml" refers to the number of decimal points in the
                            variable. </doc:p>
                        <doc:p>The attribute "intrvl" indicates the interval type; options are
                            discrete or continuous.</doc:p>
                        <doc:p>The "rectype" attribute refers to the record type to which the
                            variable belongs. </doc:p>
                        <doc:p>The "sdatrefs" are summary data description references which record
                            the ID values of all elements within the summary data description
                            section of the Study Description which might apply to the variable.
                            These elements include: time period covered, date of collection, nation
                            or country, geographic coverage, geographic unit, unit of analysis,
                            universe, and kind of data. </doc:p>
                        <doc:p>The "methrefs" are 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
                            variable. These elements include information on data collection and data
                            appraisal (e.g., sampling, sources, weighting, data cleaning, response
                            rates, and sampling error estimates). </doc:p>
                        <doc:p>The "pubrefs" attribute provides a link to publication/citation
                            references and records the ID values of all citations elements within
                            Other Study Description Materials or Other Study-Related Materials that
                            pertain to this variable. </doc:p>
                        <doc:p>The attribute "access" records the ID values of all elements in the
                            Data Access section that describe access conditions for this variable. </doc:p>
                        <doc:p>The "aggrMeth" attribute indicates the type of aggregation method
                            used, for example 'sum', 'average', 'count'.</doc:p>
                        <doc:p>The attribute "measUnit" records the measurement unit, for example
                            'km', 'miles', etc. </doc:p>
                        <doc:p>The "scale" attribute records unit of scale, for example 'x1',
                            'x1000', etc.</doc:p>
                        <doc:p>The attribute "origin" records the point of origin for anchored scales.</doc:p>
                        <doc:p>The "nature" attribute records the nature of the variable, whether it
                            is 'nominal', 'ordinal', 'interval', or 'ratio'.</doc:p>
                        <doc:p>The attribute "additivity" records type of additivity, such as
                            'stock', 'flow', 'non-additive'. </doc:p>
                        <doc:p>The attribute "temporal" indicates whether the variable relays
                            time-related information. </doc:p>
                        <doc:p>The "geog" attribute indicates whether the variable relays geographic information.</doc:p>
                        <doc:p>The attribute "geoVocab" records the coding scheme used in the variable.</doc:p>
                        <doc:p>The attribute "catQnty" records the number of categories found in the
                            variable, and is used primarily for aggregate data files for verifying
                            cell counts in nCubes.</doc:p>
                    </doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="location" type="locationType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="labl" type="lablType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="imputation" type="imputationType" minOccurs="0"/>
            <xs:element name="security" type="securityType" minOccurs="0"/>
            <xs:element name="embargo" type="embargoType" minOccurs="0"/>
            <xs:element name="respUnit" type="respUnitType" minOccurs="0"/>
            <xs:element name="anlysUnit" type="anlysUnitType" minOccurs="0"/>
            <xs:element name="qstn" type="qstnType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="valrng" type="valrngType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="invalrng" type="invalrngType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="undocCod" type="undocCodType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="universe" type="universeType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="TotlResp" type="TotlRespType" minOccurs="0"/>
            <xs:element name="sumStat" type="sumStatType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="txt" type="txtType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="stdCatgry" type="stdCatgryType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="catgryGrp" type="catgryGrpType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="catgry" type="catgryType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="codInstr" type="codInstrType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="verStmt" type="verStmtType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="concept" type="conceptType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="derivation" type="derivationType" minOccurs="0"/>
            <xs:element name="varFormat" type="varFormatType" minOccurs="0"/>
            <xs:element name="geoMap" type="geoMapType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="catLevel" type="catLevelType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="notes" type="notesType" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="name" type="xs:string" use="required"/>
        <xs:attribute name="wgt" default="not-wgt">
            <xs:simpleType>
                <xs:restriction base="xs:NMTOKEN">
                    <xs:enumeration value="wgt"/>
                    <xs:enumeration value="not-wgt"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="wgt-var" type="xs:IDREFS"/>
        <xs:attribute name="weight" type="xs:IDREFS"/>
        <xs:attribute name="qstn" type="xs:IDREFS"/>
        <xs:attribute name="files" type="xs:IDREFS"/>
        <xs:attribute name="vendor" type="xs:string"/>
        <xs:attribute name="dcml" type="xs:string"/>
        <xs:attribute name="intrvl" default="discrete">
            <xs:simpleType>
                <xs:restriction base="xs:NMTOKEN">
                    <xs:enumeration value="contin"/>
                    <xs:enumeration value="discrete"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="rectype" 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="aggrMeth">
            <xs:simpleType>
                <xs:restriction base="xs:NMTOKEN">
                    <xs:enumeration value="sum"/>
                    <xs:enumeration value="average"/>
                    <xs:enumeration value="count"/>
                    <xs:enumeration value="mode"/>
                    <xs:enumeration value="median"/>
                    <xs:enumeration value="maximum"/>
                    <xs:enumeration value="minimum"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="measUnit" type="xs:string"/>
        <xs:attribute name="scale" type="xs:string"/>
        <xs:attribute name="origin" type="xs:string"/>
        <xs:attribute name="nature">
            <xs:simpleType>
                <xs:restriction base="xs:NMTOKEN">
                    <xs:enumeration value="nominal"/>
                    <xs:enumeration value="ordinal"/>
                    <xs:enumeration value="interval"/>
                    <xs:enumeration value="ratio"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="additivity">
            <xs:simpleType>
                <xs:restriction base="xs:NMTOKEN">
                    <xs:enumeration value="stock"/>
                    <xs:enumeration value="flow"/>
                    <xs:enumeration value="non-additive"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="temporal" default="N">
            <xs:simpleType>
                <xs:restriction base="xs:NMTOKEN">
                    <xs:enumeration value="Y"/>
                    <xs:enumeration value="N"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="geog" default="N">
            <xs:simpleType>
                <xs:restriction base="xs:NMTOKEN">
                    <xs:enumeration value="Y"/>
                    <xs:enumeration value="N"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="geoVocab" type="xs:string"/>
        <xs:attribute name="catQnty" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="varFormatType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="4.3.23" title="Variable Format">
                    <doc:section name="Description">The technical format of the variable in
                        question. Attributes for this element include: "type," which indicates if
                        the variable is character or numeric; "formatname," which in some cases may
                        provide the name of the particular, proprietary format actually used;
                        "schema," which identifies the vendor or standards body that defined the
                        format (acceptable choices are SAS, SPSS, IBM, ANSI, ISO, XML-data or
                        other); "category," which describes what kind of data the format represents,
                        and includes date, time, currency, or "other" conceptual possibilities; and
                        "URI," which supplies a network identifier for the format definition.</doc:section>
                    <doc:section name="Example"><![CDATA[<var><varFormat type="numeric" schema="SAS" formatname="DATE" category="date" >The number in this 
variable is stored in the form 'ddmmmyy' in SAS format. </varFormat></var> 

<var><varFormat type="numeric" formatname="date.iso8601" schema="XML-Data" category="date" 
URI="http://www.w3.org/TR/1998/NOTE-XML-data/">19541022 </varFormat></var> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="type" default="numeric">
            <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 name="schema" default="ISO">
            <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="category" default="other">
            <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="URI" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="varGrpType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="4.1" title="Variable Group">
                    <doc:section name="Description">
                        <doc:p>A group of variables that may share a common subject, arise from the
                            interpretation of a single question, or are linked by some other factor. </doc:p>
                        <doc:p>Variable groups are created this way in order to permit variables to
                            belong to multiple groups, including multiple subject groups such as a
                            group of variables on sex and income, or to a subject and a multiple
                            response group, without causing overlapping groups. Variables that are
                            linked by use of the same question need not be identified by a Variable
                            Group element because they are linked by a common unique question
                            identifier in the Variable element. Note that as a result of the strict
                            sequencing required by XML, all Variable Groups must be marked up before
                            the Variable element is opened. That is, the mark-up author cannot mark
                            up a Variable Group, then mark up its constituent variables, then mark
                            up another Variable Group.</doc:p>
                        <doc:p>The "type" attribute refers to the general type of grouping of the
                            variables, e.g., subject, multiple response. </doc:p>
                        <doc:p>Specific variable groups, included within the "type" attribute, are: </doc:p>
                        <doc:p>Section: Questions which derive from the same section of the
                            questionnaire, e.g., all variables located in Section C.</doc:p>
                        <doc:p>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). </doc:p>
                        <doc:p>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. </doc:p>
                        <doc:p>Display: Questions which appear on the same interview screen (CAI)
                            together or are presented to the interviewer or respondent as a group. </doc:p>
                        <doc:p>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.</doc:p>
                        <doc:p>Subject: Questions which address a common topic or subject, e.g.,
                            income, poverty, children. </doc:p>
                        <doc:p>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. </doc:p>
                        <doc:p>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. </doc:p>
                        <doc:p>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. </doc:p>
                        <doc:p>Pragmatic: A variable group without shared properties. </doc:p>
                        <doc:p>Record: Variable from a single record in a hierarchical file. </doc:p>
                        <doc:p>File: Variable from a single file in a multifile study. </doc:p>
                        <doc:p>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? </doc:p>
                        <doc:p>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. </doc:p>
                        <doc:p>The "var" attribute is used to reference all the constituent variable
                            IDs in the group. </doc:p>
                        <doc:p>The "varGrp" attribute is used to reference all the subsidiary
                            variable groups which nest underneath the current varGrp. This allows
                            for encoding of a hierarchical structure of variable groups. </doc:p>
                        <doc:p>The attribute "name" provides a name, or short label, for the group. </doc:p>
                        <doc:p>The "sdatrefs" are 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. </doc:p>
                        <doc:p>The "methrefs" are 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). </doc:p>
                        <doc:p>The "pubrefs" attribute provides a link to publication/citation
                            references and records the ID values of all citations elements within
                            Section 2.5 or Section 5.0 that pertain to this variable group. </doc:p>
                        <doc:p>The "access" attribute records the ID values of all elements in
                            Section 2.4 of the document that describe access conditions for this
                            variable group. </doc:p>
                    </doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="labl" type="lablType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="txt" type="txtType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="concept" type="conceptType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="defntn" type="defntnType" minOccurs="0"/>
            <xs:element name="universe" type="universeType" minOccurs="0"/>
            <xs:element name="notes" type="notesType" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="type" default="other">
            <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="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:complexType>
    <xs:complexType name="varQntyType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="3.1.3.1.2.1 3.1.4.2" title="Number of variables per record">
                    <doc:section name="Description">Number of variables.</doc:section>
                    <doc:section name="Example"><![CDATA[<varQnty>27</varQnty> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
            <xs:documentation>
                <doc:doc useAs="3.1.4.2" title="Overall Variable Count">
                    <doc:section name="Description">Number of variables.</doc:section>
                    <doc:section name="Example"><![CDATA[<varQnty>27</varQnty> 
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="verRespType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="A.6.6.2" title="Version Responsibility Statement">
                    <doc:section name="Description">The organization or person responsible for the
                        version of the work.</doc:section>
                    <doc:section name="Example"><![CDATA[<verResp>Zentralarchiv fuer Empirische Sozialforschung</verResp> 

<verResp>Inter-university Consortium for Political and Social  Research</verResp> 

<var><verStmt><verResp>Zentralarchiv fuer Empirische Sozialforschung</verResp></verStmt></var> 

<nCube><verStmt><verResp>Zentralarchiv fuer Empirische Sozialforschung</verResp></verStmt></nCube> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="affiliation" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="verStmtType">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="4.3.20" title="Version Statement">
                    <doc:section name="Description">Version statement for the work at the
                        appropriate level: marked-up document; marked-up document source; study;
                        study description, other material; other material for study. A version
                        statement may also be included for a data file, a variable, or an nCube.</doc:section>
                    <doc:section name="Example"><![CDATA[<verStmt><version type="version" date="1999-01-25">Second version</version>
                    ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="version" type="versionType" minOccurs="0"/>
            <xs:element name="verResp" type="verRespType" minOccurs="0"/>
            <xs:element name="notes" type="notesType" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="versionType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="A.6.6.1" title="Version">
                    <doc:section name="Description">Also known as release or edition. If there have
                        been substantive changes in the data/documentation since their creation,
                        this statement should be used at the appropriate level. The ISO standard for
                        dates (YYYY-MM-DD) is recommended for use with the "date" attribute. </doc:section>
                    <doc:section name="Example"><![CDATA[<version type="edition" date="1999-01-25">Second ICPSR Edition</version> 

<var><verStmt><version type="version" date="1999-01-25">Second version of V25</version></verStmt> </var> 

<nCube><verStmt><version type="version" date="1999-01-25">Second version of N25</version></verStmt> </nCube> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
        <xs:attribute name="date" type="xs:string"/>
        <xs:attribute name="type" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="weightType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.3.1.12" title="Weighting">
                    <doc:section name="Description">The use of sampling procedures may make it
                        necessary to apply weights to produce accurate statistical results. Describe
                        here the criteria for using weights in analysis of a collection. If a
                        weighting formula or coefficient was developed, provide this formula, define
                        its elements, and indicate how the formula is applied to data. </doc:section>
                    <doc:section name="Example"><![CDATA[<weight>The 1996 NES dataset includes two final person-level analysis weights which incorporate 
sampling, nonresponse, and post-stratification factors. One weight (variable #4) is for longitudinal 
micro-level analysis using the 1996 NES Panel. The other weight (variable #3) is for analysis of the 
1996 NES combined sample (Panel component cases plus Cross-section supplement cases). In addition, a 
Time Series Weight (variable #5) which corrects for Panel attrition was constructed. This weight should 
be used in analyses which compare the 1996 NES to earlier unweighted National Election Study data 
collections.</weight> ]]></doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
            <xs:group ref="FORM"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
    <xs:complexType name="westBLType" mixed="true">
        <xs:annotation>
            <xs:documentation>
                <doc:doc useAs="2.2.3.6.1" title="West Bounding Longitude">
                    <doc:section name="Description">The westernmost coordinate delimiting the
                        geographic extent of the dataset. A valid range of values, expressed in
                        decimal degrees (positive east and positive north), is: -180,0 &lt;=
                        West Bounding Longitude Value &lt;= 180,0</doc:section>
                </doc:doc>
            </xs:documentation>
        </xs:annotation>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="PHRASE"/>
        </xs:choice>
        <xs:attributeGroup ref="GLOBALS"/>
    </xs:complexType>
</xs:schema>
