<?xml version="1.0" ?> 
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template name="Style1" match="/">
<html><head><STYLE>
H1{COLOR:red; FONT-FAMILY:Arial;FONT-SIZE:14pt;}
.subhead{COLOR:darkblue; FONT-FAMILY:Arial;FONT-SIZE:12pt;}
.text{COLOR:white; FONT-FAMILY:Arial;FONT-SIZE:12pt;}
th{COLOR:darkblue; FONT-FAMILY:Arial;background-color:darkblue;}
td{COLOR:blue; FONT-FAMILY:Arial;}
tr{background-color:beige;}
BODY{background-color:beige;}
</STYLE>
</head><body>
<h1>Product Listing</h1>
<table border="1">
<tr>
<th class="text">ID</th><th class="text">Name</th><th class="text">Price</th>
<th class="text">Quantity</th></tr>
<xsl:for-each select="catalog/product">
<xsl:sort select="prodid"/>
<tr>
<td><xsl:value-of select="prodid" /></td><td><xsl:value-of select="name" /></td>
<td><xsl:value-of select="price" /></td><td><xsl:value-of select="quantity" /></td>
</tr>
</xsl:for-each>
</table></body></html>
</xsl:template>
</xsl:stylesheet>




