<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
<xsl:template match="/">
<html>
<body>
<h2>
  <xsl:value-of select="screenbook/category"/>
   : <xsl:value-of select="screenbook/subcategory"/>
   : <xsl:value-of select="screenbook/title"/>
</h2>
<xsl:for-each select="screenbook/pages/page">
  <xsl:apply-templates select="text/*">
    <xsl:template>
      <xsl:copy>
        <xsl:apply-templates select="@*|*|text()"/>
      </xsl:copy>
    </xsl:template>
  </xsl:apply-templates>
  <br/>
  <img>
    <xsl:attribute name="src">
      <xsl:value-of select="picture"/>
    </xsl:attribute>
    <xsl:attribute name="width"><xsl:value-of select="picture/@width"/></xsl:attribute>
    <xsl:attribute name="height"><xsl:value-of select="picture/@height"/></xsl:attribute>
  </img>
  <br/>
  <small>
    Author: <xsl:value-of select="author"/>
    <xsl:value-of select="copyright"/>
  </small>
  <br/>
  <hr/>
  <br/>
  <br/>
</xsl:for-each>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
