<?xml version="1.0"?>
<xsl:stylesheet version="1.0" 
          xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:template match="/">
    <html>
    <head>
    <title>Complete Listing</title>
    </head>
      <body bgcolor="white">
        <h2>Complete Listing</h2>
        <hr/>
         <table border="1">
         <tr><td bgcolor="red">Title and Authors</td>
             <td bgcolor="green">Year</td>
             <td bgcolor="orange">Publisher</td>
         </tr>
         <xsl:for-each select="bibliography/book">
         <xsl:sort     select="title" />
           <tr>
            <td valign="top">
              <xsl:value-of select="title"/>
	       <ul>
                <xsl:for-each select="authList/author">
                 <li><xsl:value-of select="."/></li>
                </xsl:for-each>
               </ul>
            </td>
            <td valign="top"><xsl:value-of select="year"/></td>
            <td valign="top"><xsl:value-of select="publisher"/></td>
           </tr>
         </xsl:for-each>
         </table>
      </body>
    </html>
  </xsl:template>
</xsl:stylesheet>


