<?xml-stylesheet href="01-style-xsl.xsl" type="application/xml"?>
<!-- Stylesheet to pretty-display ... XSL stylesheets! -->
<xsl:stylesheet version="1.0" xmlns:html="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" exclude-result-prefixes="html">
  <html>
    <head>
      <title>Stylesheet to display documentation of an XSLT (!)</title>
      <link rel="stylesheet" href="/Stylesheets/base.css"/>
    </head>
    <body>
      <div class="head"><a href="http://www.w3.org/"><img src="/Icons/w3c_home" alt="W3C"/></a></div>
      <h1>Stylesheet to display documentation of an XSLT (!)</h1>
      <p>This stylesheet can be used to display the HTML documentation of your XSLT stylesheet, if you embed it directly in the stylesheet (as this stylesheet does).</p>
      <p>Link it in your stylesheet like this: <code>&lt;?xml-stylesheet href="http://www.w3.org/2002/07/01-style-xsl.xsl" type="application/xml"?&gt;</code></p>
      <p>Embed your documentation using a &lt;html&gt; element as a child of the root element.</p>
      <address>
        <a href="http://www.w3.org/People/Dom/">Dominique Haza&#235;l-Massieux</a> - $Id: 01-style-xsl.xsl,v 1.5 2003/10/31 09:30:49 dom Exp $
      </address>
    </body>
  </html>

  <xsl:template match="/">
    <xsl:apply-templates select="/xsl:stylesheet/html:html"/>
  </xsl:template>
  
  <!-- Identity transformation -->
  <xsl:template match="*|@*|comment()|text()">
    <xsl:copy>
      <xsl:apply-templates select="*|@*|comment()|text()"/>
    </xsl:copy>
  </xsl:template>


</xsl:stylesheet>