<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet href="../../make-menu.xsl" type="text/xsl"?><html>
   <head>
      <this-is section="using-xquery" page="xquery11support" subpage="miscellaneous"/>
      <!--
           Generated at 2010-10-29T18:20:48.427+01:00--><title>Saxonica: XSLT and XQuery Processing: Miscellaneous XQuery 3.0 Features</title>
      <meta name="coverage" content="Worldwide"/>
      <meta name="copyright" content="Copyright Saxonica Ltd"/>
      <meta name="title"
            content="Saxonica: XSLT and XQuery Processing: Miscellaneous XQuery 3.0 Features"/>
      <meta name="robots" content="noindex,nofollow"/>
      <link rel="stylesheet" href="../../saxondocs.css" type="text/css"/>
   </head>
   <body class="main">
      <h1>Miscellaneous XQuery 3.0 Features</h1>
      <p>Computed namespace node constructors are supported, in the form <code>namespace prefix {uri-expression}</code> or
<code>namespace {prefix-expression} {uri-expression}</code>.</p>
      <p>In the query prolog, it is now possible to provide a default value for an external variable (for example,
<code>declare variable $ext external := 0;</code>.</p>
      <p>The "outer for" clause of a FLWOR expression is implemented. The implementation is functionally complete, but there is no
optimization.</p>
      <p>The expression <code>validate by type-name { expr }</code> is implemented.</p>
      <p>The functions <code>format-date()</code>, <code>format-time()</code>, and <code>format-dateTime()</code>,
as specified in XSLT 2.0, are now available in XPath and XQuery. (They are currently available irrespective
of which version of XPath or XQuery is requested. This may change if it is deemed non-conformant.)</p>
      <p>The function <code>format-number()</code> is now available, along with the new syntax in the Query Prolog
to declare a (named or default) decimal-format.</p>
      <table width="100%">
         <tr>
            <td>
               <p align="right"><a class="nav" href="../callingfunctions.xml">Next</a></p>
            </td>
         </tr>
      </table>
   </body>
</html>