<?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-xquery"/>
      <!--
           Generated at 2010-10-29T18:20:48.427+01:00--><title>Saxonica: XSLT and XQuery Processing: The &lt;xquery&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;xquery&gt; element"/>
      <meta name="robots" content="noindex,nofollow"/>
      <link rel="stylesheet" href="../../saxondocs.css" type="text/css"/>
   </head>
   <body class="main">
      <h1>The &lt;xquery&gt; element</h1>
      <p>The <code>xquery</code> element of the configuration file contains properties specific to XQuery. 
  Remember that these are defaults, they can always
be overridden for specific queries. 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>allowUpdate</p>
               </td>
               <td content="para">
                  <p>true|false</p>
               </td>
               <td content="para">
                  <p>Indicates whether XQuery Update syntax is accepted</p>
               </td>
            </tr>
            <tr>
               <td content="para">
                  <p>constructionMode</p>
               </td>
               <td content="para">
                  <p>preserve|strip</p>
               </td>
               <td content="para">
                  <p>Default value for construction mode in the static context</p>
               </td>
            </tr>
            <tr>
               <td content="para">
                  <p>defaultElementNamespace</p>
               </td>
               <td content="para">
                  <p>A namespace URI</p>
               </td>
               <td content="para">
                  <p>Default namespace for elements and types</p>
               </td>
            </tr>
            <tr>
               <td content="para">
                  <p>defaultFunctionNamespace</p>
               </td>
               <td content="para">
                  <p>A namespace URI</p>
               </td>
               <td content="para">
                  <p>Default namespace for functions</p>
               </td>
            </tr>
            <tr>
               <td content="para">
                  <p>emptyLeast</p>
               </td>
               <td content="para">
                  <p>true|false</p>
               </td>
               <td content="para">
                  <p>True if the empty sequence comes first in sort order</p>
               </td>
            </tr>
            <tr>
               <td content="para">
                  <p>inheritNamespaces</p>
               </td>
               <td content="para">
                  <p>true|false</p>
               </td>
               <td content="para">
                  <p>Default value for "inherit namespaces" in the static context</p>
               </td>
            </tr>
            <tr>
               <td content="para">
                  <p>moduleUriResolver</p>
               </td>
               <td content="para">
                  <p>Class that implements the Saxon ModuleURIResolver interface</p>
               </td>
               <td content="para">
                  <p>Used for locating query modules referenced by "import module"</p>
               </td>
            </tr>
            <tr>
               <td content="para">
                  <p>preserveBoundarySpace</p>
               </td>
               <td content="para">
                  <p>true|false</p>
               </td>
               <td content="para">
                  <p>Policy for preserving boundary space within direct element content</p>
               </td>
            </tr>
            <tr>
               <td content="para">
                  <p>preserveNamespaces</p>
               </td>
               <td content="para">
                  <p>true|false</p>
               </td>
               <td content="para">
                  <p>Default value for "preserve namespaces" in the static context</p>
               </td>
            </tr>
            <tr>
               <td content="para">
                  <p>requiredContextItemType</p>
               </td>
               <td content="para">
                  <p>An item type, e.g. document-node()</p>
               </td>
               <td content="para">
                  <p>The required type for the context item</p>
               </td>
            </tr>
            <tr>
               <td content="para">
                  <p>schemaAware</p>
               </td>
               <td content="para">
                  <p>true|false</p>
               </td>
               <td content="para">
                  <p>True if the query makes use of schema information</p>
               </td>
            </tr>
            <tr>
               <td content="para">
                  <p>staticErrorListener</p>
               </td>
               <td content="para">
                  <p>Class that implements JAXP ErrorListener</p>
               </td>
               <td content="para">
                  <p>Receives notification of static errors occurring in a Query</p>
               </td>
            </tr>
            <tr>
               <td content="para">
                  <p>version</p>
               </td>
               <td content="para">
                  <p>1.0|1.1</p>
               </td>
               <td content="para">
                  <p>Indicates whether XQuery 1.1 syntax is accepted</p>
               </td>
            </tr>
         </tbody>
      </table>
      <table width="100%">
         <tr>
            <td>
               <p align="right"><a class="nav" href="config-xsd.xml">Next</a></p>
            </td>
         </tr>
      </table>
   </body>
</html>