<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
  <html>
  <head><title>Books By Selected Author</title></head>
  <body>
    <h2>Books By Author</h2>
    <table border="1">
    <tr>
	<th align="left">ID</th>
        <th align="left">Book Title</th>
	<th align="left">Author</th>
	<th align="left">Year First Published</th>
	<th align="left">Category</th>
	<th align="left">Price</th>
    </tr>
    <xsl:for-each select="booksbyauthor/book">
    <tr>
      <td><xsl:value-of select="id"/></td>
      <td><xsl:value-of select="title"/></td>
      <td><xsl:value-of select="author"/></td>
      <td><xsl:value-of select="pubdate"/></td>
      <td><xsl:value-of select="category"/></td>
      <td><xsl:value-of select="price"/></td>
    </tr>
    </xsl:for-each>
    </table>
  </body>
  </html>
</xsl:template>
</xsl:stylesheet>