<?xml version="1.0" ?> 
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
 
 <html>
 
   <title>Stylesheet Example</title>
   
   <head>
     <link rel="stylesheet" href="stylesheet.css" type="text/css" /> 
   </head>
   
   <body>
     <h1>Product Listing</h1>
      
   <table border="2" >
     <tr>
       <th>ID</th> 
       <th>Name</th> 
       <th>Price</th>
       <th>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>

  <noscript/>
  </body>
  
  </html>
  </xsl:template>
  </xsl:stylesheet>
