Sophie

Sophie

distrib > Mageia > 7 > i586 > by-pkgid > b3bdfe6d859a3d6920ff2c44b38e9a6f > files > 137

saxon-manual-9.4.0.9-2.mga7.noarch.rpm

<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet href="../../make-menu.xsl" type="text/xsl"?><html>
   <head>
      <this-is section="configuration" page="configuration-file" subpage="config-xslt"/>
      <!--
           Generated at 2011-12-09T20:47:22.916Z--><title>Saxonica: XSLT and XQuery Processing: The &lt;xslt&gt; element</title>
      <meta name="coverage" content="Worldwide"/>
      <meta name="copyright" content="Copyright Saxonica Ltd"/>
      <meta name="title" content="Saxonica: XSLT and XQuery Processing: The &lt;xslt&gt; element"/>
      <meta name="robots" content="noindex,nofollow"/>
      <link rel="stylesheet" href="../../saxondocs.css" type="text/css"/>
   </head>
   <body class="main">
      <h1>The &lt;xslt&gt; element</h1>
      <p>The <code>xslt</code> element of the configuration file contains properties specific to XSLT. Remember that these are defaults, they can always
be overridden for specific queries or transformations. An attribute whose value is set to a zero-length string is ignored,
the effect is the same as omitting the attribute.</p>
      <table>
         <thead>
            <tr>
               <td content="para">
                  <p>
                     <b>Attribute</b>
                  </p>
               </td>
               <td content="para">
                  <p>
                     <b>Values</b>
                  </p>
               </td>
               <td content="para">
                  <p>
                     <b>Effect</b>
                  </p>
               </td>
            </tr>
         </thead>
         <tbody>
            <tr>
               <td content="para">
                  <p>messageReceiver</p>
               </td>
               <td content="para">
                  <p>Java class that implements <code>net.sf.saxon.event.Receiver</code>
                  </p>
               </td>
               <td content="para">
                  <p>Destination of <code>xsl:message</code> output</p>
               </td>
            </tr>
            <tr>
               <td content="para">
                  <p>outputUriResolver</p>
               </td>
               <td content="para">
                  <p>Java class that implements the Saxon OutputURIResolver interface</p>
               </td>
               <td content="para">
                  <p>Handles documents written using <code>xsl:result-document</code>
                  </p>
               </td>
            </tr>
            <tr>
               <td content="para">
                  <p>recoveryPolicy</p>
               </td>
               <td content="para">
                  <p>recoverWithWarnings|recoverSilently|fail</p>
               </td>
               <td content="para">
                  <p>Indicates how XSLT recoverable errors are handled (for example, ambiguous template rules)</p>
               </td>
            </tr>
            <tr>
               <td content="para">
                  <p>schemaAware</p>
               </td>
               <td content="para">
                  <p>true|false</p>
               </td>
               <td content="para">
                  <p>Indicates whether stylesheet should be compiled to be able to handle schema-typed input, even if they
contain no <code>xsl:import-schema</code> declaration</p>
               </td>
            </tr>
            <tr>
               <td content="para">
                  <p>staticErrorListener</p>
               </td>
               <td content="para">
                  <p>Java class that implements the JAXP ErrorListener interface</p>
               </td>
               <td content="para">
                  <p>Receives reports of compile-time errors in a stylesheet</p>
               </td>
            </tr>
            <tr>
               <td content="para">
                  <p>staticUriResolver</p>
               </td>
               <td content="para">
                  <p>Java class that implements the JAXP URIResolver interface</p>
               </td>
               <td content="para">
                  <p>User-defined class for dereferencing URIs on <code>xsl:include</code> or <code>xsl:import</code>
                  </p>
               </td>
            </tr>
            <tr>
               <td content="para">
                  <p>styleParser</p>
               </td>
               <td content="para">
                  <p>Java class that implements XMLReader</p>
               </td>
               <td content="para">
                  <p>XML parser used for stylesheet and schema modules</p>
               </td>
            </tr>
            <tr>
               <td content="para">
                  <p>version</p>
               </td>
               <td content="para">
                  <p>0.0, 2.0, or 2.1</p>
               </td>
               <td content="para">
                  <p>XSLT language version to be supported by the processor. The value 0.0 indicates
    that the version is taken from the <code>xsl:stylesheet</code> element.</p>
               </td>
            </tr>
            <tr>
               <td content="para">
                  <p>versionWarning</p>
               </td>
               <td content="para">
                  <p>true|false</p>
               </td>
               <td content="para">
                  <p>False suppresses the warning produced when the XSLT processor version is not the same as the
    version in the xsl:stylesheet element.</p>
               </td>
            </tr>
         </tbody>
      </table>
      <p>The <code>xslt</code> element may contain one or more <code>extensionElement</code> children defining namespaces
used for extension instructions. The <code>extensionElement</code> element has the following attributes:</p>
      <table>
         <thead>
            <tr>
               <td content="para">
                  <p>
                     <b>Attribute</b>
                  </p>
               </td>
               <td content="para">
                  <p>
                     <b>Values</b>
                  </p>
               </td>
               <td content="para">
                  <p>
                     <b>Effect</b>
                  </p>
               </td>
            </tr>
         </thead>
         <tbody>
            <tr>
               <td content="para">
                  <p>namespace</p>
               </td>
               <td content="para">
                  <p>A namespace URI</p>
               </td>
               <td content="para">
                  <p>The namespace URI of the extension instructions</p>
               </td>
            </tr>
            <tr>
               <td content="para">
                  <p>factory</p>
               </td>
               <td content="para">
                  <p>The name of Java class that implements the Saxon interface <code>ExtensionElementFactory</code>
                  </p>
               </td>
               <td content="para">
                  <p>Links to the implementation of the various extension instructions in the specified namespace.</p>
               </td>
            </tr>
         </tbody>
      </table>
      <table width="100%">
         <tr>
            <td>
               <p align="right"><a class="nav" href="config-xquery.xml">Next</a></p>
            </td>
         </tr>
      </table>
   </body>
</html>