<?xml version="1.0" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" indent="yes" />

<xsl:template match="/">
   <html>
     <head>
      <link rel="stylesheet" type="text/css" href="styledata.css" />
       <title> Some Interesting information about <xsl:value-of select="count(/data/item)" /> famous physicists </title>
     </head>
    <body>
   <table border="1"> 
  <tr><th> Name </th> <th> Birthday </th> <th> Birthplace </th> </tr>
  <xsl:for-each select="/data/item">
    <xsl:sort select="normalize-space(name)" />
     <xsl:if test="substring(normalize-space(birthday),string-length(normalize-space(birthday))-3,4) &gt;= 1900">
         <xsl:apply-templates select="." />
     </xsl:if>

  </xsl:for-each>

   </table> 
    </body>
  </html>
</xsl:template>


<xsl:template match="/data/item" > 
   <tr bgcolor="{favouriteColor}" >
      <td> <xsl:value-of select="name" /> </td>
      <td> <xsl:value-of select="birthday" /> </td>
      <td> <xsl:value-of select="birthPlace" /> </td>
   </tr> </xsl:template>
</xsl:stylesheet>
