<?xml version="1.0" encoding="UTF-8"?> 
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

  <xsl:template match="/">
     <html>
       <head>
          <title>The Weavers</title>
       </head>
      <body style="background-color: LightBlue">
         <div style="font-size: 22pt; font-weight: bold">Magazine Information</div> 
       <xsl:apply-templates/>
       </body>
     </html>
  </xsl:template>
  
  <xsl:template match="weaver">
      <br/><div style="font-size: 16pt; font-weight: bold; text-decoration:underline">
      <xsl:value-of select="name"/></div>
      <xsl:apply-templates select="about"/>
      <xsl:apply-templates select="magazines/magazine"/>      
   </xsl:template>
  
  <xsl:template match="about">
    <div style="font-size: 14pt; font-weight: bold; text-indent: 25px">
     <xsl:value-of select="description" /></div>
  </xsl:template>     
     
  <xsl:template match="magazines/magazine">
     <p style="font-size: 12pt; font-weight: bold; ">
     Title:     <xsl:value-of select="title" /><br/>
     Publisher: <xsl:value-of select="publisher" /><br/>
     Cost per Issue: $ <xsl:value-of select="floor(subscription div issues)" />
      </p>
  </xsl:template>

      
  
  
 </xsl:stylesheet>
