<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet href="../../make-menu.xsl" type="text/xsl"?><html>
   <head>
      <this-is section="changes" page="intro" subpage="fo30-93"/>
      <!--
           Generated at 2010-10-29T18:20:48.427+01:00--><title>Saxonica: XSLT and XQuery Processing: Functions and Operators</title>
      <meta name="coverage" content="Worldwide"/>
      <meta name="copyright" content="Copyright Saxonica Ltd"/>
      <meta name="title"
            content="Saxonica: XSLT and XQuery Processing: Functions and Operators"/>
      <meta name="robots" content="noindex,nofollow"/>
      <link rel="stylesheet" href="../../saxondocs.css" type="text/css"/>
   </head>
   <body class="main">
      <h1>Functions and Operators</h1>
      <p>The current state of implementation of all standard functions is now documented <a class="bodylink" href="../../functions/intro.xml">here</a>.</p>
      <p>The new function <code>fn:analyze-string()</code> is implemented.</p>
      <p>The higher-order functions <code>map()</code>, <code>filter()</code>, <code>fold-left()</code>, <code>fold-right()</code>, and
<code>map-pairs()</code> are implemented.</p>
      <p>The functions <code>head()</code> and <code>tail()</code> are implemented.</p>
      <p>The functions <code>pi()</code>, <code>sqrt()</code>, <code>sin()</code>, <code>cos()</code>, <code>tan()</code>,
 <code>asin()</code>, <code>acos()</code>, and <code>atan()</code> are implemented - note that these are in the namespace
 <code>http://www.w3.org/2005/xpath-functions/math</code>. Unlike the other new functions, these are available whenever
 Saxon-PE or Saxon-EE are in use, regardless of whether XQuery 3.0 or XPath 3.0 are enabled - this is conformant because
 they are in a namespace to which the 1.0/2.0 specifications attach no restrictions.</p>
      <p>The single-argument version of <code>string-join()</code> is implemented.</p>
      <p>The two-argument version of <code>round()</code> is implemented.</p>
      <p>The zero-argument forms of <code>data()</code>, <code>node-name()</code>, and <code>document-uri()</code> are implemented.</p>
      <p>The new <code>format-integer()</code> function is implemented.</p>
      <p>The new regular expression flag "q" is recognized. This causes all characters in the regex to be treated as ordinary characters, for example
"." will match a single period, rather than matching any character. This is only recognized when XPath 3.0 or XQuery 3.0 is enabled.</p>
      <p>Non-capturing groups are recognized, with the syntax <code>(?:aaaa)</code> where aaaa is any regular expression.</p>
      <table width="100%">
         <tr>
            <td>
               <p align="right"><a class="nav" href="xsd10-93.xml">Next</a></p>
            </td>
         </tr>
      </table>
   </body>
</html>