Source of common.xsl

<?xml version="1.0" encoding="utf-8" ?>
<xsl:stylesheet
	version="1.0"
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
 
<xsl:template name="common_header">
  <meta http-equiv="Content-Language" content="en" />
  <link rel="stylesheet" type="text/css" href="style.css" />
  <title><xsl:call-template name="pageTitle" /></title>
</xsl:template> 
 
<xsl:template match="/">
  <html>
    <head>
      <xsl:call-template name="common_header" />
    </head>
    <body>
      <h1><xsl:call-template name="pageTitle" /></h1>
      <xsl:call-template name="sidebar" />
      <xsl:apply-templates />
    </body>
  </html>
</xsl:template>
 
<xsl:template name="sidebar">
  <div id="navigation">
    <h3>Go to ...</h3>
    <ul>
      <li><a href="../index.asp?a=Hijax">More source files</a></li>
      <li><a href="../index.asp">List of articles</a></li>
      <li><a href="../about.asp">About the author</a></li>
    </ul>
  </div>
</xsl:template>
 
<xsl:template name="copyRich"><xsl:copy-of select="* | text()" /></xsl:template>
 
<xsl:template name="pageTitle">Sample Frequently Asked Questions</xsl:template>
 
</xsl:stylesheet>