Style Sheet

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

  <xsl:template match="/">
    <html>
        <xsl:apply-templates select="catalog"/>    
    </html>
  </xsl:template>

  <xsl:template match="catalog">
      <head><title><xsl:value-of select="category"/></title></head>
      <body>
        <h1><xsl:value-of select="category"/></h1>  
      </body>
  </xsl:template>

</xsl:stylesheet>

Previous | Next | Top | Cafe con Leche

Copyright 2000 Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified September 19, 2000