<?xml version="1.0" encoding="windows-1252"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="html"/>

<xsl:template match="/model">
  <html>
   <head>
    <title>Manos del Norte</title>
	<link rel="stylesheet" type="text/css" href="/catalog.css" id="mainCSS" />
   </head>
   <body>
  <div id="Model">
   <h1 class="en">Model</h1>
   <h1 class="es">Modelo</h1>
   <h1 class="fr">Modele</h1>
   <xsl:for-each select="name/t">
    <p>
	 <xsl:attribute name="class"><xsl:value-of select="@lang"/></xsl:attribute>
	 <xsl:value-of select="."/>
	</p>
   </xsl:for-each>
   <h1 class="en">Sizes</h1>
   <h1 class="es">Tamaņos</h1>
   <h1 class="fr">Tailles</h1>
   <xsl:for-each select="sizes">
    <p>
     <xsl:attribute name="class"><xsl:value-of select="@lang"/></xsl:attribute>
	 <xsl:value-of select="."/>
	  <xsl:if test="@type='A'">
	   <span class="en"> (American Standard)</span>
	   <span class="es"> (Standar Americano)</span>
	   <span class="fr"> (Standard Americain)</span>
	  </xsl:if>
	  <xsl:if test="@type='E'">
	   <span class="en"> (European Standard)</span>
	   <span class="es"> (Standar Europeo)</span>
	   <span class="fr"> (Standard Europeain)</span>
	  </xsl:if>
	</p>
   </xsl:for-each>
   <ul>
    <xsl:for-each select="colorset/color">
     <li>
     <xsl:for-each select="t">
      <p>
 	   <xsl:attribute name="class"><xsl:value-of select="@lang"/></xsl:attribute>
  	   <xsl:value-of select="."/>
 	  </p>
     </xsl:for-each>
	 <img>
      <xsl:attribute name="src"><xsl:value-of select="@image"/></xsl:attribute>
	 </img>
	</li>
   </xsl:for-each>
   </ul>
 </div>
 </body>
 </html>
</xsl:template>

</xsl:stylesheet>
