<?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:param name="url"/>

<xsl:template match="/model">
 <div id="Model" style="position:absolute;height:100%">
  <img id="Photo" style="height:100%;" align="right">
   <xsl:attribute name="src"><xsl:value-of select="$url"/>/photo.jpg</xsl:attribute>
  </img>
  <div class="Description">
    <xsl:for-each select="desc/t">
     <p>
 	  <xsl:attribute name="class"><xsl:value-of select="@lang"/></xsl:attribute>
 	  <xsl:value-of select="."/>
	 </p>
    </xsl:for-each>
   </div>
   <label class="en">Model:</label>
   <label class="es">Modelo:</label>
   <label class="fr">Modèle:</label>
   <p>
    <xsl:for-each select="name/t">
     <span>
	  <xsl:attribute name="class"><xsl:value-of select="@lang"/></xsl:attribute>
	  <xsl:value-of select="."/>
      (#<xsl:value-of select="/model/article" />)
	 </span>
    </xsl:for-each>
   </p>
   <label class="en">Sizes:</label>
   <label class="es">Talles:</label>
   <label class="fr">Tailles:</label>
   <br />
   <xsl:for-each select="sizes">
    <p class="Sizes">
     <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>
   <div style="position:absolute;bottom:0;width:expression(Photo.offsetLeft);">
    <ul style="display:block;">
     <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="$url"/>/<xsl:value-of select="@image"/></xsl:attribute>
 	  </img>
 	 </li>
    </xsl:for-each>
   </ul><br style="clear:left;"/>
   <div class="Description">
    <p class="es">Ventas con tarjetas de credito y depositos en cuenta.</p>
    <p class="es">Para compras por mayor consultar lista de precios.</p>
    <p class="en">Credit cards and account deposits accepted.</p>
    <p class="en">For .... price list.</p>
   </div>
  </div>
 </div>
</xsl:template>

</xsl:stylesheet>
