<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet href="../make-menu.xsl" type="text/xsl"?><html>
   <head>
      <this-is section="xsl-elements" page="stylesheet" subpage=""/>
      <!--
           Generated at 2010-10-29T18:20:48.427+01:00--><title>Saxonica: XSLT and XQuery Processing: xsl:stylesheet</title>
      <meta name="coverage" content="Worldwide"/>
      <meta name="copyright" content="Copyright Saxonica Ltd"/>
      <meta name="title" content="Saxonica: XSLT and XQuery Processing: xsl:stylesheet"/>
      <meta name="robots" content="noindex,nofollow"/>
      <link rel="stylesheet" href="../saxondocs.css" type="text/css"/>
   </head>
   <body class="main">
      <h1>xsl:stylesheet</h1>
      <p>The <code>xsl:stylesheet</code> element is always
 the top-level element of an XSLT stylesheet. The
name <code>xsl:transform</code> may be used as a synonym.</p>
      <p>The following attributes may be specified:</p>
      <table>
         <tr>
            <td content="para">
               <p>version</p>
            </td>
            <td content="para">
               <p>Mandatory. A value other than "1.0" invokes forwards compatibility mode.</p>
            </td>
         </tr>
         <tr>
            <td content="para">
               <p>saxon:trace</p>
            </td>
            <td content="para">
               <p>Value "yes" or "no": default no. If set to "yes", causes activation
of templates to be traced on System.err for diagnostic purposes. The value may be overridden
by specifying a saxon:trace attribute on the individual template.</p>
            </td>
         </tr>
      </table>
      <table width="100%">
         <tr>
            <td>
               <p align="right"><a class="nav" href="template.xml">Next</a></p>
            </td>
         </tr>
      </table>
   </body>
</html>