<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
<xsl:template match="/">
<xsl:element name="customers"/>  

<HTML>
<BODY STYLE="font-family:Arial, helvetica, sans-serif; font-size:14pt; background-color:ivory">

<xsl:for-each select="customers/customer">
<br/>
<table border="3">
<tr>
<td>
     <DIV STYLE="background-color:purple;color;yellow;padding:5px">
        <SPAN STYLE="font-weight:bold;color:white">
            <xsl:value-of select="name/lastname"/>
        </SPAN>
        <FONT COLOR="PINK">
        <xsl:value-of select="name/firstname"/>
        </FONT>
     </DIV>

     <DIV STYLE="margin-left:20px; margin-bottom:1em;font-size:10pt;font-style:bold;color:blue">
     <xsl:for-each select="address/street">  
          <xsl:value-of select="node()"/> <br/>
     </xsl:for-each>
     </DIV>
          
     <DIV STYLE="margin-left:20px; margin-bottom:1em; font-size:12pt; font-style:bold; color:GREEN">
             <i><b>
             <xsl:value-of select="address/city"/>, 
             </b>
             <xsl:value-of select="address/postcode"/>
             </i>  
     </DIV>
</td>
</tr>    
     
<tr>
<td>
     <DIV STYLE="margin-left:20px; margin-bottom;1em;font-size:14pt;color:red">
              <xsl:value-of select="address/postcode"/>
     </DIV>
</td>
</tr>
</table>

</xsl:for-each>

</BODY>
</HTML>

</xsl:template>
</xsl:stylesheet> 


