<?xml version="1.0" encoding="UTF-8"?>
<!--
<!DOCTYPE codeBook SYSTEM "http://www.icpsr.umich.edu/DDI/Version2-0.dtd">
-->
<!--
Warning!
This file is not valid DDI format.

It's a proposal to use a foreign DTD/Schema like MathMl
for the construction of new variables.

joachim wackerow, 2004-02-05
-->
<codeBook>
  <stdyDscr>
    <citation>
      <titlStmt>
        <titl>German Microcensus 1996</titl>
        <IDNo agency="ZUMA">MZ1996</IDNo>
      </titlStmt>
    </citation>
  </stdyDscr>
  <dataDscr>
    <var name="V10">
      <labl>Age Group, 4 groups</labl>
      <catgry>
        <catValu>1</catValu>
        <labl>20-29</labl>
      </catgry>
      <catgry>
        <catValu>2</catValu>
        <labl>30-39</labl>
      </catgry>
      <catgry>
        <catValu>3</catValu>
        <labl>40-49</labl>
      </catgry>
      <catgry>
        <catValu>4</catValu>
        <labl>50-59</labl>
      </catgry>
    </var>
    <!-- construction of a new variable -->
    <var name="V10_NEW">
      <labl>Age Group, 2 groups</labl>
      <catgry>
        <!--
        in SPSS command syntax
        if (V10 = 1 or V10 = 2) V10_NEW = 1
        -->
        <!--
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE math PUBLIC "-//W3C//DTD MathML 2.0//EN" "http://www.w3.org/Math/DTD/mathml2/mathml2.dtd">
        -->
        <math xmlns="http://www.w3.org/1998/Math/MathML">
          <apply>
            <or/>
            <reln>
              <eq/>
              <ci>V10</ci>
              <ci>1</ci>
            </reln>
            <reln>
              <eq/>
              <ci>V10</ci>
              <ci>2</ci>
            </reln>
          </apply>
        </math>
        <catValu>1</catValu>
        <labl>20-39</labl>
      </catgry>
      <catgry>
        <!--
        in SPSS command syntax
        if (V10 = 3 or V10 = 4) V10_NEW = 2
        -->
        <math xmlns="http://www.w3.org/1998/Math/MathML">
          <apply>
            <or/>
            <reln>
              <eq/>
              <ci>V10</ci>
              <ci>3</ci>
            </reln>
            <reln>
              <eq/>
              <ci>V10</ci>
              <ci>4</ci>
            </reln>
          </apply>
        </math>
        <catValu>2</catValu>
        <labl>40-59</labl>
      </catgry>
    </var>
  </dataDscr>
</codeBook>
