CIS97 YT > Relax NG Projects > World Factbook Sample

Relax NG Projects
World Factbook Sample

Project Index | Documentation | Relax NG | Sample XML File

<?xml version="1.0"?>

<!-- ======================================================  -->
<!-- CIS97YT Midterm 1                                       -->
<!-- File: chang_k_midterm1.xml                              -->
<!-- Subject: Creating and Using an RNG File                 -->
<!-- Written by: Ko Chang                                    --> 
<!-- Date: 05/29/2002                                        -->
<!-- =====================================================   -->


<world-factbook>
  <country-list>
    <country>
      <name>Fiji</name>
      <profile name="fiji" code="AO335">
        <introduction>
          <background>    
            <p>   
            Fiji became <em>independent in 1970</em>, 
            after nearly a century as a <strong>British colony</strong>.
            Democratic rule was interrupted by two military coups in 
            1987, caused by concern over a government perceived as
            dominated by the <strong> Indian community </strong>. 
            </p>
            <p>
            A 1990 constitution favored <strong> native Melanesian
            </strong> control of Fiji, but led to heavy <strong> Indian
            emigration </strong>; the population loss resulted in
            economic difficulties, but ensured that <em> Melanesians
            became the majority</em>.
            </p>        
            <p>
            Amendments enacted in 1997 made the constitution more
            equitable. Free and peace ful elections in 1999 reuslted in
            a government led by an <strong> Indo-Fijian</strong>, but a
            coup in May of 2000 ushered in a prolonged period of
            political turmoil. New elections are scheduled for August
            2001.
            </p>
          </background>
        </introduction>

        <geography>
          <location>
               Oceania, island group in the South Pacific Ocean, 
               about two-thirds of the way from Hawaii to New Zealand.
          </location>
          <coordinates latitude="18 00 S" longitude="175 00 E"/>
          <area>
            <total>18,270 sq km</total>
            <land>18,270 sq km</land>
            <water>0 sq km</water>
          </area>
          <climate>Tropical marine; only slight seasonal temperature variation.</climate>
          <note>Includes 332 islands of which approximately 110 are inhabited.</note>
        </geography>

        <people>
          <population>844,330</population>
          <age-structure>
            <y0-14 units="%">32.92</y0-14>
            <y15-64 units="%">63.52</y15-64>
            <y65plus units="%">3.56</y65plus>           
          </age-structure>
          <sex-ratio total="1.01" stat="male(s)/female"/>
          <nationality>Fijian</nationality>
          <ethnic>
            <ul>
              <li>Fijian 51% (predominantly Melanesian with
              a Polynesian admixture)</li>
              <li>Indian 44%</li>
              <li>European, other Pacific Islanders, overseas
              Chinese and other 5%</li>
            </ul>
          </ethnic>
          <religions>
            <ul>
              <li>Christian 52% 
            <ul>
              <li>Methodist 37%</li>
              <li>Roman Catholic 9%</li>
            </ul></li>          
              <li>Hindu 38%</li>
              <li>Muslim 8%</li>
              <li>other 2%</li>
            </ul>
          </religions>
          <language>
            <ul>
              <li>English (official)</li>
              <li>Fijian</li>
              <li>Hindustani</li>
            </ul> 
          </language>
        </people>

        <government>
          <name>
            <conventional-long>
                Republic of the Fiji Islands
            </conventional-long>
            <conventional-short>Fiji</conventional-short>
          </name>
          <type>Republic</type>
          <capital>Suva</capital>
          <independence>
            <date>
               <month>October</month>
               <day>10</day>
               <year>1970</year>
            </date>
          </independence>
          <suffrage>21 years of age; universal</suffrage>
        </government>

        <economy>
          <overview>
            <p>   Fiji, endowed with forest, mineral, and fish resources,
            is <em>one of the most developed of the Pacific island
            economies</em>, though still with a large subsistence
            sector.
            </p>
            <p>   <strong>Sugar exports</strong> and a growing
            <strong>tourist industry</strong> are the major sources of
            foreign exchange. Sugar processing makes up one-third of
            industrial activity.  Roughly 300,000 tourists visit each
            year, including thousands of Americans.
            </p>
          </overview>
          <gdp amount="$5.96" units="billion"/>
          <labor-force>235,000.0</labor-force>
          <export amount="$537" units="million"/>
          <import amount="$653" units="billion"/>
          <currency>Fijian dollar (FJD)</currency>
          <exchange-rate base="per US dollar">2.1814</exchange-rate>          
        </economy>
      </profile>
    </country>


    <country>
      <name>Spain</name>
      <profile name="spain" code="SWE286">
        <introduction>
          <background>    
            <p>
                Spain's powerful world empire of the 16th and 17th
                centuries ultimately yielded command of the seas to
                England. Subsequent failure to embrace the mercantile
                and industrial revolutions caused the country to fall
                behind Britain, France, and Germany in economic and
                political power. Spain remained neutral in World Wars I
                and II, but suffered through a devastating Civil War
                (1936-39). In the second half of the 20th century, it
                has played a catch-up role in the western international
                community. Continuing concerns are large-scale
                unemployment and the Basque separatist movement. 
            </p>
          </background>
        </introduction>

        <geography>
          <location>
              Southwestern Europe, bordering the Bay of Biscay,
              Mediterranean Sea, North Atlantic Ocean, and Pyrenees
              Mountains, southwest of France 
          </location>
          <coordinates latitude="40 00 N" longitude="4 00 W"/>
          <area>
            <total>504,782 sq km</total>
            <land>499,542 sq km</land>
            <water>5,240 sq km</water>
          </area>
          <climate>temperate; clear, hot summers in interior,
          more moderate and cloudy along coast; cloudy, cold winters
          in interior, partly cloudy and cool along coast</climate>
          <note>strategic location along approaches to
          Strait of Gibraltar.</note>
          
        </geography>

        <people>
          <population>40,037,995</population>
          <age-structure>
            <y0-14 units="%">14.62</y0-14>
            <y15-64 units="%">68.2</y15-64>
            <y65plus units="%">17.18</y65plus>          
          </age-structure>
          <sex-ratio total="0.96" stat="male(s)/female"/>
          <nationality>Spaniard</nationality>
          <ethnic>
            composite of Mediterranean and Nordic types 
          </ethnic>
          <religions>
            <ul>
              <li>Roman Catholic 99%</li>             
              <li>other 1%</li>
            </ul>
          </religions>
          <language>
            <ul>
              <li>Castilian Spanish (official) 74%</li>
              <li>Catalan 17%</li>
              <li>Galician 7%</li>
              <li>Basque 2%</li>
            </ul> 
          </language>
        </people>

        <government>
          <name>
            <conventional-long>Kingdom of Spain</conventional-long>
            <conventional-short>Spain</conventional-short>
          </name>
          <type>parliamentary monarchy</type>
          <capital>Madrid</capital>
          <independence>
            <date>
            <year>1492</year>
            </date>
          </independence>
          <suffrage>18 years of age; universal</suffrage>
        </government>

        <economy>
          <overview>
            <p>
                Spain's mixed capitalist economy supports a GDP that on
                a per capita basis is 80% that of the four leading West
                European economies. Its center-right government
                successfully worked to gain admission to the first
                group of countries launching the European single
                currency on 1 January 1999.  
            </p>
            
          </overview>
          <gdp amount="$720.8" units="billion"/>
          <labor-force>17 million</labor-force>
          <export amount="$120.5" units="billion"/>
          <import amount="$153.9" units="billion"/>
          <currency>Spanish peseta (ESP); euro (EUR) </currency>
          <exchange-rate base="per US dollar">1.0659</exchange-rate>          
        </economy>
      </profile>
    </country>

    <country>
      <name>Chile</name>
      <profile name="chile" code="SA147">
        <introduction>
          <background>    
            <p>   
                <strong>A three-year-old Marxist government</strong>
                was overthrown in 1973 by a dictatorial military
                regime  led by <em>Augusto PINOCHET</em>, which ruled
                until a freely elected president was installed in 1990.
                Sound economic policies, first implemented by the
                PINOCHET dictatorship, led to unprecedented growth in
                1991-97 and have helped secure the country's commitment
                to democratic and representative government. Growth
                slowed in 1998-99, but recovered strongly in 2000. 
            </p>
          </background>
        </introduction>

        <geography>
          <location>
            Southern South America, bordering
            the South Atlantic Ocean and
            South Pacific Ocean, between Argentina and Peru 
          </location>
          <coordinates latitude="30 00 S" longitude="71 00 W"/>
          <area>
            <total>756,950 sq km</total>
            <land>748,800 sq km</land>
            <water>8,150 sq km</water>
          </area>
          <climate>temperate; desert in north;
          Mediterranean in central region; cool and
          damp in south</climate>
          
        </geography>

        <people>
          <population>15,328,467</population>
          <age-structure>
            <y0-14 units="%">27.25</y0-14>
            <y15-64 units="%">65.39</y15-64>
            <y65plus units="%">7.36</y65plus>           
          </age-structure>
          <sex-ratio total="0.98" stat="male(s)/female"/>
          <nationality>Chilean</nationality>
          <ethnic>
            <ul>
              <li>white and white-Amerindian 95%</li>
              <li>Amerindian 3%</li>
              <li>other 2%</li>
            </ul>
          </ethnic>
          <religions>
            <ul>
              <li>Roman Catholic 89%</li>           
              <li>Protestant 11%</li>
              <li>Jewish NEGL%</li>
            </ul>
          </religions>
          <language>Spanish</language>
        </people>

        <government>
          <name>
            <conventional-long>Republic of Chile</conventional-long>
            <conventional-short>Chile</conventional-short>
          </name>
          <type>Republic</type>
          <capital>Santiago</capital>
          <independence>
            <date>
               <month>September</month>
               <day>18</day>
               <year>1810</year>
            </date>
          </independence>
          <suffrage>18 years of age; universal and compulsory</suffrage>
        </government>

        <economy>
          <overview>
            <p>
                Chile has a market-oriented economy characterized 
                by a high level of foreign trade. Meanwhile, Chile has
                launched free trade negotiations with the US. 
            </p>
            
          </overview>
          <gdp amount="$153.10" units="billion"/>
          <labor-force>5.8 million</labor-force>
          <export amount="$18" units="billion"/>
          <import amount="$17" units="billion"/>
          <currency>Chilean peso (CLP)</currency>
          <exchange-rate base="per US dollar">571.12</exchange-rate>          
        </economy>
      </profile>
    </country>

  </country-list>
</world-factbook>