home *** CD-ROM | disk | FTP | other *** search
/ Encyclopaedia Britannica …oncise Encyclopedia 2007 / bcd_concise07.iso / data / jars / CdAtlasLib.jar / WorldDataNationList.xsl < prev    next >
Encoding:
Extensible Markup Language  |  2006-06-20  |  18.5 KB  |  274 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <xsl:stylesheet
  4.        xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  5.        xmlns:html="http://www.w3.org/TR/html4/loose.dtd"
  6.        xmlns:xhtml="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
  7.        exclude-result-prefixes="html xhtml"
  8.        version="1.0">
  9.  
  10.  <xsl:output method="xhtml" omit-xml-declaration="yes" indent="yes" encoding="UTF-8"/>
  11.  
  12. <xsl:template match="nationList">
  13.      <body leftmargin="0" rightmargin="0">
  14.      <table width="100%">
  15.          <tr><td colspan="2"><img src="/bcom/images/atlasDemo/bcd06_wd_hdr.png"/></td></tr>
  16.          <tr><td colspan="2"><img src="/bcom/images/dot.gif" height="5" width="1"/></td></tr>
  17.          <tr><td><img src="/bcom/images/dot.gif" width="20"/></td><td><h3>The Nations Of The World</h3>The information about the countries of the world that follows has been 
  18.             assembled and analyzed by <i>Encyclopaedia Britannica</i> editors from hundreds of private, national and international sources.<br/><br/>
  19.         </td></tr>
  20.      </table>
  21.         <table width="100%" cellpadding="0" cellspacing="0" border="0">
  22.             <tr><td><img src="/bcom/images/dot.gif" width="20"/></td>
  23.                 <td valign="top"><img src="/bcom/images/atlasDemo/bcd06_wd_flags.png"/></td>
  24.                 <td valign="top"><img src="/bcom/images/dot.gif" height="1" width="10"/></td>
  25.                 <td><table width="100%" cellpadding="0" cellspacing="0" border="0">
  26.                 <tr height="2"><td height="2" valign="middle" class="subblu" colspan="30"><img src="/bcom/images/dot.gif"/></td></tr>
  27.                 <tr height="12"><td height="12" valign="middle" class="searchblu"><img src="/bcom/images/atlasDemo/bcd06_wd_arrow_blue_big.png"/></td>
  28.                 <td height="12" valign="middle" class="searchblu" align="left">
  29.                 <xsl:call-template name="letter-link-bar"/>
  30.                 </td></tr>
  31.                                 <tr height="2"><td height="2" valign="middle" class="subblu" colspan="30"><img src="/bcom/images/dot.gif"/></td></tr>
  32.                 <tr><td colspan="3"><img src="/bcom/images/dot.gif" width="2" height="10"/></td></tr>
  33.                     <xsl:apply-templates select="letter"/>
  34.         </table></td></tr></table>
  35.        </body>
  36. </xsl:template>
  37.  
  38.  <xsl:template name="letter-link-bar">
  39.         <table cellpadding="0" cellspacing="0" width="400" valign="middle">
  40.         <tr>
  41.              <td><img src="/bcom/images/dot.gif" height="14" width="5"/></td>
  42.              <td width="2"><a href="#a"><b>A</b></a></td>
  43.              <td><img src="/bcom/images/dot.gif" height="14" width="10"/></td>
  44.              <td width="2"><a href="#b"><b>B</b></a></td>
  45.              <td><img src="/bcom/images/dot.gif" height="14" width="10"/></td>
  46.              <td width="2"><a href="#c"><b>C</b></a></td>
  47.              <td><img src="/bcom/images/dot.gif" height="14" width="10"/></td>
  48.              <td width="2"><a href="#d"><b>D</b></a></td>
  49.              <td><img src="/bcom/images/dot.gif" height="14" width="10"/></td>
  50.              <td width="2"><a href="#e"><b>E</b></a></td>
  51.              <td><img src="/bcom/images/dot.gif" height="14" width="10"/></td>
  52.              <td width="2"><a href="#f"><b>F</b></a></td>
  53.              <td><img src="/bcom/images/dot.gif" height="14" width="10"/></td>
  54.              <td width="2"><a href="#g"><b>G</b></a></td>
  55.              <td><img src="/bcom/images/dot.gif" height="14" width="10"/></td>
  56.              <td width="2"><a href="#h"><b>H</b></a></td>
  57.              <td><img src="/bcom/images/dot.gif" height="14" width="10"/></td>
  58.              <td width="2"><a href="#i"><b>I</b></a></td>
  59.              <td><img src="/bcom/images/dot.gif" height="14" width="10"/></td>
  60.              <td width="2"><a href="#j"><b>J</b></a></td>
  61.              <td><img src="/bcom/images/dot.gif" height="14" width="10"/></td>
  62.              <td width="2"><a href="#k"><b>K</b></a></td>
  63.              <td><img src="/bcom/images/dot.gif" height="14" width="10"/></td>
  64.              <td width="2"><a href="#l"><b>L</b></a></td>
  65.              <td><img src="/bcom/images/dot.gif" height="14" width="10"/></td>
  66.              <td width="2"><a href="#m"><b>M</b></a></td>
  67.              <td><img src="/bcom/images/dot.gif" height="14" width="10"/></td>
  68.              <td width="2"><a href="#n"><b>N</b></a></td>
  69.              <td><img src="/bcom/images/dot.gif" height="14" width="10"/></td>
  70.              <td width="2"><a href="#o"><b>O</b></a></td>
  71.              <td><img src="/bcom/images/dot.gif" height="14" width="10"/></td>
  72.              <td width="2"><a href="#p"><b>P</b></a></td>
  73.              <td><img src="/bcom/images/dot.gif" height="14" width="10"/></td>
  74.              <td width="2"><a href="#q"><b>Q</b></a></td>
  75.              <td><img src="/bcom/images/dot.gif" height="14" width="10"/></td>
  76.              <td width="2"><a href="#r"><b>R</b></a></td>
  77.              <td><img src="/bcom/images/dot.gif" height="14" width="10"/></td>
  78.              <td width="2"><a href="#s"><b>S</b></a></td>
  79.              <td><img src="/bcom/images/dot.gif" height="14" width="10"/></td>
  80.              <td width="2"><a href="#t"><b>T</b></a></td>
  81.              <td><img src="/bcom/images/dot.gif" height="14" width="10"/></td>
  82.              <td width="2"><a href="#u"><b>U</b></a></td>
  83.              <td><img src="/bcom/images/dot.gif" height="14" width="10"/></td>
  84.              <td width="2"><a href="#v"><b>V</b></a></td>
  85.              <td><img src="/bcom/images/dot.gif" height="14" width="10"/></td>
  86.              <td width="2"><a href="#w"><b>W</b></a></td>
  87.              <td><img src="/bcom/images/dot.gif" height="14" width="10"/></td>
  88.              <td width="2"><a href="#x"><b>X</b></a></td>
  89.              <td><img src="/bcom/images/dot.gif" height="14" width="10"/></td>
  90.              <td width="2"><a href="#y"><b>Y</b></a></td>
  91.              <td><img src="/bcom/images/dot.gif" height="14" width="10"/></td>
  92.              <td width="2"><a href="#z"><b>Z</b></a></td>
  93.              </tr></table>
  94.  </xsl:template>
  95.   
  96.  <xsl:template match="letter">    
  97.      <tr><td colspan="3"><img src="/bcom/images/dot.gif" width="2" height="10"/></td></tr>
  98.     <tr height="14" valign="top">
  99.         <td height="14"><img src="/bcom/images/dot.gif" width="2" height="10"/><a name="{@letterValue}"><xsl:call-template name="img"><xsl:with-param name="imageURL"><xsl:value-of select="concat('/bcom/images/atlasDemo/bcd06_ornglttrs_',@letterValue,'.png')"/></xsl:with-param></xsl:call-template></a></td>
  100.         <td colspan="2"><img src="/bcom/images/dot.gif" width="5"/><table><tr>
  101.           <td class="searchblu" valign="middle"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  102.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  103.           <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  104.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  105.           <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  106.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  107.           <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  108.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  109.           <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  110.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  111.           <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  112.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  113.           <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  114.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  115.           <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  116.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  117.           <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  118.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  119.           <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  120.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  121.           <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  122.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  123.           <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  124.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  125.           <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  126.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  127.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  128.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  129.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  130.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  131.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  132.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  133.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  134.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  135.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  136.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  137.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  138.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  139.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  140.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  141.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  142.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  143.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  144.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  145.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  146.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  147.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  148.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  149.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  150.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  151.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  152.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  153.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  154.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  155.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  156.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  157.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  158.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  159.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  160.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  161.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  162.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  163.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  164.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  165.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  166.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  167.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  168.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  169.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  170.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  171.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  172.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  173.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  174.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  175.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  176.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  177.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  178.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  179.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  180.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  181.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  182.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  183.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  184.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  185.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  186.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  187.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  188.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  189.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  190.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  191.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  192.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  193.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  194.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  195.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  196.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  197.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  198.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  199.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  200.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  201.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  202.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  203.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  204.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  205.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  206.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  207.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  208.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  209.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  210.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  211.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  212.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  213.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  214.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  215.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  216.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  217.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  218.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  219.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  220.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  221.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  222.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  223.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  224.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  225.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  226.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  227.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  228.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  229.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  230.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  231.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  232.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  233.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  234.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  235.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  236.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  237.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  238.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  239.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  240.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  241.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  242.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  243.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  244.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  245.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  246.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  247.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  248.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  249.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  250.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  251.             <td class="searchblu"><img src="/bcom/images/dot.gif" height="1" width="1"/></td>
  252.           <td><img src="/bom/images/dot.gif" height="1" width="1"/></td>
  253.        </tr></table>         
  254.     </td></tr>
  255.     <tr><td colspan="3"><img src="/bcom/images/dot.gif" width="2" height="10"/></td></tr>
  256.         <xsl:apply-templates select="nation"/>
  257.     <tr><td colspan="3"><img src="/bcom/images/dot.gif" width="2" height="10"/></td></tr>                
  258.  </xsl:template>
  259.  
  260.  <xsl:template name="img">
  261.    <xsl:param name="imageURL"/>
  262.     <img src="{$imageURL}"/>
  263.  </xsl:template>
  264.        
  265.  <xsl:template match="nation">
  266.     <tr><td colspan="3">
  267.     <img src="/bcom/images/dot.gif" width="2" height="10"/><a href="/eb/atlas/demo/data?geogId={@geog_id}"><xsl:value-of select="name"/></a>
  268.     </td></tr>    
  269.  </xsl:template>
  270.  
  271. <xsl:template match="titltxt"/>
  272.  
  273. </xsl:stylesheet>
  274.