Search results

Jump to navigation Jump to search
  • 0 1 3 1 0 0 DOC db.xml 1 1 2 1 1 0 ELEM xml
    4 KB (636 words) - 13:44, 20 July 2022
  • * {{Code|hof:fold-left1(1 to 10, function($a, $b) { $a + $b })}} returns {{Code|55}}. hof:scan-left(1 to 10, 0, function($a, $b) { $a + $b })
    6 KB (857 words) - 18:35, 1 December 2023
  • ...lating arrays, which has been introduced with [[XQuery 3.1#Arrays|XQuery 3.1]] and extended with [[XQuery 4.0#Arrays|XQuery 4.0]]. $action as function(item()) as item()* := fn:identity#1
    18 KB (2,374 words) - 18:35, 1 December 2023
  • <p><code>1<span style="color:#C00000">_</span>048<span style="color:#C00000">_</span>5 <p><code>let $inc := <span style="color:#C00000">fn($n) {</span> $n + 1 <span style="color:#C00000"> } </span> return $inc(99)</code></p>
    6 KB (792 words) - 15:35, 16 November 2023
  • |1 | 1
    9 KB (1,066 words) - 11:03, 1 March 2016
  • for $item in (1, 'foo', fn:concat#3, function($a) { 42 * $a }) ''Result:'' <code>3 1</code>
    11 KB (1,683 words) - 18:39, 1 December 2023
  • ...lating maps. [[XQuery 3.1#Maps|Maps]] have been introduced with [[XQuery 3.1]]. 0: "Sun", 1: "Mon", 2: "Tue", 3: "Wed", 4: "Thu", 5: "Fri", 6: "Sat"
    10 KB (1,569 words) - 18:33, 1 December 2023
  • (: OLD :) if(count($s) = 1) then 'OK' else (), ...can be written more compact. If we know that our input will always have 0-1 items, we can write <code>if(exists($s))</code>. If our input will never be
    3 KB (483 words) - 18:38, 1 December 2023
  • | Compressed integer (1-5 bytes), specified in [https://github.com/BaseXdb/basex/blob/master/basex- | Boolean (1 byte, {{Code|00}} or {{Code|01}})
    5 KB (788 words) - 10:17, 9 March 2023
  • |Computes the SHA-1 hash of the given {{Code|$value}}, which may be of type {{Code|xs:string}}, ...br/>The following three algorithms are supported: {{Code|MD5}}, {{Code|SHA-1}}, and {{Code|SHA-256}}.
    3 KB (476 words) - 15:30, 9 March 2023
  • * {{Code|math:exp(1)}} returns <i>e</i>. * {{Code|math:log(math:e())}} returns {{Code|1}}.
    8 KB (1,273 words) - 15:59, 9 March 2023
  • for $i in 1 to 10 for $i in 1 to 10
    15 KB (2,189 words) - 18:33, 1 December 2023
  • ...most important features of the [https://www.w3.org/TR/xquery-31/ XQuery 3.1] Recommendation. for $i in 1 to 10
    21 KB (2,979 words) - 18:38, 1 December 2023
  • By default, this module uses Java’s XSLT 1.0 Xalan implementation to transform documents. XSLT 3.0 is used if the [htt |Returns the supported XSLT version ("1.0", "3.0"). An empty string is returned if a classpath in the system proper
    8 KB (1,105 words) - 18:38, 1 December 2023
  • if ($ok) then 1 else 0, $ok ?? 1 !! 0
    10 KB (1,514 words) - 18:39, 1 December 2023
  • ...in this file are ordered by value so we can interpret that the ID list for 1 is at position 8, the ID list for 100 is at position 4, the ID list for 200 ...count of the number of attributes will this value - in our case here it's 1. Then the list has the locations of the attributes - in our case there is o
    6 KB (1,052 words) - 20:54, 18 July 2022
  • ...istance] for two strings and returns a double value ({{Code|0.0}} - {{Code|1.0}}). The returned value is computed as follows:<br/> * <code>1.0</code> – distance / max(length of strings)
    4 KB (623 words) - 18:36, 1 December 2023
  • ...document instances are assigned to the <code><nowiki>http://www.xqdoc.org/1.0</nowiki></code> namespace, which is statically bound to the {{Code|xqdoc} inspect:static-context(data:get#1, 'namespaces')
    14 KB (1,932 words) - 18:39, 1 December 2023
  • ...-10/ XQuery 1.0 Update], [https://www.w3.org/TR/xpath-full-text-10/ XQuery 1.0 Full Text], and [http://www.expath.org/spec/http-client EXPath HTTP] Spec |<code>1+<br/>for i in //* return $i</code>
    32 KB (4,807 words) - 10:20, 9 March 2023
  • print $session->execute("xquery 1 to 10");
    2 KB (232 words) - 18:39, 1 December 2023

View (previous 20 | next 20) (20 | 50 | 100 | 250 | 500)