Merge lp:~zorba-coders/zorba/functx-uri-fix into lp:zorba
- functx-uri-fix
- Merge into trunk
Status: | Rejected |
---|---|
Rejected by: | Chris Hillery |
Proposed branch: | lp:~zorba-coders/zorba/functx-uri-fix |
Merge into: | lp:zorba |
Diff against target: |
13583 lines (+6690/-6672) 18 files modified
doc/code/headers_svg/zorba_headers_dependencies.xqi (+1/-1) doc/zorba/xqdoc/images/modules.svg (+1/-1) doc/zorba/xqdoc/src/zorba_module_dependencies.xqi (+1/-1) doc/zorba/xqdoc/templates/www.functx.com.html (+6652/-0) doc/zorba/xqdoc/templates/www.functx.com_index.html (+0/-6652) modules/com/zorba-xquery/www/modules/xqdoc2xhtml/index.xq (+17/-4) modules/functx/CMakeLists.txt (+1/-1) modules/functx/functx.xq (+1/-1) scripts/sanity_checks/conformance_xqftts.xqi (+1/-1) scripts/sanity_checks/conformance_xqts.xqi (+1/-1) scripts/sanity_checks/conformance_xquts.xqi (+1/-1) src/context/default_uri_mappers.cpp (+6/-1) test/rbkt/Queries/zorba/functx/substring-before-last.xq (+1/-1) test/rbkt/Queries/zorba/spec/xquery_1_0.xq (+1/-1) test/rbkt/Queries/zorba/spec/xquery_1_1.xq (+1/-1) test/rbkt/Queries/zorba/string/AnalyzeString/http-client-doc.htm (+1/-1) test/rbkt/Queries/zorba/xqdoc/moduleDocumentation.xq (+2/-2) test/zperf/src/timings.xq (+1/-1) |
To merge this branch: | bzr merge lp:~zorba-coders/zorba/functx-uri-fix |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Chris Hillery | Disapprove | ||
Sorin Marian Nasoi | Approve | ||
Review via email: mp+88012@code.launchpad.net |
Commit message
Corrected URI of functx module to "http://
Description of the change
Per discussion on conf call 1/11/2012, this fix should NOT be merged until we are preparing Zorba 3.0 - it should NOT be in Zorba 2.2 if there is such a release.
Zorba Build Bot (zorba-buildbot) wrote : | # |
Zorba Build Bot (zorba-buildbot) wrote : | # |
The attempt to merge lp:~zorba-coders/zorba/functx-uri-fix into lp:zorba failed. Below is the output from the failed tests.
CMake Error at /home/ceej/
Validation queue job functx-
The final status was:
5 tests did not succeed - changes not commited.
Error in read script: /home/ceej/
Zorba Build Bot (zorba-buildbot) wrote : | # |
Validation queue starting for merge proposal.
Log at: http://
Zorba Build Bot (zorba-buildbot) wrote : | # |
The attempt to merge lp:~zorba-coders/zorba/functx-uri-fix into lp:zorba failed. Below is the output from the failed tests.
CMake Error at /home/ceej/
Validation queue job functx-
The final status was:
1 tests did not succeed - changes not commited.
Error in read script: /home/ceej/
Zorba Build Bot (zorba-buildbot) wrote : | # |
Validation queue starting for merge proposal.
Log at: http://
Zorba Build Bot (zorba-buildbot) wrote : | # |
Validation queue job functx-
All tests succeeded!
Zorba Build Bot (zorba-buildbot) wrote : | # |
Voting does not meet specified criteria. Required: Approve > 1, Disapprove < 1. Got: 1 Pending.
Cezar Andrei (cezar-andrei) wrote : | # |
Fix for allowing both URI's ending with or without slash '/' should also be added before 3.0 release.
Chris Hillery (ceejatec) wrote : | # |
> Fix for allowing both URI's ending with or without slash '/' should also be
> added before 3.0 release.
As discussed on the mailing list, it is not possible to support both URIs simultaneously (without some ugly hacks). Is that what you meant? If not, what did you mean?
Cezar Andrei (cezar-andrei) wrote : | # |
I'm talking about this problem, but solved cleanly without ugly hacks.
Chris Hillery (ceejatec) wrote : | # |
AFAIK there are no suggestions on the table on how to allow this without special-cases or hacks. Also AFAIK there is no outstanding requirement to do so. The plan is to change the URI in 3.0 and be done with it.
The fact is that our name-mangling mechanism for mapping URIs to filesystem paths is not 100% one-to-one; it is slightly lossy, in that several URIs may map to the same filesystem path. This has always been a theoretical problem, not an actual one, in the past. The only reason it's an actual problem this time is because of a different bug (authoring our FunctX module with the wrong URI). IMHO solving this problem is not a high priority, and doing so fully would at the least make our on-disk layout rather uglier than it is.
Sorin Marian Nasoi (sorin.marian.nasoi) : | # |
Chris Hillery (ceejatec) wrote : | # |
I believe this branch has fallen too far behind the times. I will re-do the change to add the slash as part of 3.0.
Unmerged revisions
- 10612. By Sorin Marian Nasoi <email address hidden>
-
Fixed the XQDoc generation.
- 10611. By Chris Hillery
-
When file-izing a URI, if the path component is length 0, force it to "/" to
match the Zorba name-mangling mechanism. - 10610. By Chris Hillery
-
Corrected URI of functx module to "http://
www.functx. com" (without trailing
slash).
Preview Diff
1 | === modified file 'doc/code/headers_svg/zorba_headers_dependencies.xqi' | |||
2 | --- doc/code/headers_svg/zorba_headers_dependencies.xqi 2011-08-18 19:46:33 +0000 | |||
3 | +++ doc/code/headers_svg/zorba_headers_dependencies.xqi 2012-01-10 23:15:30 +0000 | |||
4 | @@ -22,7 +22,7 @@ | |||
5 | 22 | import module namespace file = "http://expath.org/ns/file"; | 22 | import module namespace file = "http://expath.org/ns/file"; |
6 | 23 | import module namespace dot = "http://www.zorba-xquery.com/modules/image/graphviz"; | 23 | import module namespace dot = "http://www.zorba-xquery.com/modules/image/graphviz"; |
7 | 24 | import module namespace html = "http://www.zorba-xquery.com/modules/converters/html"; | 24 | import module namespace html = "http://www.zorba-xquery.com/modules/converters/html"; |
9 | 25 | import module namespace functx = "http://www.functx.com/"; | 25 | import module namespace functx = "http://www.functx.com"; |
10 | 26 | 26 | ||
11 | 27 | declare namespace ann = "http://www.zorba-xquery.com/annotations"; | 27 | declare namespace ann = "http://www.zorba-xquery.com/annotations"; |
12 | 28 | 28 | ||
13 | 29 | 29 | ||
14 | === modified file 'doc/zorba/xqdoc/images/modules.svg' | |||
15 | --- doc/zorba/xqdoc/images/modules.svg 2011-08-01 17:55:38 +0000 | |||
16 | +++ doc/zorba/xqdoc/images/modules.svg 2012-01-10 23:15:30 +0000 | |||
17 | @@ -1006,7 +1006,7 @@ | |||
18 | 1006 | </g> | 1006 | </g> |
19 | 1007 | <!-- functx_16 --> | 1007 | <!-- functx_16 --> |
20 | 1008 | <g id="node89" class="node"><title>functx_16</title> | 1008 | <g id="node89" class="node"><title>functx_16</title> |
22 | 1009 | <a xlink:href="../www.functx.com_index.html" xlink:title="(Zorba-core) module uri=http://www.functx.com/"> | 1009 | <a xlink:href="../www.functx.com_index.html" xlink:title="(Zorba-core) module uri=http://www.functx.com"> |
23 | 1010 | <ellipse fill="white" stroke="white" cx="8411" cy="-301" rx="36.0624" ry="19.0919"/> | 1010 | <ellipse fill="white" stroke="white" cx="8411" cy="-301" rx="36.0624" ry="19.0919"/> |
24 | 1011 | <text text-anchor="middle" x="8411" y="-297.9" font-family="Times Roman,serif" font-size="14.00" fill="red">functx</text> | 1011 | <text text-anchor="middle" x="8411" y="-297.9" font-family="Times Roman,serif" font-size="14.00" fill="red">functx</text> |
25 | 1012 | </a> | 1012 | </a> |
26 | 1013 | 1013 | ||
27 | === modified file 'doc/zorba/xqdoc/src/zorba_module_dependencies.xqi' | |||
28 | --- doc/zorba/xqdoc/src/zorba_module_dependencies.xqi 2011-08-12 16:07:57 +0000 | |||
29 | +++ doc/zorba/xqdoc/src/zorba_module_dependencies.xqi 2012-01-10 23:15:30 +0000 | |||
30 | @@ -26,7 +26,7 @@ | |||
31 | 26 | import module namespace file = "http://expath.org/ns/file"; | 26 | import module namespace file = "http://expath.org/ns/file"; |
32 | 27 | import module namespace dot = "http://www.zorba-xquery.com/modules/image/graphviz"; | 27 | import module namespace dot = "http://www.zorba-xquery.com/modules/image/graphviz"; |
33 | 28 | import module namespace xqdoc2html = "http://www.zorba-xquery.com/modules/xqdoc2xhtml/"; | 28 | import module namespace xqdoc2html = "http://www.zorba-xquery.com/modules/xqdoc2xhtml/"; |
35 | 29 | import module namespace functx = "http://www.functx.com/"; | 29 | import module namespace functx = "http://www.functx.com"; |
36 | 30 | 30 | ||
37 | 31 | import module namespace dml = "http://www.zorba-xquery.com/modules/store/static/collections/dml"; | 31 | import module namespace dml = "http://www.zorba-xquery.com/modules/store/static/collections/dml"; |
38 | 32 | import module namespace ddl = "http://www.zorba-xquery.com/modules/store/static/collections/ddl"; | 32 | import module namespace ddl = "http://www.zorba-xquery.com/modules/store/static/collections/ddl"; |
39 | 33 | 33 | ||
40 | === added file 'doc/zorba/xqdoc/templates/www.functx.com.html' | |||
41 | --- doc/zorba/xqdoc/templates/www.functx.com.html 1970-01-01 00:00:00 +0000 | |||
42 | +++ doc/zorba/xqdoc/templates/www.functx.com.html 2012-01-10 23:15:30 +0000 | |||
43 | @@ -0,0 +1,6652 @@ | |||
44 | 1 | <html> | ||
45 | 2 | <head> | ||
46 | 3 | <title>Documentation for http://www.functx.com</title> | ||
47 | 4 | <meta content="text/html; charset=UTF-8" http-equiv="content-type" /> | ||
48 | 5 | <meta content="public" http-equiv="CACHE-CONTROL" /> | ||
49 | 6 | <meta content="-1" http-equiv="Expires" /> | ||
50 | 7 | <link rel="stylesheet" type="text/css" href="styles/main.css" /> | ||
51 | 8 | <link rel="stylesheet" href="styles/jquery.treeview.css" /> | ||
52 | 9 | <script type="text/javascript" src="lib/jquery.js"></script> | ||
53 | 10 | <script type="text/javascript" src="lib/jquery.cookie.js"></script> | ||
54 | 11 | <script type="text/javascript" src="lib/jquery.treeview.js"></script> | ||
55 | 12 | <script type="text/javascript" src="lib/jquery.treeview.min.js"></script> | ||
56 | 13 | <script type="text/javascript" src="lib/shCore.js"></script> | ||
57 | 14 | <script type="text/javascript" src="lib/shBrushXQuery.js"></script> | ||
58 | 15 | <script type="text/javascript" src="lib/shBrushXml.js"></script> | ||
59 | 16 | <link type="text/css" rel="stylesheet" href="styles/shCore.css" /> | ||
60 | 17 | <link type="text/css" rel="stylesheet" href="styles/shThemeDefault.css" /> | ||
61 | 18 | <link type="text/css" rel="stylesheet" href="styles/shThemeXQuery.css" /> | ||
62 | 19 | <script type="text/javascript"> | ||
63 | 20 | SyntaxHighlighter.all() | ||
64 | 21 | </script> | ||
65 | 22 | <script type="text/javascript"> | ||
66 | 23 | jQuery(document).ready(function() { | ||
67 | 24 | $("#documentation").treeview({ | ||
68 | 25 | control: "#treecontrol", | ||
69 | 26 | animated: "fast", | ||
70 | 27 | collapsed: true, | ||
71 | 28 | unique: false, | ||
72 | 29 | persist: "cookie" | ||
73 | 30 | }); | ||
74 | 31 | }); | ||
75 | 32 | </script> | ||
76 | 33 | </head> | ||
77 | 34 | <body> | ||
78 | 35 | <div id="header"> | ||
79 | 36 | <div class="innerheader text-left"> | ||
80 | 37 | <div id="logo_container"> | ||
81 | 38 | <a href="../../../../../html/index.html"> | ||
82 | 39 | <img src="images/zorba_logo.png" alt="Zorba C++ XQuery Processor" /> | ||
83 | 40 | </a> | ||
84 | 41 | <h1> | ||
85 | 42 | <a href="../../../../../html/index.html">Zorba</a> | ||
86 | 43 | </h1> | ||
87 | 44 | <p> | ||
88 | 45 | <a href="../../../../../html/index.html">The XQuery Processor</a> | ||
89 | 46 | </p> | ||
90 | 47 | </div> | ||
91 | 48 | <div id="innermenu" class="box"> | ||
92 | 49 | <ul> | ||
93 | 50 | <li style="width:102px !important;"> | ||
94 | 51 | <a href="../../../zorba/html/index.html" class="documentation">Documentation</a> | ||
95 | 52 | </li> | ||
96 | 53 | <li> | ||
97 | 54 | <a href="http://try.zorba-xquery.com" target="_blank" class="tryzorba">Live Demo</a> | ||
98 | 55 | </li> | ||
99 | 56 | <li> | ||
100 | 57 | <a href="../../../../../html/modules.html" class="modules">Modules</a> | ||
101 | 58 | </li> | ||
102 | 59 | <li> | ||
103 | 60 | <a href="../../../../../html/downloads.html" class="download">Download</a> | ||
104 | 61 | </li> | ||
105 | 62 | <li> | ||
106 | 63 | <a href="../../../../../html/tools.html" class="tools">Tools</a> | ||
107 | 64 | </li> | ||
108 | 65 | <li> | ||
109 | 66 | <a href="../../../../../html/blog.html" class="blog">Blog</a> | ||
110 | 67 | </li> | ||
111 | 68 | <li> | ||
112 | 69 | <a href="../../../../../html/code.html" class="open">Code</a> | ||
113 | 70 | </li> | ||
114 | 71 | </ul> | ||
115 | 72 | </div> | ||
116 | 73 | </div> | ||
117 | 74 | </div> | ||
118 | 75 | <div id="main"> | ||
119 | 76 | <div id="leftMenu"> | ||
120 | 77 | <div id="treecontrol"> | ||
121 | 78 | <a title="Collapse the entire tree below" href="#"> | ||
122 | 79 | <img src="images/minus.gif" /> Collapse All</a> | ||
123 | 80 | <a title="Expand the entire tree below" href="#"> | ||
124 | 81 | <img src="images/plus.gif" /> Expand All</a> | ||
125 | 82 | </div> | ||
126 | 83 | </div> | ||
127 | 84 | <div id="rightcontent"> | ||
128 | 85 | <h1>http://www.functx.com<sup> | ||
129 | 86 | <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." /> | ||
130 | 87 | </sup> | ||
131 | 88 | </h1> | ||
132 | 89 | <div class="section"> | ||
133 | 90 | <span id="module_description">Module Description</span> | ||
134 | 91 | </div> | ||
135 | 92 | <span>Before using any of the functions below please remember to import the module namespace: | ||
136 | 93 | <pre class="brush: xquery;">import module namespace functx = "http://www.functx.com";</pre> | ||
137 | 94 | </span> | ||
138 | 95 | <p> -------------------------------- | ||
139 | 96 | The FunctX XQuery Function Library | ||
140 | 97 | -------------------------------- | ||
141 | 98 | Copyright (C) 2007 Datypic | ||
142 | 99 | This library is free software; you can redistribute it and/or | ||
143 | 100 | modify it under the terms of the GNU Lesser General Public | ||
144 | 101 | License as published by the Free Software Foundation; either | ||
145 | 102 | version 2.1 of the License. | ||
146 | 103 | This library is distributed in the hope that it will be useful, | ||
147 | 104 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
148 | 105 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
149 | 106 | Lesser General Public License for more details. | ||
150 | 107 | You should have received a copy of the GNU Lesser General Public | ||
151 | 108 | License along with this library; if not, write to the Free Software | ||
152 | 109 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
153 | 110 | For more information on the FunctX XQuery library, contact contrib@functx.com. | ||
154 | 111 | </p> | ||
155 | 112 | <div class="subsubsection">Version:</div> | ||
156 | 113 | <p class="annotationText">1.0</p> | ||
157 | 114 | <div class="section"> | ||
158 | 115 | <span id="module_resources">Module Resources</span> | ||
159 | 116 | </div> | ||
160 | 117 | <ul> | ||
161 | 118 | <li>the XQuery module can be found <a href="modules/www.functx.com_index.html" target="_blank">here</a>.</li> | ||
162 | 119 | </ul> | ||
163 | 120 | <div class="section"> | ||
164 | 121 | <span id="external_specifications">Related Documentation</span> | ||
165 | 122 | </div> | ||
166 | 123 | <p>For more details please also see:<ul> | ||
167 | 124 | <li> | ||
168 | 125 | <a href="http://www.xqueryfunctions.com" target="_blank">http://www.xqueryfunctions.com</a> | ||
169 | 126 | </li> | ||
170 | 127 | </ul> | ||
171 | 128 | </p> | ||
172 | 129 | <div class="section"> | ||
173 | 130 | <span id="variables">Namespaces</span> | ||
174 | 131 | </div> | ||
175 | 132 | <table class="varlist"> | ||
176 | 133 | <tr> | ||
177 | 134 | <td>functx</td> | ||
178 | 135 | <td>http://www.functx.com</td> | ||
179 | 136 | </tr> | ||
180 | 137 | </table> | ||
181 | 138 | <div class="section"> | ||
182 | 139 | <span id="function_summary">Function Summary</span> | ||
183 | 140 | </div> | ||
184 | 141 | <table class="funclist"> | ||
185 | 142 | <tr> | ||
186 | 143 | <td class="type"> | ||
187 | 144 | <span class="no_underline"></span> | ||
188 | 145 | </td> | ||
189 | 146 | <td> | ||
190 | 147 | <tt> | ||
191 | 148 | <span class="functName"> | ||
192 | 149 | <a href="#add-attributes-3" title="Adds attributes to XML elements">add-attributes</a> | ||
193 | 150 | </span> | ||
194 | 151 | <span class="functName"></span> ( | ||
195 | 152 | <span class="funcParam"> $elements</span> as element(*)*, | ||
196 | 153 | <span class="funcParam"> $attrNames</span> as xs:QName*, | ||
197 | 154 | <span class="funcParam"> $attrValues</span> as xs:anyAtomicType* | ||
198 | 155 | ) as element(*)?<br /> | ||
199 | 156 | <span class="padding"></span> | ||
200 | 157 | </tt> | ||
201 | 158 | </td> | ||
202 | 159 | </tr> | ||
203 | 160 | <tr> | ||
204 | 161 | <td class="type"> | ||
205 | 162 | <span class="no_underline"></span> | ||
206 | 163 | </td> | ||
207 | 164 | <td> | ||
208 | 165 | <tt> | ||
209 | 166 | <span class="functName"> | ||
210 | 167 | <a href="#add-months-2" title="Adds months to a date">add-months</a> | ||
211 | 168 | </span> | ||
212 | 169 | <span class="functName"></span> ( | ||
213 | 170 | <span class="funcParam"> $date</span> as xs:anyAtomicType?, | ||
214 | 171 | <span class="funcParam"> $months</span> as xs:integer | ||
215 | 172 | ) as xs:date?<br /> | ||
216 | 173 | <span class="padding"></span> | ||
217 | 174 | </tt> | ||
218 | 175 | </td> | ||
219 | 176 | </tr> | ||
220 | 177 | <tr> | ||
221 | 178 | <td class="type"> | ||
222 | 179 | <span class="no_underline"></span> | ||
223 | 180 | </td> | ||
224 | 181 | <td> | ||
225 | 182 | <tt> | ||
226 | 183 | <span class="functName"> | ||
227 | 184 | <a href="#add-or-update-attributes-3" title="Adds attributes to XML elements">add-or-update-attributes</a> | ||
228 | 185 | </span> | ||
229 | 186 | <span class="functName"></span> ( | ||
230 | 187 | <span class="funcParam"> $elements</span> as element(*)*, | ||
231 | 188 | <span class="funcParam"> $attrNames</span> as xs:QName*, | ||
232 | 189 | <span class="funcParam"> $attrValues</span> as xs:anyAtomicType* | ||
233 | 190 | ) as element(*)?<br /> | ||
234 | 191 | <span class="padding"></span> | ||
235 | 192 | </tt> | ||
236 | 193 | </td> | ||
237 | 194 | </tr> | ||
238 | 195 | <tr> | ||
239 | 196 | <td class="type"> | ||
240 | 197 | <span class="no_underline"></span> | ||
241 | 198 | </td> | ||
242 | 199 | <td> | ||
243 | 200 | <tt> | ||
244 | 201 | <span class="functName"> | ||
245 | 202 | <a href="#all-whitespace-1" title="Whether a value is all whitespace or a zero-length string">all-whitespace</a> | ||
246 | 203 | </span> | ||
247 | 204 | <span class="functName"></span> ( | ||
248 | 205 | <span class="funcParam"> $arg</span> as xs:string? | ||
249 | 206 | ) as xs:boolean<br /> | ||
250 | 207 | <span class="padding"></span> | ||
251 | 208 | </tt> | ||
252 | 209 | </td> | ||
253 | 210 | </tr> | ||
254 | 211 | <tr> | ||
255 | 212 | <td class="type"> | ||
256 | 213 | <span class="no_underline"></span> | ||
257 | 214 | </td> | ||
258 | 215 | <td> | ||
259 | 216 | <tt> | ||
260 | 217 | <span class="functName"> | ||
261 | 218 | <a href="#are-distinct-values-1" title="Whether all the values in a sequence are distinct">are-distinct-values</a> | ||
262 | 219 | </span> | ||
263 | 220 | <span class="functName"></span> ( | ||
264 | 221 | <span class="funcParam"> $seq</span> as xs:anyAtomicType* | ||
265 | 222 | ) as xs:boolean<br /> | ||
266 | 223 | <span class="padding"></span> | ||
267 | 224 | </tt> | ||
268 | 225 | </td> | ||
269 | 226 | </tr> | ||
270 | 227 | <tr> | ||
271 | 228 | <td class="type"> | ||
272 | 229 | <span class="no_underline"></span> | ||
273 | 230 | </td> | ||
274 | 231 | <td> | ||
275 | 232 | <tt> | ||
276 | 233 | <span class="functName"> | ||
277 | 234 | <a href="#atomic-type-1" title="The built-in type of an atomic value">atomic-type</a> | ||
278 | 235 | </span> | ||
279 | 236 | <span class="functName"></span> ( | ||
280 | 237 | <span class="funcParam"> $values</span> as xs:anyAtomicType* | ||
281 | 238 | ) as xs:string*<br /> | ||
282 | 239 | <span class="padding"></span> | ||
283 | 240 | </tt> | ||
284 | 241 | </td> | ||
285 | 242 | </tr> | ||
286 | 243 | <tr> | ||
287 | 244 | <td class="type"> | ||
288 | 245 | <span class="no_underline"></span> | ||
289 | 246 | </td> | ||
290 | 247 | <td> | ||
291 | 248 | <tt> | ||
292 | 249 | <span class="functName"> | ||
293 | 250 | <a href="#avg-empty-is-zero-2" title="The average, counting "empty" values as zero">avg-empty-is-zero</a> | ||
294 | 251 | </span> | ||
295 | 252 | <span class="functName"></span> ( | ||
296 | 253 | <span class="funcParam"> $values</span> as xs:anyAtomicType*, | ||
297 | 254 | <span class="funcParam"> $allNodes</span> as node()* | ||
298 | 255 | ) as xs:double<br /> | ||
299 | 256 | <span class="padding"></span> | ||
300 | 257 | </tt> | ||
301 | 258 | </td> | ||
302 | 259 | </tr> | ||
303 | 260 | <tr> | ||
304 | 261 | <td class="type"> | ||
305 | 262 | <span class="no_underline"></span> | ||
306 | 263 | </td> | ||
307 | 264 | <td> | ||
308 | 265 | <tt> | ||
309 | 266 | <span class="functName"> | ||
310 | 267 | <a href="#between-exclusive-3" title="Whether a value is between two provided values">between-exclusive</a> | ||
311 | 268 | </span> | ||
312 | 269 | <span class="functName"></span> ( | ||
313 | 270 | <span class="funcParam"> $value</span> as xs:anyAtomicType?, | ||
314 | 271 | <span class="funcParam"> $minValue</span> as xs:anyAtomicType, | ||
315 | 272 | <span class="funcParam"> $maxValue</span> as xs:anyAtomicType | ||
316 | 273 | ) as xs:boolean<br /> | ||
317 | 274 | <span class="padding"></span> | ||
318 | 275 | </tt> | ||
319 | 276 | </td> | ||
320 | 277 | </tr> | ||
321 | 278 | <tr> | ||
322 | 279 | <td class="type"> | ||
323 | 280 | <span class="no_underline"></span> | ||
324 | 281 | </td> | ||
325 | 282 | <td> | ||
326 | 283 | <tt> | ||
327 | 284 | <span class="functName"> | ||
328 | 285 | <a href="#between-inclusive-3" title="Whether a value is between two provided values, or equal to one of them">between-inclusive</a> | ||
329 | 286 | </span> | ||
330 | 287 | <span class="functName"></span> ( | ||
331 | 288 | <span class="funcParam"> $value</span> as xs:anyAtomicType?, | ||
332 | 289 | <span class="funcParam"> $minValue</span> as xs:anyAtomicType, | ||
333 | 290 | <span class="funcParam"> $maxValue</span> as xs:anyAtomicType | ||
334 | 291 | ) as xs:boolean<br /> | ||
335 | 292 | <span class="padding"></span> | ||
336 | 293 | </tt> | ||
337 | 294 | </td> | ||
338 | 295 | </tr> | ||
339 | 296 | <tr> | ||
340 | 297 | <td class="type"> | ||
341 | 298 | <span class="no_underline"></span> | ||
342 | 299 | </td> | ||
343 | 300 | <td> | ||
344 | 301 | <tt> | ||
345 | 302 | <span class="functName"> | ||
346 | 303 | <a href="#camel-case-to-words-2" title="Turns a camelCase string into space-separated words">camel-case-to-words</a> | ||
347 | 304 | </span> | ||
348 | 305 | <span class="functName"></span> ( | ||
349 | 306 | <span class="funcParam"> $arg</span> as xs:string?, | ||
350 | 307 | <span class="funcParam"> $delim</span> as xs:string | ||
351 | 308 | ) as xs:string<br /> | ||
352 | 309 | <span class="padding"></span> | ||
353 | 310 | </tt> | ||
354 | 311 | </td> | ||
355 | 312 | </tr> | ||
356 | 313 | <tr> | ||
357 | 314 | <td class="type"> | ||
358 | 315 | <span class="no_underline"></span> | ||
359 | 316 | </td> | ||
360 | 317 | <td> | ||
361 | 318 | <tt> | ||
362 | 319 | <span class="functName"> | ||
363 | 320 | <a href="#capitalize-first-1" title="Capitalizes the first character of a string">capitalize-first</a> | ||
364 | 321 | </span> | ||
365 | 322 | <span class="functName"></span> ( | ||
366 | 323 | <span class="funcParam"> $arg</span> as xs:string? | ||
367 | 324 | ) as xs:string?<br /> | ||
368 | 325 | <span class="padding"></span> | ||
369 | 326 | </tt> | ||
370 | 327 | </td> | ||
371 | 328 | </tr> | ||
372 | 329 | <tr> | ||
373 | 330 | <td class="type"> | ||
374 | 331 | <span class="no_underline"></span> | ||
375 | 332 | </td> | ||
376 | 333 | <td> | ||
377 | 334 | <tt> | ||
378 | 335 | <span class="functName"> | ||
379 | 336 | <a href="#change-element-names-deep-3" title="Changes the names of elements in an XML fragment">change-element-names-deep</a> | ||
380 | 337 | </span> | ||
381 | 338 | <span class="functName"></span> ( | ||
382 | 339 | <span class="funcParam"> $nodes</span> as node()*, | ||
383 | 340 | <span class="funcParam"> $oldNames</span> as xs:QName*, | ||
384 | 341 | <span class="funcParam"> $newNames</span> as xs:QName* | ||
385 | 342 | ) as node()*<br /> | ||
386 | 343 | <span class="padding"></span> | ||
387 | 344 | </tt> | ||
388 | 345 | </td> | ||
389 | 346 | </tr> | ||
390 | 347 | <tr> | ||
391 | 348 | <td class="type"> | ||
392 | 349 | <span class="no_underline"></span> | ||
393 | 350 | </td> | ||
394 | 351 | <td> | ||
395 | 352 | <tt> | ||
396 | 353 | <span class="functName"> | ||
397 | 354 | <a href="#change-element-ns-3" title="Changes the namespace of XML elements">change-element-ns</a> | ||
398 | 355 | </span> | ||
399 | 356 | <span class="functName"></span> ( | ||
400 | 357 | <span class="funcParam"> $elements</span> as element(*)*, | ||
401 | 358 | <span class="funcParam"> $newns</span> as xs:string, | ||
402 | 359 | <span class="funcParam"> $prefix</span> as xs:string | ||
403 | 360 | ) as element(*)?<br /> | ||
404 | 361 | <span class="padding"></span> | ||
405 | 362 | </tt> | ||
406 | 363 | </td> | ||
407 | 364 | </tr> | ||
408 | 365 | <tr> | ||
409 | 366 | <td class="type"> | ||
410 | 367 | <span class="no_underline"></span> | ||
411 | 368 | </td> | ||
412 | 369 | <td> | ||
413 | 370 | <tt> | ||
414 | 371 | <span class="functName"> | ||
415 | 372 | <a href="#change-element-ns-deep-3" title="Changes the namespace of XML elements and its descendants">change-element-ns-deep</a> | ||
416 | 373 | </span> | ||
417 | 374 | <span class="functName"></span> ( | ||
418 | 375 | <span class="funcParam"> $nodes</span> as node()*, | ||
419 | 376 | <span class="funcParam"> $newns</span> as xs:string, | ||
420 | 377 | <span class="funcParam"> $prefix</span> as xs:string | ||
421 | 378 | ) as node()*<br /> | ||
422 | 379 | <span class="padding"></span> | ||
423 | 380 | </tt> | ||
424 | 381 | </td> | ||
425 | 382 | </tr> | ||
426 | 383 | <tr> | ||
427 | 384 | <td class="type"> | ||
428 | 385 | <span class="no_underline"></span> | ||
429 | 386 | </td> | ||
430 | 387 | <td> | ||
431 | 388 | <tt> | ||
432 | 389 | <span class="functName"> | ||
433 | 390 | <a href="#chars-1" title="Converts a string to a sequence of characters">chars</a> | ||
434 | 391 | </span> | ||
435 | 392 | <span class="functName"></span> ( | ||
436 | 393 | <span class="funcParam"> $arg</span> as xs:string? | ||
437 | 394 | ) as xs:string*<br /> | ||
438 | 395 | <span class="padding"></span> | ||
439 | 396 | </tt> | ||
440 | 397 | </td> | ||
441 | 398 | </tr> | ||
442 | 399 | <tr> | ||
443 | 400 | <td class="type"> | ||
444 | 401 | <span class="no_underline"></span> | ||
445 | 402 | </td> | ||
446 | 403 | <td> | ||
447 | 404 | <tt> | ||
448 | 405 | <span class="functName"> | ||
449 | 406 | <a href="#contains-any-of-2" title="Whether a string contains any of a sequence of strings">contains-any-of</a> | ||
450 | 407 | </span> | ||
451 | 408 | <span class="functName"></span> ( | ||
452 | 409 | <span class="funcParam"> $arg</span> as xs:string?, | ||
453 | 410 | <span class="funcParam"> $searchStrings</span> as xs:string* | ||
454 | 411 | ) as xs:boolean<br /> | ||
455 | 412 | <span class="padding"></span> | ||
456 | 413 | </tt> | ||
457 | 414 | </td> | ||
458 | 415 | </tr> | ||
459 | 416 | <tr> | ||
460 | 417 | <td class="type"> | ||
461 | 418 | <span class="no_underline"></span> | ||
462 | 419 | </td> | ||
463 | 420 | <td> | ||
464 | 421 | <tt> | ||
465 | 422 | <span class="functName"> | ||
466 | 423 | <a href="#contains-case-insensitive-2" title="Whether one string contains another, without regard to case">contains-case-insensitive</a> | ||
467 | 424 | </span> | ||
468 | 425 | <span class="functName"></span> ( | ||
469 | 426 | <span class="funcParam"> $arg</span> as xs:string?, | ||
470 | 427 | <span class="funcParam"> $substring</span> as xs:string | ||
471 | 428 | ) as xs:boolean?<br /> | ||
472 | 429 | <span class="padding"></span> | ||
473 | 430 | </tt> | ||
474 | 431 | </td> | ||
475 | 432 | </tr> | ||
476 | 433 | <tr> | ||
477 | 434 | <td class="type"> | ||
478 | 435 | <span class="no_underline"></span> | ||
479 | 436 | </td> | ||
480 | 437 | <td> | ||
481 | 438 | <tt> | ||
482 | 439 | <span class="functName"> | ||
483 | 440 | <a href="#contains-word-2" title="Whether one string contains another, as a separate word">contains-word</a> | ||
484 | 441 | </span> | ||
485 | 442 | <span class="functName"></span> ( | ||
486 | 443 | <span class="funcParam"> $arg</span> as xs:string?, | ||
487 | 444 | <span class="funcParam"> $word</span> as xs:string | ||
488 | 445 | ) as xs:boolean<br /> | ||
489 | 446 | <span class="padding"></span> | ||
490 | 447 | </tt> | ||
491 | 448 | </td> | ||
492 | 449 | </tr> | ||
493 | 450 | <tr> | ||
494 | 451 | <td class="type"> | ||
495 | 452 | <span class="no_underline"></span> | ||
496 | 453 | </td> | ||
497 | 454 | <td> | ||
498 | 455 | <tt> | ||
499 | 456 | <span class="functName"> | ||
500 | 457 | <a href="#copy-attributes-2" title="Copies attributes from one element to another">copy-attributes</a> | ||
501 | 458 | </span> | ||
502 | 459 | <span class="functName"></span> ( | ||
503 | 460 | <span class="funcParam"> $copyTo</span> as element(*), | ||
504 | 461 | <span class="funcParam"> $copyFrom</span> as element(*) | ||
505 | 462 | ) as element(*)<br /> | ||
506 | 463 | <span class="padding"></span> | ||
507 | 464 | </tt> | ||
508 | 465 | </td> | ||
509 | 466 | </tr> | ||
510 | 467 | <tr> | ||
511 | 468 | <td class="type"> | ||
512 | 469 | <span class="no_underline"></span> | ||
513 | 470 | </td> | ||
514 | 471 | <td> | ||
515 | 472 | <tt> | ||
516 | 473 | <span class="functName"> | ||
517 | 474 | <a href="#date-3" title="Construct a date from a year, month and day">date</a> | ||
518 | 475 | </span> | ||
519 | 476 | <span class="functName"></span> ( | ||
520 | 477 | <span class="funcParam"> $year</span> as xs:anyAtomicType, | ||
521 | 478 | <span class="funcParam"> $month</span> as xs:anyAtomicType, | ||
522 | 479 | <span class="funcParam"> $day</span> as xs:anyAtomicType | ||
523 | 480 | ) as xs:date<br /> | ||
524 | 481 | <span class="padding"></span> | ||
525 | 482 | </tt> | ||
526 | 483 | </td> | ||
527 | 484 | </tr> | ||
528 | 485 | <tr> | ||
529 | 486 | <td class="type"> | ||
530 | 487 | <span class="no_underline"></span> | ||
531 | 488 | </td> | ||
532 | 489 | <td> | ||
533 | 490 | <tt> | ||
534 | 491 | <span class="functName"> | ||
535 | 492 | <a href="#dateTime-6" title="Construct a date/time from individual components">dateTime</a> | ||
536 | 493 | </span> | ||
537 | 494 | <span class="functName"></span> ( | ||
538 | 495 | <span class="funcParam"> $year</span> as xs:anyAtomicType, | ||
539 | 496 | <span class="funcParam"> $month</span> as xs:anyAtomicType, | ||
540 | 497 | <span class="funcParam"> $day</span> as xs:anyAtomicType, | ||
541 | 498 | <span class="funcParam"> $hour</span> as xs:anyAtomicType, | ||
542 | 499 | <span class="funcParam"> $minute</span> as xs:anyAtomicType, | ||
543 | 500 | <span class="funcParam"> $second</span> as xs:anyAtomicType | ||
544 | 501 | ) as xs:dateTime<br /> | ||
545 | 502 | <span class="padding"></span> | ||
546 | 503 | </tt> | ||
547 | 504 | </td> | ||
548 | 505 | </tr> | ||
549 | 506 | <tr> | ||
550 | 507 | <td class="type"> | ||
551 | 508 | <span class="no_underline"></span> | ||
552 | 509 | </td> | ||
553 | 510 | <td> | ||
554 | 511 | <tt> | ||
555 | 512 | <span class="functName"> | ||
556 | 513 | <a href="#day-in-year-1" title="The day of the year (a number between 1 and 366)">day-in-year</a> | ||
557 | 514 | </span> | ||
558 | 515 | <span class="functName"></span> ( | ||
559 | 516 | <span class="funcParam"> $date</span> as xs:anyAtomicType? | ||
560 | 517 | ) as xs:integer?<br /> | ||
561 | 518 | <span class="padding"></span> | ||
562 | 519 | </tt> | ||
563 | 520 | </td> | ||
564 | 521 | </tr> | ||
565 | 522 | <tr> | ||
566 | 523 | <td class="type"> | ||
567 | 524 | <span class="no_underline"></span> | ||
568 | 525 | </td> | ||
569 | 526 | <td> | ||
570 | 527 | <tt> | ||
571 | 528 | <span class="functName"> | ||
572 | 529 | <a href="#day-of-week-1" title="The day of the week, from a date">day-of-week</a> | ||
573 | 530 | </span> | ||
574 | 531 | <span class="functName"></span> ( | ||
575 | 532 | <span class="funcParam"> $date</span> as xs:anyAtomicType? | ||
576 | 533 | ) as xs:integer?<br /> | ||
577 | 534 | <span class="padding"></span> | ||
578 | 535 | </tt> | ||
579 | 536 | </td> | ||
580 | 537 | </tr> | ||
581 | 538 | <tr> | ||
582 | 539 | <td class="type"> | ||
583 | 540 | <span class="no_underline"></span> | ||
584 | 541 | </td> | ||
585 | 542 | <td> | ||
586 | 543 | <tt> | ||
587 | 544 | <span class="functName"> | ||
588 | 545 | <a href="#day-of-week-abbrev-en-1" title="The abbreviated day of the week, from a date, in English">day-of-week-abbrev-en</a> | ||
589 | 546 | </span> | ||
590 | 547 | <span class="functName"></span> ( | ||
591 | 548 | <span class="funcParam"> $date</span> as xs:anyAtomicType? | ||
592 | 549 | ) as xs:string?<br /> | ||
593 | 550 | <span class="padding"></span> | ||
594 | 551 | </tt> | ||
595 | 552 | </td> | ||
596 | 553 | </tr> | ||
597 | 554 | <tr> | ||
598 | 555 | <td class="type"> | ||
599 | 556 | <span class="no_underline"></span> | ||
600 | 557 | </td> | ||
601 | 558 | <td> | ||
602 | 559 | <tt> | ||
603 | 560 | <span class="functName"> | ||
604 | 561 | <a href="#day-of-week-name-en-1" title="The name of the day of the week, from a date, in English">day-of-week-name-en</a> | ||
605 | 562 | </span> | ||
606 | 563 | <span class="functName"></span> ( | ||
607 | 564 | <span class="funcParam"> $date</span> as xs:anyAtomicType? | ||
608 | 565 | ) as xs:string?<br /> | ||
609 | 566 | <span class="padding"></span> | ||
610 | 567 | </tt> | ||
611 | 568 | </td> | ||
612 | 569 | </tr> | ||
613 | 570 | <tr> | ||
614 | 571 | <td class="type"> | ||
615 | 572 | <span class="no_underline"></span> | ||
616 | 573 | </td> | ||
617 | 574 | <td> | ||
618 | 575 | <tt> | ||
619 | 576 | <span class="functName"> | ||
620 | 577 | <a href="#dayTimeDuration-4" title="Construct a dayTimeDuration from a number of days, hours, etc.">dayTimeDuration</a> | ||
621 | 578 | </span> | ||
622 | 579 | <span class="functName"></span> ( | ||
623 | 580 | <span class="funcParam"> $days</span> as xs:decimal?, | ||
624 | 581 | <span class="funcParam"> $hours</span> as xs:decimal?, | ||
625 | 582 | <span class="funcParam"> $minutes</span> as xs:decimal?, | ||
626 | 583 | <span class="funcParam"> $seconds</span> as xs:decimal? | ||
627 | 584 | ) as xs:dayTimeDuration<br /> | ||
628 | 585 | <span class="padding"> Construct a dayTimeDuration from a number of days, hours, etc.</span> | ||
629 | 586 | </tt> | ||
630 | 587 | </td> | ||
631 | 588 | </tr> | ||
632 | 589 | <tr> | ||
633 | 590 | <td class="type"> | ||
634 | 591 | <span class="no_underline"></span> | ||
635 | 592 | </td> | ||
636 | 593 | <td> | ||
637 | 594 | <tt> | ||
638 | 595 | <span class="functName"> | ||
639 | 596 | <a href="#days-in-month-1" title="Number of days in the month">days-in-month</a> | ||
640 | 597 | </span> | ||
641 | 598 | <span class="functName"></span> ( | ||
642 | 599 | <span class="funcParam"> $date</span> as xs:anyAtomicType? | ||
643 | 600 | ) as xs:integer?<br /> | ||
644 | 601 | <span class="padding"></span> | ||
645 | 602 | </tt> | ||
646 | 603 | </td> | ||
647 | 604 | </tr> | ||
648 | 605 | <tr> | ||
649 | 606 | <td class="type"> | ||
650 | 607 | <span class="no_underline"></span> | ||
651 | 608 | </td> | ||
652 | 609 | <td> | ||
653 | 610 | <tt> | ||
654 | 611 | <span class="functName"> | ||
655 | 612 | <a href="#depth-of-node-1" title="The depth (level) of a node in an XML tree">depth-of-node</a> | ||
656 | 613 | </span> | ||
657 | 614 | <span class="functName"></span> ( | ||
658 | 615 | <span class="funcParam"> $node</span> as node()? | ||
659 | 616 | ) as xs:integer<br /> | ||
660 | 617 | <span class="padding"></span> | ||
661 | 618 | </tt> | ||
662 | 619 | </td> | ||
663 | 620 | </tr> | ||
664 | 621 | <tr> | ||
665 | 622 | <td class="type"> | ||
666 | 623 | <span class="no_underline"></span> | ||
667 | 624 | </td> | ||
668 | 625 | <td> | ||
669 | 626 | <tt> | ||
670 | 627 | <span class="functName"> | ||
671 | 628 | <a href="#distinct-attribute-names-1" title="The distinct names of all attributes in an XML fragment">distinct-attribute-names</a> | ||
672 | 629 | </span> | ||
673 | 630 | <span class="functName"></span> ( | ||
674 | 631 | <span class="funcParam"> $nodes</span> as node()* | ||
675 | 632 | ) as xs:string*<br /> | ||
676 | 633 | <span class="padding"></span> | ||
677 | 634 | </tt> | ||
678 | 635 | </td> | ||
679 | 636 | </tr> | ||
680 | 637 | <tr> | ||
681 | 638 | <td class="type"> | ||
682 | 639 | <span class="no_underline"></span> | ||
683 | 640 | </td> | ||
684 | 641 | <td> | ||
685 | 642 | <tt> | ||
686 | 643 | <span class="functName"> | ||
687 | 644 | <a href="#distinct-deep-1" title="The XML nodes with distinct values, taking into account attributes and descendants">distinct-deep</a> | ||
688 | 645 | </span> | ||
689 | 646 | <span class="functName"></span> ( | ||
690 | 647 | <span class="funcParam"> $nodes</span> as node()* | ||
691 | 648 | ) as node()*<br /> | ||
692 | 649 | <span class="padding"></span> | ||
693 | 650 | </tt> | ||
694 | 651 | </td> | ||
695 | 652 | </tr> | ||
696 | 653 | <tr> | ||
697 | 654 | <td class="type"> | ||
698 | 655 | <span class="no_underline"></span> | ||
699 | 656 | </td> | ||
700 | 657 | <td> | ||
701 | 658 | <tt> | ||
702 | 659 | <span class="functName"> | ||
703 | 660 | <a href="#distinct-element-names-1" title="The distinct names of all elements in an XML fragment">distinct-element-names</a> | ||
704 | 661 | </span> | ||
705 | 662 | <span class="functName"></span> ( | ||
706 | 663 | <span class="funcParam"> $nodes</span> as node()* | ||
707 | 664 | ) as xs:string*<br /> | ||
708 | 665 | <span class="padding"></span> | ||
709 | 666 | </tt> | ||
710 | 667 | </td> | ||
711 | 668 | </tr> | ||
712 | 669 | <tr> | ||
713 | 670 | <td class="type"> | ||
714 | 671 | <span class="no_underline"></span> | ||
715 | 672 | </td> | ||
716 | 673 | <td> | ||
717 | 674 | <tt> | ||
718 | 675 | <span class="functName"> | ||
719 | 676 | <a href="#distinct-element-paths-1" title="The distinct paths of all descendant elements in an XML fragment">distinct-element-paths</a> | ||
720 | 677 | </span> | ||
721 | 678 | <span class="functName"></span> ( | ||
722 | 679 | <span class="funcParam"> $nodes</span> as node()* | ||
723 | 680 | ) as xs:string*<br /> | ||
724 | 681 | <span class="padding"></span> | ||
725 | 682 | </tt> | ||
726 | 683 | </td> | ||
727 | 684 | </tr> | ||
728 | 685 | <tr> | ||
729 | 686 | <td class="type"> | ||
730 | 687 | <span class="no_underline"></span> | ||
731 | 688 | </td> | ||
732 | 689 | <td> | ||
733 | 690 | <tt> | ||
734 | 691 | <span class="functName"> | ||
735 | 692 | <a href="#distinct-nodes-1" title="The distinct XML nodes in a sequence (by node identity)">distinct-nodes</a> | ||
736 | 693 | </span> | ||
737 | 694 | <span class="functName"></span> ( | ||
738 | 695 | <span class="funcParam"> $nodes</span> as node()* | ||
739 | 696 | ) as node()*<br /> | ||
740 | 697 | <span class="padding"></span> | ||
741 | 698 | </tt> | ||
742 | 699 | </td> | ||
743 | 700 | </tr> | ||
744 | 701 | <tr> | ||
745 | 702 | <td class="type"> | ||
746 | 703 | <span class="no_underline"></span> | ||
747 | 704 | </td> | ||
748 | 705 | <td> | ||
749 | 706 | <tt> | ||
750 | 707 | <span class="functName"> | ||
751 | 708 | <a href="#duration-from-timezone-1" title="Converts a timezone like "-05:00" or "Z" into xs:dayTimeDuration">duration-from-timezone</a> | ||
752 | 709 | </span> | ||
753 | 710 | <span class="functName"></span> ( | ||
754 | 711 | <span class="funcParam"> $timezone</span> as xs:string | ||
755 | 712 | ) as xs:dayTimeDuration<br /> | ||
756 | 713 | <span class="padding"></span> | ||
757 | 714 | </tt> | ||
758 | 715 | </td> | ||
759 | 716 | </tr> | ||
760 | 717 | <tr> | ||
761 | 718 | <td class="type"> | ||
762 | 719 | <span class="no_underline"></span> | ||
763 | 720 | </td> | ||
764 | 721 | <td> | ||
765 | 722 | <tt> | ||
766 | 723 | <span class="functName"> | ||
767 | 724 | <a href="#dynamic-path-2" title="Dynamically evaluates a simple XPath path">dynamic-path</a> | ||
768 | 725 | </span> | ||
769 | 726 | <span class="functName"></span> ( | ||
770 | 727 | <span class="funcParam"> $parent</span> as node(), | ||
771 | 728 | <span class="funcParam"> $path</span> as xs:string | ||
772 | 729 | ) as item()*<br /> | ||
773 | 730 | <span class="padding"></span> | ||
774 | 731 | </tt> | ||
775 | 732 | </td> | ||
776 | 733 | </tr> | ||
777 | 734 | <tr> | ||
778 | 735 | <td class="type"> | ||
779 | 736 | <span class="no_underline"></span> | ||
780 | 737 | </td> | ||
781 | 738 | <td> | ||
782 | 739 | <tt> | ||
783 | 740 | <span class="functName"> | ||
784 | 741 | <a href="#escape-for-regex-1" title="Escapes regex special characters">escape-for-regex</a> | ||
785 | 742 | </span> | ||
786 | 743 | <span class="functName"></span> ( | ||
787 | 744 | <span class="funcParam"> $arg</span> as xs:string? | ||
788 | 745 | ) as xs:string<br /> | ||
789 | 746 | <span class="padding"></span> | ||
790 | 747 | </tt> | ||
791 | 748 | </td> | ||
792 | 749 | </tr> | ||
793 | 750 | <tr> | ||
794 | 751 | <td class="type"> | ||
795 | 752 | <span class="no_underline"></span> | ||
796 | 753 | </td> | ||
797 | 754 | <td> | ||
798 | 755 | <tt> | ||
799 | 756 | <span class="functName"> | ||
800 | 757 | <a href="#exclusive-or-2" title="Whether one (and only one) of two boolean values is true">exclusive-or</a> | ||
801 | 758 | </span> | ||
802 | 759 | <span class="functName"></span> ( | ||
803 | 760 | <span class="funcParam"> $arg1</span> as xs:boolean?, | ||
804 | 761 | <span class="funcParam"> $arg2</span> as xs:boolean? | ||
805 | 762 | ) as xs:boolean?<br /> | ||
806 | 763 | <span class="padding"></span> | ||
807 | 764 | </tt> | ||
808 | 765 | </td> | ||
809 | 766 | </tr> | ||
810 | 767 | <tr> | ||
811 | 768 | <td class="type"> | ||
812 | 769 | <span class="no_underline"></span> | ||
813 | 770 | </td> | ||
814 | 771 | <td> | ||
815 | 772 | <tt> | ||
816 | 773 | <span class="functName"> | ||
817 | 774 | <a href="#first-day-of-month-1" title="The first day of the month of a date">first-day-of-month</a> | ||
818 | 775 | </span> | ||
819 | 776 | <span class="functName"></span> ( | ||
820 | 777 | <span class="funcParam"> $date</span> as xs:anyAtomicType? | ||
821 | 778 | ) as xs:date?<br /> | ||
822 | 779 | <span class="padding"></span> | ||
823 | 780 | </tt> | ||
824 | 781 | </td> | ||
825 | 782 | </tr> | ||
826 | 783 | <tr> | ||
827 | 784 | <td class="type"> | ||
828 | 785 | <span class="no_underline"></span> | ||
829 | 786 | </td> | ||
830 | 787 | <td> | ||
831 | 788 | <tt> | ||
832 | 789 | <span class="functName"> | ||
833 | 790 | <a href="#first-day-of-year-1" title="The first day of the year of a date">first-day-of-year</a> | ||
834 | 791 | </span> | ||
835 | 792 | <span class="functName"></span> ( | ||
836 | 793 | <span class="funcParam"> $date</span> as xs:anyAtomicType? | ||
837 | 794 | ) as xs:date?<br /> | ||
838 | 795 | <span class="padding"></span> | ||
839 | 796 | </tt> | ||
840 | 797 | </td> | ||
841 | 798 | </tr> | ||
842 | 799 | <tr> | ||
843 | 800 | <td class="type"> | ||
844 | 801 | <span class="no_underline"></span> | ||
845 | 802 | </td> | ||
846 | 803 | <td> | ||
847 | 804 | <tt> | ||
848 | 805 | <span class="functName"> | ||
849 | 806 | <a href="#first-node-1" title="The XML node in a sequence that appears first in document order">first-node</a> | ||
850 | 807 | </span> | ||
851 | 808 | <span class="functName"></span> ( | ||
852 | 809 | <span class="funcParam"> $nodes</span> as node()* | ||
853 | 810 | ) as node()?<br /> | ||
854 | 811 | <span class="padding"></span> | ||
855 | 812 | </tt> | ||
856 | 813 | </td> | ||
857 | 814 | </tr> | ||
858 | 815 | <tr> | ||
859 | 816 | <td class="type"> | ||
860 | 817 | <span class="no_underline"></span> | ||
861 | 818 | </td> | ||
862 | 819 | <td> | ||
863 | 820 | <tt> | ||
864 | 821 | <span class="functName"> | ||
865 | 822 | <a href="#follows-not-descendant-2" title="Whether an XML node follows another without being its descendant">follows-not-descendant</a> | ||
866 | 823 | </span> | ||
867 | 824 | <span class="functName"></span> ( | ||
868 | 825 | <span class="funcParam"> $a</span> as node()?, | ||
869 | 826 | <span class="funcParam"> $b</span> as node()? | ||
870 | 827 | ) as xs:boolean<br /> | ||
871 | 828 | <span class="padding"></span> | ||
872 | 829 | </tt> | ||
873 | 830 | </td> | ||
874 | 831 | </tr> | ||
875 | 832 | <tr> | ||
876 | 833 | <td class="type"> | ||
877 | 834 | <span class="no_underline"></span> | ||
878 | 835 | </td> | ||
879 | 836 | <td> | ||
880 | 837 | <tt> | ||
881 | 838 | <span class="functName"> | ||
882 | 839 | <a href="#format-as-title-en-1" title="Moves title words like "the" and "a" to the end of strings">format-as-title-en</a> | ||
883 | 840 | </span> | ||
884 | 841 | <span class="functName"></span> ( | ||
885 | 842 | <span class="funcParam"> $titles</span> as xs:string* | ||
886 | 843 | ) as xs:string*<br /> | ||
887 | 844 | <span class="padding"></span> | ||
888 | 845 | </tt> | ||
889 | 846 | </td> | ||
890 | 847 | </tr> | ||
891 | 848 | <tr> | ||
892 | 849 | <td class="type"> | ||
893 | 850 | <span class="no_underline"></span> | ||
894 | 851 | </td> | ||
895 | 852 | <td> | ||
896 | 853 | <tt> | ||
897 | 854 | <span class="functName"> | ||
898 | 855 | <a href="#fragment-from-uri-1" title="Returns the fragment from a URI">fragment-from-uri</a> | ||
899 | 856 | </span> | ||
900 | 857 | <span class="functName"></span> ( | ||
901 | 858 | <span class="funcParam"> $uri</span> as xs:string? | ||
902 | 859 | ) as xs:string?<br /> | ||
903 | 860 | <span class="padding"></span> | ||
904 | 861 | </tt> | ||
905 | 862 | </td> | ||
906 | 863 | </tr> | ||
907 | 864 | <tr> | ||
908 | 865 | <td class="type"> | ||
909 | 866 | <span class="no_underline"></span> | ||
910 | 867 | </td> | ||
911 | 868 | <td> | ||
912 | 869 | <tt> | ||
913 | 870 | <span class="functName"> | ||
914 | 871 | <a href="#get-matches-2" title="Return the matching regions of a string">get-matches</a> | ||
915 | 872 | </span> | ||
916 | 873 | <span class="functName"></span> ( | ||
917 | 874 | <span class="funcParam"> $string</span> as xs:string?, | ||
918 | 875 | <span class="funcParam"> $regex</span> as xs:string | ||
919 | 876 | ) as xs:string*<br /> | ||
920 | 877 | <span class="padding"></span> | ||
921 | 878 | </tt> | ||
922 | 879 | </td> | ||
923 | 880 | </tr> | ||
924 | 881 | <tr> | ||
925 | 882 | <td class="type"> | ||
926 | 883 | <span class="no_underline"></span> | ||
927 | 884 | </td> | ||
928 | 885 | <td> | ||
929 | 886 | <tt> | ||
930 | 887 | <span class="functName"> | ||
931 | 888 | <a href="#get-matches-and-non-matches-2" title="Splits a string into matching and non-matching regions">get-matches-and-non-matches</a> | ||
932 | 889 | </span> | ||
933 | 890 | <span class="functName"></span> ( | ||
934 | 891 | <span class="funcParam"> $string</span> as xs:string?, | ||
935 | 892 | <span class="funcParam"> $regex</span> as xs:string | ||
936 | 893 | ) as element(*)*<br /> | ||
937 | 894 | <span class="padding"></span> | ||
938 | 895 | </tt> | ||
939 | 896 | </td> | ||
940 | 897 | </tr> | ||
941 | 898 | <tr> | ||
942 | 899 | <td class="type"> | ||
943 | 900 | <span class="no_underline"></span> | ||
944 | 901 | </td> | ||
945 | 902 | <td> | ||
946 | 903 | <tt> | ||
947 | 904 | <span class="functName"> | ||
948 | 905 | <a href="#has-element-only-content-1" title="Whether an element has element-only content">has-element-only-content</a> | ||
949 | 906 | </span> | ||
950 | 907 | <span class="functName"></span> ( | ||
951 | 908 | <span class="funcParam"> $element</span> as element(*) | ||
952 | 909 | ) as xs:boolean<br /> | ||
953 | 910 | <span class="padding"></span> | ||
954 | 911 | </tt> | ||
955 | 912 | </td> | ||
956 | 913 | </tr> | ||
957 | 914 | <tr> | ||
958 | 915 | <td class="type"> | ||
959 | 916 | <span class="no_underline"></span> | ||
960 | 917 | </td> | ||
961 | 918 | <td> | ||
962 | 919 | <tt> | ||
963 | 920 | <span class="functName"> | ||
964 | 921 | <a href="#has-empty-content-1" title="Whether an element has empty content">has-empty-content</a> | ||
965 | 922 | </span> | ||
966 | 923 | <span class="functName"></span> ( | ||
967 | 924 | <span class="funcParam"> $element</span> as element(*) | ||
968 | 925 | ) as xs:boolean<br /> | ||
969 | 926 | <span class="padding"></span> | ||
970 | 927 | </tt> | ||
971 | 928 | </td> | ||
972 | 929 | </tr> | ||
973 | 930 | <tr> | ||
974 | 931 | <td class="type"> | ||
975 | 932 | <span class="no_underline"></span> | ||
976 | 933 | </td> | ||
977 | 934 | <td> | ||
978 | 935 | <tt> | ||
979 | 936 | <span class="functName"> | ||
980 | 937 | <a href="#has-mixed-content-1" title="Whether an element has mixed content">has-mixed-content</a> | ||
981 | 938 | </span> | ||
982 | 939 | <span class="functName"></span> ( | ||
983 | 940 | <span class="funcParam"> $element</span> as element(*) | ||
984 | 941 | ) as xs:boolean<br /> | ||
985 | 942 | <span class="padding"></span> | ||
986 | 943 | </tt> | ||
987 | 944 | </td> | ||
988 | 945 | </tr> | ||
989 | 946 | <tr> | ||
990 | 947 | <td class="type"> | ||
991 | 948 | <span class="no_underline"></span> | ||
992 | 949 | </td> | ||
993 | 950 | <td> | ||
994 | 951 | <tt> | ||
995 | 952 | <span class="functName"> | ||
996 | 953 | <a href="#has-simple-content-1" title="Whether an element has simple content">has-simple-content</a> | ||
997 | 954 | </span> | ||
998 | 955 | <span class="functName"></span> ( | ||
999 | 956 | <span class="funcParam"> $element</span> as element(*) | ||
1000 | 957 | ) as xs:boolean<br /> | ||
1001 | 958 | <span class="padding"></span> | ||
1002 | 959 | </tt> | ||
1003 | 960 | </td> | ||
1004 | 961 | </tr> | ||
1005 | 962 | <tr> | ||
1006 | 963 | <td class="type"> | ||
1007 | 964 | <span class="no_underline"></span> | ||
1008 | 965 | </td> | ||
1009 | 966 | <td> | ||
1010 | 967 | <tt> | ||
1011 | 968 | <span class="functName"> | ||
1012 | 969 | <a href="#id-from-element-1" title="Gets the ID of an XML element">id-from-element</a> | ||
1013 | 970 | </span> | ||
1014 | 971 | <span class="functName"></span> ( | ||
1015 | 972 | <span class="funcParam"> $element</span> as element(*)? | ||
1016 | 973 | ) as xs:string?<br /> | ||
1017 | 974 | <span class="padding"></span> | ||
1018 | 975 | </tt> | ||
1019 | 976 | </td> | ||
1020 | 977 | </tr> | ||
1021 | 978 | <tr> | ||
1022 | 979 | <td class="type"> | ||
1023 | 980 | <span class="no_underline"></span> | ||
1024 | 981 | </td> | ||
1025 | 982 | <td> | ||
1026 | 983 | <tt> | ||
1027 | 984 | <span class="functName"> | ||
1028 | 985 | <a href="#id-untyped-2" title="Gets XML element(s) that have an attribute with a particular value">id-untyped</a> | ||
1029 | 986 | </span> | ||
1030 | 987 | <span class="functName"></span> ( | ||
1031 | 988 | <span class="funcParam"> $node</span> as node()*, | ||
1032 | 989 | <span class="funcParam"> $id</span> as xs:anyAtomicType | ||
1033 | 990 | ) as element(*)*<br /> | ||
1034 | 991 | <span class="padding"></span> | ||
1035 | 992 | </tt> | ||
1036 | 993 | </td> | ||
1037 | 994 | </tr> | ||
1038 | 995 | <tr> | ||
1039 | 996 | <td class="type"> | ||
1040 | 997 | <span class="no_underline"></span> | ||
1041 | 998 | </td> | ||
1042 | 999 | <td> | ||
1043 | 1000 | <tt> | ||
1044 | 1001 | <span class="functName"> | ||
1045 | 1002 | <a href="#if-absent-2" title="The first argument if it is not empty, otherwise the second argument">if-absent</a> | ||
1046 | 1003 | </span> | ||
1047 | 1004 | <span class="functName"></span> ( | ||
1048 | 1005 | <span class="funcParam"> $arg</span> as item()*, | ||
1049 | 1006 | <span class="funcParam"> $value</span> as item()* | ||
1050 | 1007 | ) as item()*<br /> | ||
1051 | 1008 | <span class="padding"></span> | ||
1052 | 1009 | </tt> | ||
1053 | 1010 | </td> | ||
1054 | 1011 | </tr> | ||
1055 | 1012 | <tr> | ||
1056 | 1013 | <td class="type"> | ||
1057 | 1014 | <span class="no_underline"></span> | ||
1058 | 1015 | </td> | ||
1059 | 1016 | <td> | ||
1060 | 1017 | <tt> | ||
1061 | 1018 | <span class="functName"> | ||
1062 | 1019 | <a href="#if-empty-2" title="The first argument if it is not blank, otherwise the second argument">if-empty</a> | ||
1063 | 1020 | </span> | ||
1064 | 1021 | <span class="functName"></span> ( | ||
1065 | 1022 | <span class="funcParam"> $arg</span> as item()?, | ||
1066 | 1023 | <span class="funcParam"> $value</span> as item()* | ||
1067 | 1024 | ) as item()*<br /> | ||
1068 | 1025 | <span class="padding"></span> | ||
1069 | 1026 | </tt> | ||
1070 | 1027 | </td> | ||
1071 | 1028 | </tr> | ||
1072 | 1029 | <tr> | ||
1073 | 1030 | <td class="type"> | ||
1074 | 1031 | <span class="no_underline"></span> | ||
1075 | 1032 | </td> | ||
1076 | 1033 | <td> | ||
1077 | 1034 | <tt> | ||
1078 | 1035 | <span class="functName"> | ||
1079 | 1036 | <a href="#index-of-deep-equal-node-2" title="The position of a node in a sequence, based on contents and attributes">index-of-deep-equal-node</a> | ||
1080 | 1037 | </span> | ||
1081 | 1038 | <span class="functName"></span> ( | ||
1082 | 1039 | <span class="funcParam"> $nodes</span> as node()*, | ||
1083 | 1040 | <span class="funcParam"> $nodeToFind</span> as node() | ||
1084 | 1041 | ) as xs:integer*<br /> | ||
1085 | 1042 | <span class="padding"></span> | ||
1086 | 1043 | </tt> | ||
1087 | 1044 | </td> | ||
1088 | 1045 | </tr> | ||
1089 | 1046 | <tr> | ||
1090 | 1047 | <td class="type"> | ||
1091 | 1048 | <span class="no_underline"></span> | ||
1092 | 1049 | </td> | ||
1093 | 1050 | <td> | ||
1094 | 1051 | <tt> | ||
1095 | 1052 | <span class="functName"> | ||
1096 | 1053 | <a href="#index-of-match-first-2" title="The first position of a matching substring">index-of-match-first</a> | ||
1097 | 1054 | </span> | ||
1098 | 1055 | <span class="functName"></span> ( | ||
1099 | 1056 | <span class="funcParam"> $arg</span> as xs:string?, | ||
1100 | 1057 | <span class="funcParam"> $pattern</span> as xs:string | ||
1101 | 1058 | ) as xs:integer?<br /> | ||
1102 | 1059 | <span class="padding"></span> | ||
1103 | 1060 | </tt> | ||
1104 | 1061 | </td> | ||
1105 | 1062 | </tr> | ||
1106 | 1063 | <tr> | ||
1107 | 1064 | <td class="type"> | ||
1108 | 1065 | <span class="no_underline"></span> | ||
1109 | 1066 | </td> | ||
1110 | 1067 | <td> | ||
1111 | 1068 | <tt> | ||
1112 | 1069 | <span class="functName"> | ||
1113 | 1070 | <a href="#index-of-node-2" title="The position of a node in a sequence, based on node identity">index-of-node</a> | ||
1114 | 1071 | </span> | ||
1115 | 1072 | <span class="functName"></span> ( | ||
1116 | 1073 | <span class="funcParam"> $nodes</span> as node()*, | ||
1117 | 1074 | <span class="funcParam"> $nodeToFind</span> as node() | ||
1118 | 1075 | ) as xs:integer*<br /> | ||
1119 | 1076 | <span class="padding"></span> | ||
1120 | 1077 | </tt> | ||
1121 | 1078 | </td> | ||
1122 | 1079 | </tr> | ||
1123 | 1080 | <tr> | ||
1124 | 1081 | <td class="type"> | ||
1125 | 1082 | <span class="no_underline"></span> | ||
1126 | 1083 | </td> | ||
1127 | 1084 | <td> | ||
1128 | 1085 | <tt> | ||
1129 | 1086 | <span class="functName"> | ||
1130 | 1087 | <a href="#index-of-string-2" title="The position(s) of a substring">index-of-string</a> | ||
1131 | 1088 | </span> | ||
1132 | 1089 | <span class="functName"></span> ( | ||
1133 | 1090 | <span class="funcParam"> $arg</span> as xs:string?, | ||
1134 | 1091 | <span class="funcParam"> $substring</span> as xs:string | ||
1135 | 1092 | ) as xs:integer*<br /> | ||
1136 | 1093 | <span class="padding"></span> | ||
1137 | 1094 | </tt> | ||
1138 | 1095 | </td> | ||
1139 | 1096 | </tr> | ||
1140 | 1097 | <tr> | ||
1141 | 1098 | <td class="type"> | ||
1142 | 1099 | <span class="no_underline"></span> | ||
1143 | 1100 | </td> | ||
1144 | 1101 | <td> | ||
1145 | 1102 | <tt> | ||
1146 | 1103 | <span class="functName"> | ||
1147 | 1104 | <a href="#index-of-string-first-2" title="The first position of a substring">index-of-string-first</a> | ||
1148 | 1105 | </span> | ||
1149 | 1106 | <span class="functName"></span> ( | ||
1150 | 1107 | <span class="funcParam"> $arg</span> as xs:string?, | ||
1151 | 1108 | <span class="funcParam"> $substring</span> as xs:string | ||
1152 | 1109 | ) as xs:integer?<br /> | ||
1153 | 1110 | <span class="padding"></span> | ||
1154 | 1111 | </tt> | ||
1155 | 1112 | </td> | ||
1156 | 1113 | </tr> | ||
1157 | 1114 | <tr> | ||
1158 | 1115 | <td class="type"> | ||
1159 | 1116 | <span class="no_underline"></span> | ||
1160 | 1117 | </td> | ||
1161 | 1118 | <td> | ||
1162 | 1119 | <tt> | ||
1163 | 1120 | <span class="functName"> | ||
1164 | 1121 | <a href="#index-of-string-last-2" title="The last position of a substring">index-of-string-last</a> | ||
1165 | 1122 | </span> | ||
1166 | 1123 | <span class="functName"></span> ( | ||
1167 | 1124 | <span class="funcParam"> $arg</span> as xs:string?, | ||
1168 | 1125 | <span class="funcParam"> $substring</span> as xs:string | ||
1169 | 1126 | ) as xs:integer?<br /> | ||
1170 | 1127 | <span class="padding"></span> | ||
1171 | 1128 | </tt> | ||
1172 | 1129 | </td> | ||
1173 | 1130 | </tr> | ||
1174 | 1131 | <tr> | ||
1175 | 1132 | <td class="type"> | ||
1176 | 1133 | <span class="no_underline"></span> | ||
1177 | 1134 | </td> | ||
1178 | 1135 | <td> | ||
1179 | 1136 | <tt> | ||
1180 | 1137 | <span class="functName"> | ||
1181 | 1138 | <a href="#insert-string-3" title="Inserts a string at a specified position">insert-string</a> | ||
1182 | 1139 | </span> | ||
1183 | 1140 | <span class="functName"></span> ( | ||
1184 | 1141 | <span class="funcParam"> $originalString</span> as xs:string?, | ||
1185 | 1142 | <span class="funcParam"> $stringToInsert</span> as xs:string?, | ||
1186 | 1143 | <span class="funcParam"> $pos</span> as xs:integer | ||
1187 | 1144 | ) as xs:string<br /> | ||
1188 | 1145 | <span class="padding"></span> | ||
1189 | 1146 | </tt> | ||
1190 | 1147 | </td> | ||
1191 | 1148 | </tr> | ||
1192 | 1149 | <tr> | ||
1193 | 1150 | <td class="type"> | ||
1194 | 1151 | <span class="no_underline"></span> | ||
1195 | 1152 | </td> | ||
1196 | 1153 | <td> | ||
1197 | 1154 | <tt> | ||
1198 | 1155 | <span class="functName"> | ||
1199 | 1156 | <a href="#is-a-number-1" title="Whether a value is numeric">is-a-number</a> | ||
1200 | 1157 | </span> | ||
1201 | 1158 | <span class="functName"></span> ( | ||
1202 | 1159 | <span class="funcParam"> $value</span> as xs:anyAtomicType? | ||
1203 | 1160 | ) as xs:boolean<br /> | ||
1204 | 1161 | <span class="padding"></span> | ||
1205 | 1162 | </tt> | ||
1206 | 1163 | </td> | ||
1207 | 1164 | </tr> | ||
1208 | 1165 | <tr> | ||
1209 | 1166 | <td class="type"> | ||
1210 | 1167 | <span class="no_underline"></span> | ||
1211 | 1168 | </td> | ||
1212 | 1169 | <td> | ||
1213 | 1170 | <tt> | ||
1214 | 1171 | <span class="functName"> | ||
1215 | 1172 | <a href="#is-absolute-uri-1" title="Whether a URI is absolute">is-absolute-uri</a> | ||
1216 | 1173 | </span> | ||
1217 | 1174 | <span class="functName"></span> ( | ||
1218 | 1175 | <span class="funcParam"> $uri</span> as xs:string? | ||
1219 | 1176 | ) as xs:boolean<br /> | ||
1220 | 1177 | <span class="padding"></span> | ||
1221 | 1178 | </tt> | ||
1222 | 1179 | </td> | ||
1223 | 1180 | </tr> | ||
1224 | 1181 | <tr> | ||
1225 | 1182 | <td class="type"> | ||
1226 | 1183 | <span class="no_underline"></span> | ||
1227 | 1184 | </td> | ||
1228 | 1185 | <td> | ||
1229 | 1186 | <tt> | ||
1230 | 1187 | <span class="functName"> | ||
1231 | 1188 | <a href="#is-ancestor-2" title="Whether an XML node is an ancestor of another node">is-ancestor</a> | ||
1232 | 1189 | </span> | ||
1233 | 1190 | <span class="functName"></span> ( | ||
1234 | 1191 | <span class="funcParam"> $node1</span> as node(), | ||
1235 | 1192 | <span class="funcParam"> $node2</span> as node() | ||
1236 | 1193 | ) as xs:boolean<br /> | ||
1237 | 1194 | <span class="padding"></span> | ||
1238 | 1195 | </tt> | ||
1239 | 1196 | </td> | ||
1240 | 1197 | </tr> | ||
1241 | 1198 | <tr> | ||
1242 | 1199 | <td class="type"> | ||
1243 | 1200 | <span class="no_underline"></span> | ||
1244 | 1201 | </td> | ||
1245 | 1202 | <td> | ||
1246 | 1203 | <tt> | ||
1247 | 1204 | <span class="functName"> | ||
1248 | 1205 | <a href="#is-descendant-2" title="Whether an XML node is a descendant of another node">is-descendant</a> | ||
1249 | 1206 | </span> | ||
1250 | 1207 | <span class="functName"></span> ( | ||
1251 | 1208 | <span class="funcParam"> $node1</span> as node(), | ||
1252 | 1209 | <span class="funcParam"> $node2</span> as node() | ||
1253 | 1210 | ) as xs:boolean<br /> | ||
1254 | 1211 | <span class="padding"></span> | ||
1255 | 1212 | </tt> | ||
1256 | 1213 | </td> | ||
1257 | 1214 | </tr> | ||
1258 | 1215 | <tr> | ||
1259 | 1216 | <td class="type"> | ||
1260 | 1217 | <span class="no_underline"></span> | ||
1261 | 1218 | </td> | ||
1262 | 1219 | <td> | ||
1263 | 1220 | <tt> | ||
1264 | 1221 | <span class="functName"> | ||
1265 | 1222 | <a href="#is-leap-year-1" title="Whether a date falls in a leap year">is-leap-year</a> | ||
1266 | 1223 | </span> | ||
1267 | 1224 | <span class="functName"></span> ( | ||
1268 | 1225 | <span class="funcParam"> $date</span> as xs:anyAtomicType? | ||
1269 | 1226 | ) as xs:boolean<br /> | ||
1270 | 1227 | <span class="padding"></span> | ||
1271 | 1228 | </tt> | ||
1272 | 1229 | </td> | ||
1273 | 1230 | </tr> | ||
1274 | 1231 | <tr> | ||
1275 | 1232 | <td class="type"> | ||
1276 | 1233 | <span class="no_underline"></span> | ||
1277 | 1234 | </td> | ||
1278 | 1235 | <td> | ||
1279 | 1236 | <tt> | ||
1280 | 1237 | <span class="functName"> | ||
1281 | 1238 | <a href="#is-node-among-descendants-2" title="Whether an XML node is among the descendants of a sequence, based on node identity">is-node-among-descendants</a> | ||
1282 | 1239 | </span> | ||
1283 | 1240 | <span class="functName"></span> ( | ||
1284 | 1241 | <span class="funcParam"> $node</span> as node()?, | ||
1285 | 1242 | <span class="funcParam"> $seq</span> as node()* | ||
1286 | 1243 | ) as xs:boolean<br /> | ||
1287 | 1244 | <span class="padding"></span> | ||
1288 | 1245 | </tt> | ||
1289 | 1246 | </td> | ||
1290 | 1247 | </tr> | ||
1291 | 1248 | <tr> | ||
1292 | 1249 | <td class="type"> | ||
1293 | 1250 | <span class="no_underline"></span> | ||
1294 | 1251 | </td> | ||
1295 | 1252 | <td> | ||
1296 | 1253 | <tt> | ||
1297 | 1254 | <span class="functName"> | ||
1298 | 1255 | <a href="#is-node-among-descendants-deep-equal-2" title="Whether an XML node is among the descendants of a sequence, based on contents and attributes">is-node-among-descendants-deep-equal</a> | ||
1299 | 1256 | </span> | ||
1300 | 1257 | <span class="functName"></span> ( | ||
1301 | 1258 | <span class="funcParam"> $node</span> as node()?, | ||
1302 | 1259 | <span class="funcParam"> $seq</span> as node()* | ||
1303 | 1260 | ) as xs:boolean<br /> | ||
1304 | 1261 | <span class="padding"></span> | ||
1305 | 1262 | </tt> | ||
1306 | 1263 | </td> | ||
1307 | 1264 | </tr> | ||
1308 | 1265 | <tr> | ||
1309 | 1266 | <td class="type"> | ||
1310 | 1267 | <span class="no_underline"></span> | ||
1311 | 1268 | </td> | ||
1312 | 1269 | <td> | ||
1313 | 1270 | <tt> | ||
1314 | 1271 | <span class="functName"> | ||
1315 | 1272 | <a href="#is-node-in-sequence-2" title="Whether an XML node is in a sequence, based on node identity">is-node-in-sequence</a> | ||
1316 | 1273 | </span> | ||
1317 | 1274 | <span class="functName"></span> ( | ||
1318 | 1275 | <span class="funcParam"> $node</span> as node()?, | ||
1319 | 1276 | <span class="funcParam"> $seq</span> as node()* | ||
1320 | 1277 | ) as xs:boolean<br /> | ||
1321 | 1278 | <span class="padding"></span> | ||
1322 | 1279 | </tt> | ||
1323 | 1280 | </td> | ||
1324 | 1281 | </tr> | ||
1325 | 1282 | <tr> | ||
1326 | 1283 | <td class="type"> | ||
1327 | 1284 | <span class="no_underline"></span> | ||
1328 | 1285 | </td> | ||
1329 | 1286 | <td> | ||
1330 | 1287 | <tt> | ||
1331 | 1288 | <span class="functName"> | ||
1332 | 1289 | <a href="#is-node-in-sequence-deep-equal-2" title="Whether an XML node is in a sequence, based on contents and attributes">is-node-in-sequence-deep-equal</a> | ||
1333 | 1290 | </span> | ||
1334 | 1291 | <span class="functName"></span> ( | ||
1335 | 1292 | <span class="funcParam"> $node</span> as node()?, | ||
1336 | 1293 | <span class="funcParam"> $seq</span> as node()* | ||
1337 | 1294 | ) as xs:boolean<br /> | ||
1338 | 1295 | <span class="padding"></span> | ||
1339 | 1296 | </tt> | ||
1340 | 1297 | </td> | ||
1341 | 1298 | </tr> | ||
1342 | 1299 | <tr> | ||
1343 | 1300 | <td class="type"> | ||
1344 | 1301 | <span class="no_underline"></span> | ||
1345 | 1302 | </td> | ||
1346 | 1303 | <td> | ||
1347 | 1304 | <tt> | ||
1348 | 1305 | <span class="functName"> | ||
1349 | 1306 | <a href="#is-value-in-sequence-2" title="Whether an atomic value appears in a sequence">is-value-in-sequence</a> | ||
1350 | 1307 | </span> | ||
1351 | 1308 | <span class="functName"></span> ( | ||
1352 | 1309 | <span class="funcParam"> $value</span> as xs:anyAtomicType?, | ||
1353 | 1310 | <span class="funcParam"> $seq</span> as xs:anyAtomicType* | ||
1354 | 1311 | ) as xs:boolean<br /> | ||
1355 | 1312 | <span class="padding"></span> | ||
1356 | 1313 | </tt> | ||
1357 | 1314 | </td> | ||
1358 | 1315 | </tr> | ||
1359 | 1316 | <tr> | ||
1360 | 1317 | <td class="type"> | ||
1361 | 1318 | <span class="no_underline"></span> | ||
1362 | 1319 | </td> | ||
1363 | 1320 | <td> | ||
1364 | 1321 | <tt> | ||
1365 | 1322 | <span class="functName"> | ||
1366 | 1323 | <a href="#last-day-of-month-1" title="The last day of the month of a date">last-day-of-month</a> | ||
1367 | 1324 | </span> | ||
1368 | 1325 | <span class="functName"></span> ( | ||
1369 | 1326 | <span class="funcParam"> $date</span> as xs:anyAtomicType? | ||
1370 | 1327 | ) as xs:date?<br /> | ||
1371 | 1328 | <span class="padding"></span> | ||
1372 | 1329 | </tt> | ||
1373 | 1330 | </td> | ||
1374 | 1331 | </tr> | ||
1375 | 1332 | <tr> | ||
1376 | 1333 | <td class="type"> | ||
1377 | 1334 | <span class="no_underline"></span> | ||
1378 | 1335 | </td> | ||
1379 | 1336 | <td> | ||
1380 | 1337 | <tt> | ||
1381 | 1338 | <span class="functName"> | ||
1382 | 1339 | <a href="#last-day-of-year-1" title="The last day of the month of a date">last-day-of-year</a> | ||
1383 | 1340 | </span> | ||
1384 | 1341 | <span class="functName"></span> ( | ||
1385 | 1342 | <span class="funcParam"> $date</span> as xs:anyAtomicType? | ||
1386 | 1343 | ) as xs:date?<br /> | ||
1387 | 1344 | <span class="padding"></span> | ||
1388 | 1345 | </tt> | ||
1389 | 1346 | </td> | ||
1390 | 1347 | </tr> | ||
1391 | 1348 | <tr> | ||
1392 | 1349 | <td class="type"> | ||
1393 | 1350 | <span class="no_underline"></span> | ||
1394 | 1351 | </td> | ||
1395 | 1352 | <td> | ||
1396 | 1353 | <tt> | ||
1397 | 1354 | <span class="functName"> | ||
1398 | 1355 | <a href="#last-node-1" title="The XML node in a sequence that is last in document order">last-node</a> | ||
1399 | 1356 | </span> | ||
1400 | 1357 | <span class="functName"></span> ( | ||
1401 | 1358 | <span class="funcParam"> $nodes</span> as node()* | ||
1402 | 1359 | ) as node()?<br /> | ||
1403 | 1360 | <span class="padding"></span> | ||
1404 | 1361 | </tt> | ||
1405 | 1362 | </td> | ||
1406 | 1363 | </tr> | ||
1407 | 1364 | <tr> | ||
1408 | 1365 | <td class="type"> | ||
1409 | 1366 | <span class="no_underline"></span> | ||
1410 | 1367 | </td> | ||
1411 | 1368 | <td> | ||
1412 | 1369 | <tt> | ||
1413 | 1370 | <span class="functName"> | ||
1414 | 1371 | <a href="#leaf-elements-1" title="All XML elements that don't have any child elements">leaf-elements</a> | ||
1415 | 1372 | </span> | ||
1416 | 1373 | <span class="functName"></span> ( | ||
1417 | 1374 | <span class="funcParam"> $root</span> as node()? | ||
1418 | 1375 | ) as element(*)*<br /> | ||
1419 | 1376 | <span class="padding"></span> | ||
1420 | 1377 | </tt> | ||
1421 | 1378 | </td> | ||
1422 | 1379 | </tr> | ||
1423 | 1380 | <tr> | ||
1424 | 1381 | <td class="type"> | ||
1425 | 1382 | <span class="no_underline"></span> | ||
1426 | 1383 | </td> | ||
1427 | 1384 | <td> | ||
1428 | 1385 | <tt> | ||
1429 | 1386 | <span class="functName"> | ||
1430 | 1387 | <a href="#left-trim-1" title="Trims leading whitespace">left-trim</a> | ||
1431 | 1388 | </span> | ||
1432 | 1389 | <span class="functName"></span> ( | ||
1433 | 1390 | <span class="funcParam"> $arg</span> as xs:string? | ||
1434 | 1391 | ) as xs:string<br /> | ||
1435 | 1392 | <span class="padding"></span> | ||
1436 | 1393 | </tt> | ||
1437 | 1394 | </td> | ||
1438 | 1395 | </tr> | ||
1439 | 1396 | <tr> | ||
1440 | 1397 | <td class="type"> | ||
1441 | 1398 | <span class="no_underline"></span> | ||
1442 | 1399 | </td> | ||
1443 | 1400 | <td> | ||
1444 | 1401 | <tt> | ||
1445 | 1402 | <span class="functName"> | ||
1446 | 1403 | <a href="#line-count-1" title="The number of lines">line-count</a> | ||
1447 | 1404 | </span> | ||
1448 | 1405 | <span class="functName"></span> ( | ||
1449 | 1406 | <span class="funcParam"> $arg</span> as xs:string? | ||
1450 | 1407 | ) as xs:integer<br /> | ||
1451 | 1408 | <span class="padding"></span> | ||
1452 | 1409 | </tt> | ||
1453 | 1410 | </td> | ||
1454 | 1411 | </tr> | ||
1455 | 1412 | <tr> | ||
1456 | 1413 | <td class="type"> | ||
1457 | 1414 | <span class="no_underline"></span> | ||
1458 | 1415 | </td> | ||
1459 | 1416 | <td> | ||
1460 | 1417 | <tt> | ||
1461 | 1418 | <span class="functName"> | ||
1462 | 1419 | <a href="#lines-1" title="Split a string into separate lines">lines</a> | ||
1463 | 1420 | </span> | ||
1464 | 1421 | <span class="functName"></span> ( | ||
1465 | 1422 | <span class="funcParam"> $arg</span> as xs:string? | ||
1466 | 1423 | ) as xs:string*<br /> | ||
1467 | 1424 | <span class="padding"></span> | ||
1468 | 1425 | </tt> | ||
1469 | 1426 | </td> | ||
1470 | 1427 | </tr> | ||
1471 | 1428 | <tr> | ||
1472 | 1429 | <td class="type"> | ||
1473 | 1430 | <span class="no_underline"></span> | ||
1474 | 1431 | </td> | ||
1475 | 1432 | <td> | ||
1476 | 1433 | <tt> | ||
1477 | 1434 | <span class="functName"> | ||
1478 | 1435 | <a href="#max-depth-1" title="The maximum depth of elements in an XML tree">max-depth</a> | ||
1479 | 1436 | </span> | ||
1480 | 1437 | <span class="functName"></span> ( | ||
1481 | 1438 | <span class="funcParam"> $root</span> as node()? | ||
1482 | 1439 | ) as xs:integer?<br /> | ||
1483 | 1440 | <span class="padding"></span> | ||
1484 | 1441 | </tt> | ||
1485 | 1442 | </td> | ||
1486 | 1443 | </tr> | ||
1487 | 1444 | <tr> | ||
1488 | 1445 | <td class="type"> | ||
1489 | 1446 | <span class="no_underline"></span> | ||
1490 | 1447 | </td> | ||
1491 | 1448 | <td> | ||
1492 | 1449 | <tt> | ||
1493 | 1450 | <span class="functName"> | ||
1494 | 1451 | <a href="#max-determine-type-1" title="The maximum value in a sequence, figuring out its type (numeric or string)">max-determine-type</a> | ||
1495 | 1452 | </span> | ||
1496 | 1453 | <span class="functName"></span> ( | ||
1497 | 1454 | <span class="funcParam"> $seq</span> as xs:anyAtomicType* | ||
1498 | 1455 | ) as xs:anyAtomicType?<br /> | ||
1499 | 1456 | <span class="padding"></span> | ||
1500 | 1457 | </tt> | ||
1501 | 1458 | </td> | ||
1502 | 1459 | </tr> | ||
1503 | 1460 | <tr> | ||
1504 | 1461 | <td class="type"> | ||
1505 | 1462 | <span class="no_underline"></span> | ||
1506 | 1463 | </td> | ||
1507 | 1464 | <td> | ||
1508 | 1465 | <tt> | ||
1509 | 1466 | <span class="functName"> | ||
1510 | 1467 | <a href="#max-line-length-1" title="The maximum line length">max-line-length</a> | ||
1511 | 1468 | </span> | ||
1512 | 1469 | <span class="functName"></span> ( | ||
1513 | 1470 | <span class="funcParam"> $arg</span> as xs:string? | ||
1514 | 1471 | ) as xs:integer<br /> | ||
1515 | 1472 | <span class="padding"></span> | ||
1516 | 1473 | </tt> | ||
1517 | 1474 | </td> | ||
1518 | 1475 | </tr> | ||
1519 | 1476 | <tr> | ||
1520 | 1477 | <td class="type"> | ||
1521 | 1478 | <span class="no_underline"></span> | ||
1522 | 1479 | </td> | ||
1523 | 1480 | <td> | ||
1524 | 1481 | <tt> | ||
1525 | 1482 | <span class="functName"> | ||
1526 | 1483 | <a href="#max-node-1" title="The XML node whose typed value is the maximum">max-node</a> | ||
1527 | 1484 | </span> | ||
1528 | 1485 | <span class="functName"></span> ( | ||
1529 | 1486 | <span class="funcParam"> $nodes</span> as node()* | ||
1530 | 1487 | ) as node()*<br /> | ||
1531 | 1488 | <span class="padding"></span> | ||
1532 | 1489 | </tt> | ||
1533 | 1490 | </td> | ||
1534 | 1491 | </tr> | ||
1535 | 1492 | <tr> | ||
1536 | 1493 | <td class="type"> | ||
1537 | 1494 | <span class="no_underline"></span> | ||
1538 | 1495 | </td> | ||
1539 | 1496 | <td> | ||
1540 | 1497 | <tt> | ||
1541 | 1498 | <span class="functName"> | ||
1542 | 1499 | <a href="#max-string-1" title="The maximum of a sequence of values, treating them like strings">max-string</a> | ||
1543 | 1500 | </span> | ||
1544 | 1501 | <span class="functName"></span> ( | ||
1545 | 1502 | <span class="funcParam"> $strings</span> as xs:anyAtomicType* | ||
1546 | 1503 | ) as xs:string?<br /> | ||
1547 | 1504 | <span class="padding"></span> | ||
1548 | 1505 | </tt> | ||
1549 | 1506 | </td> | ||
1550 | 1507 | </tr> | ||
1551 | 1508 | <tr> | ||
1552 | 1509 | <td class="type"> | ||
1553 | 1510 | <span class="no_underline"></span> | ||
1554 | 1511 | </td> | ||
1555 | 1512 | <td> | ||
1556 | 1513 | <tt> | ||
1557 | 1514 | <span class="functName"> | ||
1558 | 1515 | <a href="#min-determine-type-1" title="The minimum value in a sequence, figuring out its type (numeric or string)">min-determine-type</a> | ||
1559 | 1516 | </span> | ||
1560 | 1517 | <span class="functName"></span> ( | ||
1561 | 1518 | <span class="funcParam"> $seq</span> as xs:anyAtomicType* | ||
1562 | 1519 | ) as xs:anyAtomicType?<br /> | ||
1563 | 1520 | <span class="padding"></span> | ||
1564 | 1521 | </tt> | ||
1565 | 1522 | </td> | ||
1566 | 1523 | </tr> | ||
1567 | 1524 | <tr> | ||
1568 | 1525 | <td class="type"> | ||
1569 | 1526 | <span class="no_underline"></span> | ||
1570 | 1527 | </td> | ||
1571 | 1528 | <td> | ||
1572 | 1529 | <tt> | ||
1573 | 1530 | <span class="functName"> | ||
1574 | 1531 | <a href="#min-node-1" title="The XML node whose typed value is the minimum">min-node</a> | ||
1575 | 1532 | </span> | ||
1576 | 1533 | <span class="functName"></span> ( | ||
1577 | 1534 | <span class="funcParam"> $nodes</span> as node()* | ||
1578 | 1535 | ) as node()*<br /> | ||
1579 | 1536 | <span class="padding"></span> | ||
1580 | 1537 | </tt> | ||
1581 | 1538 | </td> | ||
1582 | 1539 | </tr> | ||
1583 | 1540 | <tr> | ||
1584 | 1541 | <td class="type"> | ||
1585 | 1542 | <span class="no_underline"></span> | ||
1586 | 1543 | </td> | ||
1587 | 1544 | <td> | ||
1588 | 1545 | <tt> | ||
1589 | 1546 | <span class="functName"> | ||
1590 | 1547 | <a href="#min-non-empty-string-1" title="The minimum of a sequence of strings, ignoring "empty" values">min-non-empty-string</a> | ||
1591 | 1548 | </span> | ||
1592 | 1549 | <span class="functName"></span> ( | ||
1593 | 1550 | <span class="funcParam"> $strings</span> as xs:string* | ||
1594 | 1551 | ) as xs:string?<br /> | ||
1595 | 1552 | <span class="padding"></span> | ||
1596 | 1553 | </tt> | ||
1597 | 1554 | </td> | ||
1598 | 1555 | </tr> | ||
1599 | 1556 | <tr> | ||
1600 | 1557 | <td class="type"> | ||
1601 | 1558 | <span class="no_underline"></span> | ||
1602 | 1559 | </td> | ||
1603 | 1560 | <td> | ||
1604 | 1561 | <tt> | ||
1605 | 1562 | <span class="functName"> | ||
1606 | 1563 | <a href="#min-string-1" title="The minimum of a sequence of values, treating them like strings">min-string</a> | ||
1607 | 1564 | </span> | ||
1608 | 1565 | <span class="functName"></span> ( | ||
1609 | 1566 | <span class="funcParam"> $strings</span> as xs:anyAtomicType* | ||
1610 | 1567 | ) as xs:string?<br /> | ||
1611 | 1568 | <span class="padding"></span> | ||
1612 | 1569 | </tt> | ||
1613 | 1570 | </td> | ||
1614 | 1571 | </tr> | ||
1615 | 1572 | <tr> | ||
1616 | 1573 | <td class="type"> | ||
1617 | 1574 | <span class="no_underline"></span> | ||
1618 | 1575 | </td> | ||
1619 | 1576 | <td> | ||
1620 | 1577 | <tt> | ||
1621 | 1578 | <span class="functName"> | ||
1622 | 1579 | <a href="#mmddyyyy-to-date-1" title="Converts a string with format MMDDYYYY (with any delimiters) to a date">mmddyyyy-to-date</a> | ||
1623 | 1580 | </span> | ||
1624 | 1581 | <span class="functName"></span> ( | ||
1625 | 1582 | <span class="funcParam"> $dateString</span> as xs:string? | ||
1626 | 1583 | ) as xs:date?<br /> | ||
1627 | 1584 | <span class="padding"></span> | ||
1628 | 1585 | </tt> | ||
1629 | 1586 | </td> | ||
1630 | 1587 | </tr> | ||
1631 | 1588 | <tr> | ||
1632 | 1589 | <td class="type"> | ||
1633 | 1590 | <span class="no_underline"></span> | ||
1634 | 1591 | </td> | ||
1635 | 1592 | <td> | ||
1636 | 1593 | <tt> | ||
1637 | 1594 | <span class="functName"> | ||
1638 | 1595 | <a href="#month-abbrev-en-1" title="The month of a date as an abbreviated word (Jan, Feb, etc.)">month-abbrev-en</a> | ||
1639 | 1596 | </span> | ||
1640 | 1597 | <span class="functName"></span> ( | ||
1641 | 1598 | <span class="funcParam"> $date</span> as xs:anyAtomicType? | ||
1642 | 1599 | ) as xs:string?<br /> | ||
1643 | 1600 | <span class="padding"> The month of a date as an abbreviated word (Jan, Feb, etc.</span> | ||
1644 | 1601 | </tt> | ||
1645 | 1602 | </td> | ||
1646 | 1603 | </tr> | ||
1647 | 1604 | <tr> | ||
1648 | 1605 | <td class="type"> | ||
1649 | 1606 | <span class="no_underline"></span> | ||
1650 | 1607 | </td> | ||
1651 | 1608 | <td> | ||
1652 | 1609 | <tt> | ||
1653 | 1610 | <span class="functName"> | ||
1654 | 1611 | <a href="#month-name-en-1" title="The month of a date as a word (January, February, etc.)">month-name-en</a> | ||
1655 | 1612 | </span> | ||
1656 | 1613 | <span class="functName"></span> ( | ||
1657 | 1614 | <span class="funcParam"> $date</span> as xs:anyAtomicType? | ||
1658 | 1615 | ) as xs:string?<br /> | ||
1659 | 1616 | <span class="padding"> The month of a date as a word (January, February, etc.</span> | ||
1660 | 1617 | </tt> | ||
1661 | 1618 | </td> | ||
1662 | 1619 | </tr> | ||
1663 | 1620 | <tr> | ||
1664 | 1621 | <td class="type"> | ||
1665 | 1622 | <span class="no_underline"></span> | ||
1666 | 1623 | </td> | ||
1667 | 1624 | <td> | ||
1668 | 1625 | <tt> | ||
1669 | 1626 | <span class="functName"> | ||
1670 | 1627 | <a href="#name-test-2" title="Whether a name matches a list of names or name wildcards">name-test</a> | ||
1671 | 1628 | </span> | ||
1672 | 1629 | <span class="functName"></span> ( | ||
1673 | 1630 | <span class="funcParam"> $testname</span> as xs:string?, | ||
1674 | 1631 | <span class="funcParam"> $names</span> as xs:string* | ||
1675 | 1632 | ) as xs:boolean<br /> | ||
1676 | 1633 | <span class="padding"></span> | ||
1677 | 1634 | </tt> | ||
1678 | 1635 | </td> | ||
1679 | 1636 | </tr> | ||
1680 | 1637 | <tr> | ||
1681 | 1638 | <td class="type"> | ||
1682 | 1639 | <span class="no_underline"></span> | ||
1683 | 1640 | </td> | ||
1684 | 1641 | <td> | ||
1685 | 1642 | <tt> | ||
1686 | 1643 | <span class="functName"> | ||
1687 | 1644 | <a href="#namespaces-in-use-1" title="A list of namespaces used in element/attribute names in an XML fragment">namespaces-in-use</a> | ||
1688 | 1645 | </span> | ||
1689 | 1646 | <span class="functName"></span> ( | ||
1690 | 1647 | <span class="funcParam"> $root</span> as node()? | ||
1691 | 1648 | ) as xs:anyURI*<br /> | ||
1692 | 1649 | <span class="padding"></span> | ||
1693 | 1650 | </tt> | ||
1694 | 1651 | </td> | ||
1695 | 1652 | </tr> | ||
1696 | 1653 | <tr> | ||
1697 | 1654 | <td class="type"> | ||
1698 | 1655 | <span class="no_underline"></span> | ||
1699 | 1656 | </td> | ||
1700 | 1657 | <td> | ||
1701 | 1658 | <tt> | ||
1702 | 1659 | <span class="functName"> | ||
1703 | 1660 | <a href="#next-day-1" title="The next day">next-day</a> | ||
1704 | 1661 | </span> | ||
1705 | 1662 | <span class="functName"></span> ( | ||
1706 | 1663 | <span class="funcParam"> $date</span> as xs:anyAtomicType? | ||
1707 | 1664 | ) as xs:date?<br /> | ||
1708 | 1665 | <span class="padding"></span> | ||
1709 | 1666 | </tt> | ||
1710 | 1667 | </td> | ||
1711 | 1668 | </tr> | ||
1712 | 1669 | <tr> | ||
1713 | 1670 | <td class="type"> | ||
1714 | 1671 | <span class="no_underline"></span> | ||
1715 | 1672 | </td> | ||
1716 | 1673 | <td> | ||
1717 | 1674 | <tt> | ||
1718 | 1675 | <span class="functName"> | ||
1719 | 1676 | <a href="#node-kind-1" title="The XML node kind (element, attribute, text, etc.)">node-kind</a> | ||
1720 | 1677 | </span> | ||
1721 | 1678 | <span class="functName"></span> ( | ||
1722 | 1679 | <span class="funcParam"> $nodes</span> as node()* | ||
1723 | 1680 | ) as xs:string*<br /> | ||
1724 | 1681 | <span class="padding"> The XML node kind (element, attribute, text, etc.</span> | ||
1725 | 1682 | </tt> | ||
1726 | 1683 | </td> | ||
1727 | 1684 | </tr> | ||
1728 | 1685 | <tr> | ||
1729 | 1686 | <td class="type"> | ||
1730 | 1687 | <span class="no_underline"></span> | ||
1731 | 1688 | </td> | ||
1732 | 1689 | <td> | ||
1733 | 1690 | <tt> | ||
1734 | 1691 | <span class="functName"> | ||
1735 | 1692 | <a href="#non-distinct-values-1" title="Returns any values that appear more than once in a sequence">non-distinct-values</a> | ||
1736 | 1693 | </span> | ||
1737 | 1694 | <span class="functName"></span> ( | ||
1738 | 1695 | <span class="funcParam"> $seq</span> as xs:anyAtomicType* | ||
1739 | 1696 | ) as xs:anyAtomicType*<br /> | ||
1740 | 1697 | <span class="padding"></span> | ||
1741 | 1698 | </tt> | ||
1742 | 1699 | </td> | ||
1743 | 1700 | </tr> | ||
1744 | 1701 | <tr> | ||
1745 | 1702 | <td class="type"> | ||
1746 | 1703 | <span class="no_underline"></span> | ||
1747 | 1704 | </td> | ||
1748 | 1705 | <td> | ||
1749 | 1706 | <tt> | ||
1750 | 1707 | <span class="functName"> | ||
1751 | 1708 | <a href="#number-of-matches-2" title="The number of regions that match a pattern">number-of-matches</a> | ||
1752 | 1709 | </span> | ||
1753 | 1710 | <span class="functName"></span> ( | ||
1754 | 1711 | <span class="funcParam"> $arg</span> as xs:string?, | ||
1755 | 1712 | <span class="funcParam"> $pattern</span> as xs:string | ||
1756 | 1713 | ) as xs:integer<br /> | ||
1757 | 1714 | <span class="padding"></span> | ||
1758 | 1715 | </tt> | ||
1759 | 1716 | </td> | ||
1760 | 1717 | </tr> | ||
1761 | 1718 | <tr> | ||
1762 | 1719 | <td class="type"> | ||
1763 | 1720 | <span class="no_underline"></span> | ||
1764 | 1721 | </td> | ||
1765 | 1722 | <td> | ||
1766 | 1723 | <tt> | ||
1767 | 1724 | <span class="functName"> | ||
1768 | 1725 | <a href="#open-ref-document-1" title="Resolves a relative URI and references it, returning an XML document">open-ref-document</a> | ||
1769 | 1726 | </span> | ||
1770 | 1727 | <span class="functName"></span> ( | ||
1771 | 1728 | <span class="funcParam"> $refNode</span> as node() | ||
1772 | 1729 | ) as document()<br /> | ||
1773 | 1730 | <span class="padding"></span> | ||
1774 | 1731 | </tt> | ||
1775 | 1732 | </td> | ||
1776 | 1733 | </tr> | ||
1777 | 1734 | <tr> | ||
1778 | 1735 | <td class="type"> | ||
1779 | 1736 | <span class="no_underline"></span> | ||
1780 | 1737 | </td> | ||
1781 | 1738 | <td> | ||
1782 | 1739 | <tt> | ||
1783 | 1740 | <span class="functName"> | ||
1784 | 1741 | <a href="#ordinal-number-en-1" title="Reformats a number as an ordinal number, e.g. 1st, 2nd, 3rd.">ordinal-number-en</a> | ||
1785 | 1742 | </span> | ||
1786 | 1743 | <span class="functName"></span> ( | ||
1787 | 1744 | <span class="funcParam"> $num</span> as xs:integer? | ||
1788 | 1745 | ) as xs:string<br /> | ||
1789 | 1746 | <span class="padding"> Reformats a number as an ordinal number, e.</span> | ||
1790 | 1747 | </tt> | ||
1791 | 1748 | </td> | ||
1792 | 1749 | </tr> | ||
1793 | 1750 | <tr> | ||
1794 | 1751 | <td class="type"> | ||
1795 | 1752 | <span class="no_underline"></span> | ||
1796 | 1753 | </td> | ||
1797 | 1754 | <td> | ||
1798 | 1755 | <tt> | ||
1799 | 1756 | <span class="functName"> | ||
1800 | 1757 | <a href="#pad-integer-to-length-2" title="Pads an integer to a desired length by adding leading zeros">pad-integer-to-length</a> | ||
1801 | 1758 | </span> | ||
1802 | 1759 | <span class="functName"></span> ( | ||
1803 | 1760 | <span class="funcParam"> $integerToPad</span> as xs:anyAtomicType?, | ||
1804 | 1761 | <span class="funcParam"> $length</span> as xs:integer | ||
1805 | 1762 | ) as xs:string<br /> | ||
1806 | 1763 | <span class="padding"></span> | ||
1807 | 1764 | </tt> | ||
1808 | 1765 | </td> | ||
1809 | 1766 | </tr> | ||
1810 | 1767 | <tr> | ||
1811 | 1768 | <td class="type"> | ||
1812 | 1769 | <span class="no_underline"></span> | ||
1813 | 1770 | </td> | ||
1814 | 1771 | <td> | ||
1815 | 1772 | <tt> | ||
1816 | 1773 | <span class="functName"> | ||
1817 | 1774 | <a href="#pad-string-to-length-3" title="Pads a string to a desired length">pad-string-to-length</a> | ||
1818 | 1775 | </span> | ||
1819 | 1776 | <span class="functName"></span> ( | ||
1820 | 1777 | <span class="funcParam"> $stringToPad</span> as xs:string?, | ||
1821 | 1778 | <span class="funcParam"> $padChar</span> as xs:string, | ||
1822 | 1779 | <span class="funcParam"> $length</span> as xs:integer | ||
1823 | 1780 | ) as xs:string<br /> | ||
1824 | 1781 | <span class="padding"></span> | ||
1825 | 1782 | </tt> | ||
1826 | 1783 | </td> | ||
1827 | 1784 | </tr> | ||
1828 | 1785 | <tr> | ||
1829 | 1786 | <td class="type"> | ||
1830 | 1787 | <span class="no_underline"></span> | ||
1831 | 1788 | </td> | ||
1832 | 1789 | <td> | ||
1833 | 1790 | <tt> | ||
1834 | 1791 | <span class="functName"> | ||
1835 | 1792 | <a href="#path-to-node-1" title="A path to an XML node (or sequence of nodes)">path-to-node</a> | ||
1836 | 1793 | </span> | ||
1837 | 1794 | <span class="functName"></span> ( | ||
1838 | 1795 | <span class="funcParam"> $nodes</span> as node()* | ||
1839 | 1796 | ) as xs:string*<br /> | ||
1840 | 1797 | <span class="padding"></span> | ||
1841 | 1798 | </tt> | ||
1842 | 1799 | </td> | ||
1843 | 1800 | </tr> | ||
1844 | 1801 | <tr> | ||
1845 | 1802 | <td class="type"> | ||
1846 | 1803 | <span class="no_underline"></span> | ||
1847 | 1804 | </td> | ||
1848 | 1805 | <td> | ||
1849 | 1806 | <tt> | ||
1850 | 1807 | <span class="functName"> | ||
1851 | 1808 | <a href="#path-to-node-with-pos-1" title="A unique path to an XML node (or sequence of nodes)">path-to-node-with-pos</a> | ||
1852 | 1809 | </span> | ||
1853 | 1810 | <span class="functName"></span> ( | ||
1854 | 1811 | <span class="funcParam"> $node</span> as node()? | ||
1855 | 1812 | ) as xs:string<br /> | ||
1856 | 1813 | <span class="padding"></span> | ||
1857 | 1814 | </tt> | ||
1858 | 1815 | </td> | ||
1859 | 1816 | </tr> | ||
1860 | 1817 | <tr> | ||
1861 | 1818 | <td class="type"> | ||
1862 | 1819 | <span class="no_underline"></span> | ||
1863 | 1820 | </td> | ||
1864 | 1821 | <td> | ||
1865 | 1822 | <tt> | ||
1866 | 1823 | <span class="functName"> | ||
1867 | 1824 | <a href="#precedes-not-ancestor-2" title="Whether an XML node precedes another without being its ancestor">precedes-not-ancestor</a> | ||
1868 | 1825 | </span> | ||
1869 | 1826 | <span class="functName"></span> ( | ||
1870 | 1827 | <span class="funcParam"> $a</span> as node()?, | ||
1871 | 1828 | <span class="funcParam"> $b</span> as node()? | ||
1872 | 1829 | ) as xs:boolean<br /> | ||
1873 | 1830 | <span class="padding"></span> | ||
1874 | 1831 | </tt> | ||
1875 | 1832 | </td> | ||
1876 | 1833 | </tr> | ||
1877 | 1834 | <tr> | ||
1878 | 1835 | <td class="type"> | ||
1879 | 1836 | <span class="no_underline"></span> | ||
1880 | 1837 | </td> | ||
1881 | 1838 | <td> | ||
1882 | 1839 | <tt> | ||
1883 | 1840 | <span class="functName"> | ||
1884 | 1841 | <a href="#previous-day-1" title="The previous day">previous-day</a> | ||
1885 | 1842 | </span> | ||
1886 | 1843 | <span class="functName"></span> ( | ||
1887 | 1844 | <span class="funcParam"> $date</span> as xs:anyAtomicType? | ||
1888 | 1845 | ) as xs:date?<br /> | ||
1889 | 1846 | <span class="padding"></span> | ||
1890 | 1847 | </tt> | ||
1891 | 1848 | </td> | ||
1892 | 1849 | </tr> | ||
1893 | 1850 | <tr> | ||
1894 | 1851 | <td class="type"> | ||
1895 | 1852 | <span class="no_underline"></span> | ||
1896 | 1853 | </td> | ||
1897 | 1854 | <td> | ||
1898 | 1855 | <tt> | ||
1899 | 1856 | <span class="functName"> | ||
1900 | 1857 | <a href="#remove-attributes-2" title="Removes attributes from an XML element, based on name">remove-attributes</a> | ||
1901 | 1858 | </span> | ||
1902 | 1859 | <span class="functName"></span> ( | ||
1903 | 1860 | <span class="funcParam"> $elements</span> as element(*)*, | ||
1904 | 1861 | <span class="funcParam"> $names</span> as xs:string* | ||
1905 | 1862 | ) as element(*)<br /> | ||
1906 | 1863 | <span class="padding"></span> | ||
1907 | 1864 | </tt> | ||
1908 | 1865 | </td> | ||
1909 | 1866 | </tr> | ||
1910 | 1867 | <tr> | ||
1911 | 1868 | <td class="type"> | ||
1912 | 1869 | <span class="no_underline"></span> | ||
1913 | 1870 | </td> | ||
1914 | 1871 | <td> | ||
1915 | 1872 | <tt> | ||
1916 | 1873 | <span class="functName"> | ||
1917 | 1874 | <a href="#remove-attributes-deep-2" title="Removes attributes from an XML fragment, based on name">remove-attributes-deep</a> | ||
1918 | 1875 | </span> | ||
1919 | 1876 | <span class="functName"></span> ( | ||
1920 | 1877 | <span class="funcParam"> $nodes</span> as node()*, | ||
1921 | 1878 | <span class="funcParam"> $names</span> as xs:string* | ||
1922 | 1879 | ) as node()*<br /> | ||
1923 | 1880 | <span class="padding"></span> | ||
1924 | 1881 | </tt> | ||
1925 | 1882 | </td> | ||
1926 | 1883 | </tr> | ||
1927 | 1884 | <tr> | ||
1928 | 1885 | <td class="type"> | ||
1929 | 1886 | <span class="no_underline"></span> | ||
1930 | 1887 | </td> | ||
1931 | 1888 | <td> | ||
1932 | 1889 | <tt> | ||
1933 | 1890 | <span class="functName"> | ||
1934 | 1891 | <a href="#remove-elements-2" title="Removes child elements from an XML node, based on name">remove-elements</a> | ||
1935 | 1892 | </span> | ||
1936 | 1893 | <span class="functName"></span> ( | ||
1937 | 1894 | <span class="funcParam"> $elements</span> as element(*)*, | ||
1938 | 1895 | <span class="funcParam"> $names</span> as xs:string* | ||
1939 | 1896 | ) as element(*)*<br /> | ||
1940 | 1897 | <span class="padding"></span> | ||
1941 | 1898 | </tt> | ||
1942 | 1899 | </td> | ||
1943 | 1900 | </tr> | ||
1944 | 1901 | <tr> | ||
1945 | 1902 | <td class="type"> | ||
1946 | 1903 | <span class="no_underline"></span> | ||
1947 | 1904 | </td> | ||
1948 | 1905 | <td> | ||
1949 | 1906 | <tt> | ||
1950 | 1907 | <span class="functName"> | ||
1951 | 1908 | <a href="#remove-elements-deep-2" title="Removes descendant elements from an XML node, based on name">remove-elements-deep</a> | ||
1952 | 1909 | </span> | ||
1953 | 1910 | <span class="functName"></span> ( | ||
1954 | 1911 | <span class="funcParam"> $nodes</span> as node()*, | ||
1955 | 1912 | <span class="funcParam"> $names</span> as xs:string* | ||
1956 | 1913 | ) as node()*<br /> | ||
1957 | 1914 | <span class="padding"></span> | ||
1958 | 1915 | </tt> | ||
1959 | 1916 | </td> | ||
1960 | 1917 | </tr> | ||
1961 | 1918 | <tr> | ||
1962 | 1919 | <td class="type"> | ||
1963 | 1920 | <span class="no_underline"></span> | ||
1964 | 1921 | </td> | ||
1965 | 1922 | <td> | ||
1966 | 1923 | <tt> | ||
1967 | 1924 | <span class="functName"> | ||
1968 | 1925 | <a href="#remove-elements-not-contents-2" title="Removes descendant XML elements but keeps their content">remove-elements-not-contents</a> | ||
1969 | 1926 | </span> | ||
1970 | 1927 | <span class="functName"></span> ( | ||
1971 | 1928 | <span class="funcParam"> $nodes</span> as node()*, | ||
1972 | 1929 | <span class="funcParam"> $names</span> as xs:string* | ||
1973 | 1930 | ) as node()*<br /> | ||
1974 | 1931 | <span class="padding"></span> | ||
1975 | 1932 | </tt> | ||
1976 | 1933 | </td> | ||
1977 | 1934 | </tr> | ||
1978 | 1935 | <tr> | ||
1979 | 1936 | <td class="type"> | ||
1980 | 1937 | <span class="no_underline"></span> | ||
1981 | 1938 | </td> | ||
1982 | 1939 | <td> | ||
1983 | 1940 | <tt> | ||
1984 | 1941 | <span class="functName"> | ||
1985 | 1942 | <a href="#repeat-string-2" title="Repeats a string a given number of times">repeat-string</a> | ||
1986 | 1943 | </span> | ||
1987 | 1944 | <span class="functName"></span> ( | ||
1988 | 1945 | <span class="funcParam"> $stringToRepeat</span> as xs:string?, | ||
1989 | 1946 | <span class="funcParam"> $count</span> as xs:integer | ||
1990 | 1947 | ) as xs:string<br /> | ||
1991 | 1948 | <span class="padding"></span> | ||
1992 | 1949 | </tt> | ||
1993 | 1950 | </td> | ||
1994 | 1951 | </tr> | ||
1995 | 1952 | <tr> | ||
1996 | 1953 | <td class="type"> | ||
1997 | 1954 | <span class="no_underline"></span> | ||
1998 | 1955 | </td> | ||
1999 | 1956 | <td> | ||
2000 | 1957 | <tt> | ||
2001 | 1958 | <span class="functName"> | ||
2002 | 1959 | <a href="#replace-beginning-3" title="Replaces the beginning of a string, up to a matched pattern">replace-beginning</a> | ||
2003 | 1960 | </span> | ||
2004 | 1961 | <span class="functName"></span> ( | ||
2005 | 1962 | <span class="funcParam"> $arg</span> as xs:string?, | ||
2006 | 1963 | <span class="funcParam"> $pattern</span> as xs:string, | ||
2007 | 1964 | <span class="funcParam"> $replacement</span> as xs:string | ||
2008 | 1965 | ) as xs:string<br /> | ||
2009 | 1966 | <span class="padding"></span> | ||
2010 | 1967 | </tt> | ||
2011 | 1968 | </td> | ||
2012 | 1969 | </tr> | ||
2013 | 1970 | <tr> | ||
2014 | 1971 | <td class="type"> | ||
2015 | 1972 | <span class="no_underline"></span> | ||
2016 | 1973 | </td> | ||
2017 | 1974 | <td> | ||
2018 | 1975 | <tt> | ||
2019 | 1976 | <span class="functName"> | ||
2020 | 1977 | <a href="#replace-element-values-2" title="Updates the content of one or more elements">replace-element-values</a> | ||
2021 | 1978 | </span> | ||
2022 | 1979 | <span class="functName"></span> ( | ||
2023 | 1980 | <span class="funcParam"> $elements</span> as element(*)*, | ||
2024 | 1981 | <span class="funcParam"> $values</span> as xs:anyAtomicType* | ||
2025 | 1982 | ) as element(*)*<br /> | ||
2026 | 1983 | <span class="padding"></span> | ||
2027 | 1984 | </tt> | ||
2028 | 1985 | </td> | ||
2029 | 1986 | </tr> | ||
2030 | 1987 | <tr> | ||
2031 | 1988 | <td class="type"> | ||
2032 | 1989 | <span class="no_underline"></span> | ||
2033 | 1990 | </td> | ||
2034 | 1991 | <td> | ||
2035 | 1992 | <tt> | ||
2036 | 1993 | <span class="functName"> | ||
2037 | 1994 | <a href="#replace-first-3" title="Replaces the first match of a pattern">replace-first</a> | ||
2038 | 1995 | </span> | ||
2039 | 1996 | <span class="functName"></span> ( | ||
2040 | 1997 | <span class="funcParam"> $arg</span> as xs:string?, | ||
2041 | 1998 | <span class="funcParam"> $pattern</span> as xs:string, | ||
2042 | 1999 | <span class="funcParam"> $replacement</span> as xs:string | ||
2043 | 2000 | ) as xs:string<br /> | ||
2044 | 2001 | <span class="padding"></span> | ||
2045 | 2002 | </tt> | ||
2046 | 2003 | </td> | ||
2047 | 2004 | </tr> | ||
2048 | 2005 | <tr> | ||
2049 | 2006 | <td class="type"> | ||
2050 | 2007 | <span class="no_underline"></span> | ||
2051 | 2008 | </td> | ||
2052 | 2009 | <td> | ||
2053 | 2010 | <tt> | ||
2054 | 2011 | <span class="functName"> | ||
2055 | 2012 | <a href="#replace-multi-3" title="Performs multiple replacements, using pairs of replace parameters">replace-multi</a> | ||
2056 | 2013 | </span> | ||
2057 | 2014 | <span class="functName"></span> ( | ||
2058 | 2015 | <span class="funcParam"> $arg</span> as xs:string?, | ||
2059 | 2016 | <span class="funcParam"> $changeFrom</span> as xs:string*, | ||
2060 | 2017 | <span class="funcParam"> $changeTo</span> as xs:string* | ||
2061 | 2018 | ) as xs:string?<br /> | ||
2062 | 2019 | <span class="padding"></span> | ||
2063 | 2020 | </tt> | ||
2064 | 2021 | </td> | ||
2065 | 2022 | </tr> | ||
2066 | 2023 | <tr> | ||
2067 | 2024 | <td class="type"> | ||
2068 | 2025 | <span class="no_underline"></span> | ||
2069 | 2026 | </td> | ||
2070 | 2027 | <td> | ||
2071 | 2028 | <tt> | ||
2072 | 2029 | <span class="functName"> | ||
2073 | 2030 | <a href="#reverse-string-1" title="Reverses the order of characters">reverse-string</a> | ||
2074 | 2031 | </span> | ||
2075 | 2032 | <span class="functName"></span> ( | ||
2076 | 2033 | <span class="funcParam"> $arg</span> as xs:string? | ||
2077 | 2034 | ) as xs:string<br /> | ||
2078 | 2035 | <span class="padding"></span> | ||
2079 | 2036 | </tt> | ||
2080 | 2037 | </td> | ||
2081 | 2038 | </tr> | ||
2082 | 2039 | <tr> | ||
2083 | 2040 | <td class="type"> | ||
2084 | 2041 | <span class="no_underline"></span> | ||
2085 | 2042 | </td> | ||
2086 | 2043 | <td> | ||
2087 | 2044 | <tt> | ||
2088 | 2045 | <span class="functName"> | ||
2089 | 2046 | <a href="#right-trim-1" title="Trims trailing whitespace">right-trim</a> | ||
2090 | 2047 | </span> | ||
2091 | 2048 | <span class="functName"></span> ( | ||
2092 | 2049 | <span class="funcParam"> $arg</span> as xs:string? | ||
2093 | 2050 | ) as xs:string<br /> | ||
2094 | 2051 | <span class="padding"></span> | ||
2095 | 2052 | </tt> | ||
2096 | 2053 | </td> | ||
2097 | 2054 | </tr> | ||
2098 | 2055 | <tr> | ||
2099 | 2056 | <td class="type"> | ||
2100 | 2057 | <span class="no_underline"></span> | ||
2101 | 2058 | </td> | ||
2102 | 2059 | <td> | ||
2103 | 2060 | <tt> | ||
2104 | 2061 | <span class="functName"> | ||
2105 | 2062 | <a href="#scheme-from-uri-1" title="Returns the scheme from a URI">scheme-from-uri</a> | ||
2106 | 2063 | </span> | ||
2107 | 2064 | <span class="functName"></span> ( | ||
2108 | 2065 | <span class="funcParam"> $uri</span> as xs:string? | ||
2109 | 2066 | ) as xs:string?<br /> | ||
2110 | 2067 | <span class="padding"></span> | ||
2111 | 2068 | </tt> | ||
2112 | 2069 | </td> | ||
2113 | 2070 | </tr> | ||
2114 | 2071 | <tr> | ||
2115 | 2072 | <td class="type"> | ||
2116 | 2073 | <span class="no_underline"></span> | ||
2117 | 2074 | </td> | ||
2118 | 2075 | <td> | ||
2119 | 2076 | <tt> | ||
2120 | 2077 | <span class="functName"> | ||
2121 | 2078 | <a href="#sequence-deep-equal-2" title="Whether two sequences have the same XML node content and/or values">sequence-deep-equal</a> | ||
2122 | 2079 | </span> | ||
2123 | 2080 | <span class="functName"></span> ( | ||
2124 | 2081 | <span class="funcParam"> $seq1</span> as item()*, | ||
2125 | 2082 | <span class="funcParam"> $seq2</span> as item()* | ||
2126 | 2083 | ) as xs:boolean<br /> | ||
2127 | 2084 | <span class="padding"></span> | ||
2128 | 2085 | </tt> | ||
2129 | 2086 | </td> | ||
2130 | 2087 | </tr> | ||
2131 | 2088 | <tr> | ||
2132 | 2089 | <td class="type"> | ||
2133 | 2090 | <span class="no_underline"></span> | ||
2134 | 2091 | </td> | ||
2135 | 2092 | <td> | ||
2136 | 2093 | <tt> | ||
2137 | 2094 | <span class="functName"> | ||
2138 | 2095 | <a href="#sequence-node-equal-2" title="Whether two sequences contain the same XML nodes, in the same order">sequence-node-equal</a> | ||
2139 | 2096 | </span> | ||
2140 | 2097 | <span class="functName"></span> ( | ||
2141 | 2098 | <span class="funcParam"> $seq1</span> as node()*, | ||
2142 | 2099 | <span class="funcParam"> $seq2</span> as node()* | ||
2143 | 2100 | ) as xs:boolean<br /> | ||
2144 | 2101 | <span class="padding"></span> | ||
2145 | 2102 | </tt> | ||
2146 | 2103 | </td> | ||
2147 | 2104 | </tr> | ||
2148 | 2105 | <tr> | ||
2149 | 2106 | <td class="type"> | ||
2150 | 2107 | <span class="no_underline"></span> | ||
2151 | 2108 | </td> | ||
2152 | 2109 | <td> | ||
2153 | 2110 | <tt> | ||
2154 | 2111 | <span class="functName"> | ||
2155 | 2112 | <a href="#sequence-node-equal-any-order-2" title="Whether two sequences contain the same XML nodes, regardless of order">sequence-node-equal-any-order</a> | ||
2156 | 2113 | </span> | ||
2157 | 2114 | <span class="functName"></span> ( | ||
2158 | 2115 | <span class="funcParam"> $seq1</span> as node()*, | ||
2159 | 2116 | <span class="funcParam"> $seq2</span> as node()* | ||
2160 | 2117 | ) as xs:boolean<br /> | ||
2161 | 2118 | <span class="padding"></span> | ||
2162 | 2119 | </tt> | ||
2163 | 2120 | </td> | ||
2164 | 2121 | </tr> | ||
2165 | 2122 | <tr> | ||
2166 | 2123 | <td class="type"> | ||
2167 | 2124 | <span class="no_underline"></span> | ||
2168 | 2125 | </td> | ||
2169 | 2126 | <td> | ||
2170 | 2127 | <tt> | ||
2171 | 2128 | <span class="functName"> | ||
2172 | 2129 | <a href="#sequence-type-1" title="The sequence type that represents a sequence of nodes or values">sequence-type</a> | ||
2173 | 2130 | </span> | ||
2174 | 2131 | <span class="functName"></span> ( | ||
2175 | 2132 | <span class="funcParam"> $items</span> as item()* | ||
2176 | 2133 | ) as xs:string<br /> | ||
2177 | 2134 | <span class="padding"></span> | ||
2178 | 2135 | </tt> | ||
2179 | 2136 | </td> | ||
2180 | 2137 | </tr> | ||
2181 | 2138 | <tr> | ||
2182 | 2139 | <td class="type"> | ||
2183 | 2140 | <span class="no_underline"></span> | ||
2184 | 2141 | </td> | ||
2185 | 2142 | <td> | ||
2186 | 2143 | <tt> | ||
2187 | 2144 | <span class="functName"> | ||
2188 | 2145 | <a href="#siblings-1" title="The siblings of an XML node">siblings</a> | ||
2189 | 2146 | </span> | ||
2190 | 2147 | <span class="functName"></span> ( | ||
2191 | 2148 | <span class="funcParam"> $node</span> as node()? | ||
2192 | 2149 | ) as node()*<br /> | ||
2193 | 2150 | <span class="padding"></span> | ||
2194 | 2151 | </tt> | ||
2195 | 2152 | </td> | ||
2196 | 2153 | </tr> | ||
2197 | 2154 | <tr> | ||
2198 | 2155 | <td class="type"> | ||
2199 | 2156 | <span class="no_underline"></span> | ||
2200 | 2157 | </td> | ||
2201 | 2158 | <td> | ||
2202 | 2159 | <tt> | ||
2203 | 2160 | <span class="functName"> | ||
2204 | 2161 | <a href="#siblings-same-name-1" title="The siblings of an XML element that have the same name">siblings-same-name</a> | ||
2205 | 2162 | </span> | ||
2206 | 2163 | <span class="functName"></span> ( | ||
2207 | 2164 | <span class="funcParam"> $element</span> as element(*)? | ||
2208 | 2165 | ) as element(*)*<br /> | ||
2209 | 2166 | <span class="padding"></span> | ||
2210 | 2167 | </tt> | ||
2211 | 2168 | </td> | ||
2212 | 2169 | </tr> | ||
2213 | 2170 | <tr> | ||
2214 | 2171 | <td class="type"> | ||
2215 | 2172 | <span class="no_underline"></span> | ||
2216 | 2173 | </td> | ||
2217 | 2174 | <td> | ||
2218 | 2175 | <tt> | ||
2219 | 2176 | <span class="functName"> | ||
2220 | 2177 | <a href="#sort-1" title="Sorts a sequence of values or nodes">sort</a> | ||
2221 | 2178 | </span> | ||
2222 | 2179 | <span class="functName"></span> ( | ||
2223 | 2180 | <span class="funcParam"> $seq</span> as item()* | ||
2224 | 2181 | ) as item()*<br /> | ||
2225 | 2182 | <span class="padding"></span> | ||
2226 | 2183 | </tt> | ||
2227 | 2184 | </td> | ||
2228 | 2185 | </tr> | ||
2229 | 2186 | <tr> | ||
2230 | 2187 | <td class="type"> | ||
2231 | 2188 | <span class="no_underline"></span> | ||
2232 | 2189 | </td> | ||
2233 | 2190 | <td> | ||
2234 | 2191 | <tt> | ||
2235 | 2192 | <span class="functName"> | ||
2236 | 2193 | <a href="#sort-as-numeric-1" title="Sorts a sequence of numeric values or nodes">sort-as-numeric</a> | ||
2237 | 2194 | </span> | ||
2238 | 2195 | <span class="functName"></span> ( | ||
2239 | 2196 | <span class="funcParam"> $seq</span> as item()* | ||
2240 | 2197 | ) as item()*<br /> | ||
2241 | 2198 | <span class="padding"></span> | ||
2242 | 2199 | </tt> | ||
2243 | 2200 | </td> | ||
2244 | 2201 | </tr> | ||
2245 | 2202 | <tr> | ||
2246 | 2203 | <td class="type"> | ||
2247 | 2204 | <span class="no_underline"></span> | ||
2248 | 2205 | </td> | ||
2249 | 2206 | <td> | ||
2250 | 2207 | <tt> | ||
2251 | 2208 | <span class="functName"> | ||
2252 | 2209 | <a href="#sort-case-insensitive-1" title="Sorts a sequence of values or nodes regardless of capitalization">sort-case-insensitive</a> | ||
2253 | 2210 | </span> | ||
2254 | 2211 | <span class="functName"></span> ( | ||
2255 | 2212 | <span class="funcParam"> $seq</span> as item()* | ||
2256 | 2213 | ) as item()*<br /> | ||
2257 | 2214 | <span class="padding"></span> | ||
2258 | 2215 | </tt> | ||
2259 | 2216 | </td> | ||
2260 | 2217 | </tr> | ||
2261 | 2218 | <tr> | ||
2262 | 2219 | <td class="type"> | ||
2263 | 2220 | <span class="no_underline"></span> | ||
2264 | 2221 | </td> | ||
2265 | 2222 | <td> | ||
2266 | 2223 | <tt> | ||
2267 | 2224 | <span class="functName"> | ||
2268 | 2225 | <a href="#sort-document-order-1" title="Sorts a sequence of nodes in document order">sort-document-order</a> | ||
2269 | 2226 | </span> | ||
2270 | 2227 | <span class="functName"></span> ( | ||
2271 | 2228 | <span class="funcParam"> $seq</span> as node()* | ||
2272 | 2229 | ) as node()*<br /> | ||
2273 | 2230 | <span class="padding"></span> | ||
2274 | 2231 | </tt> | ||
2275 | 2232 | </td> | ||
2276 | 2233 | </tr> | ||
2277 | 2234 | <tr> | ||
2278 | 2235 | <td class="type"> | ||
2279 | 2236 | <span class="no_underline"></span> | ||
2280 | 2237 | </td> | ||
2281 | 2238 | <td> | ||
2282 | 2239 | <tt> | ||
2283 | 2240 | <span class="functName"> | ||
2284 | 2241 | <a href="#substring-after-if-contains-2" title="Performs substring-after, returning the entire string if it does not contain the delimiter">substring-after-if-contains</a> | ||
2285 | 2242 | </span> | ||
2286 | 2243 | <span class="functName"></span> ( | ||
2287 | 2244 | <span class="funcParam"> $arg</span> as xs:string?, | ||
2288 | 2245 | <span class="funcParam"> $delim</span> as xs:string | ||
2289 | 2246 | ) as xs:string?<br /> | ||
2290 | 2247 | <span class="padding"></span> | ||
2291 | 2248 | </tt> | ||
2292 | 2249 | </td> | ||
2293 | 2250 | </tr> | ||
2294 | 2251 | <tr> | ||
2295 | 2252 | <td class="type"> | ||
2296 | 2253 | <span class="no_underline"></span> | ||
2297 | 2254 | </td> | ||
2298 | 2255 | <td> | ||
2299 | 2256 | <tt> | ||
2300 | 2257 | <span class="functName"> | ||
2301 | 2258 | <a href="#substring-after-last-2" title="The substring after the last occurrence of a delimiter">substring-after-last</a> | ||
2302 | 2259 | </span> | ||
2303 | 2260 | <span class="functName"></span> ( | ||
2304 | 2261 | <span class="funcParam"> $arg</span> as xs:string?, | ||
2305 | 2262 | <span class="funcParam"> $delim</span> as xs:string | ||
2306 | 2263 | ) as xs:string<br /> | ||
2307 | 2264 | <span class="padding"></span> | ||
2308 | 2265 | </tt> | ||
2309 | 2266 | </td> | ||
2310 | 2267 | </tr> | ||
2311 | 2268 | <tr> | ||
2312 | 2269 | <td class="type"> | ||
2313 | 2270 | <span class="no_underline"></span> | ||
2314 | 2271 | </td> | ||
2315 | 2272 | <td> | ||
2316 | 2273 | <tt> | ||
2317 | 2274 | <span class="functName"> | ||
2318 | 2275 | <a href="#substring-after-last-match-2" title="The substring after the last text that matches a regex">substring-after-last-match</a> | ||
2319 | 2276 | </span> | ||
2320 | 2277 | <span class="functName"></span> ( | ||
2321 | 2278 | <span class="funcParam"> $arg</span> as xs:string?, | ||
2322 | 2279 | <span class="funcParam"> $regex</span> as xs:string | ||
2323 | 2280 | ) as xs:string<br /> | ||
2324 | 2281 | <span class="padding"></span> | ||
2325 | 2282 | </tt> | ||
2326 | 2283 | </td> | ||
2327 | 2284 | </tr> | ||
2328 | 2285 | <tr> | ||
2329 | 2286 | <td class="type"> | ||
2330 | 2287 | <span class="no_underline"></span> | ||
2331 | 2288 | </td> | ||
2332 | 2289 | <td> | ||
2333 | 2290 | <tt> | ||
2334 | 2291 | <span class="functName"> | ||
2335 | 2292 | <a href="#substring-after-match-2" title="The substring after the first text that matches a regex">substring-after-match</a> | ||
2336 | 2293 | </span> | ||
2337 | 2294 | <span class="functName"></span> ( | ||
2338 | 2295 | <span class="funcParam"> $arg</span> as xs:string?, | ||
2339 | 2296 | <span class="funcParam"> $regex</span> as xs:string | ||
2340 | 2297 | ) as xs:string?<br /> | ||
2341 | 2298 | <span class="padding"></span> | ||
2342 | 2299 | </tt> | ||
2343 | 2300 | </td> | ||
2344 | 2301 | </tr> | ||
2345 | 2302 | <tr> | ||
2346 | 2303 | <td class="type"> | ||
2347 | 2304 | <span class="no_underline"></span> | ||
2348 | 2305 | </td> | ||
2349 | 2306 | <td> | ||
2350 | 2307 | <tt> | ||
2351 | 2308 | <span class="functName"> | ||
2352 | 2309 | <a href="#substring-before-if-contains-2" title="Performs substring-before, returning the entire string if it does not contain the delimiter">substring-before-if-contains</a> | ||
2353 | 2310 | </span> | ||
2354 | 2311 | <span class="functName"></span> ( | ||
2355 | 2312 | <span class="funcParam"> $arg</span> as xs:string?, | ||
2356 | 2313 | <span class="funcParam"> $delim</span> as xs:string | ||
2357 | 2314 | ) as xs:string?<br /> | ||
2358 | 2315 | <span class="padding"></span> | ||
2359 | 2316 | </tt> | ||
2360 | 2317 | </td> | ||
2361 | 2318 | </tr> | ||
2362 | 2319 | <tr> | ||
2363 | 2320 | <td class="type"> | ||
2364 | 2321 | <span class="no_underline"></span> | ||
2365 | 2322 | </td> | ||
2366 | 2323 | <td> | ||
2367 | 2324 | <tt> | ||
2368 | 2325 | <span class="functName"> | ||
2369 | 2326 | <a href="#substring-before-last-2" title="The substring before the last occurrence of a delimiter">substring-before-last</a> | ||
2370 | 2327 | </span> | ||
2371 | 2328 | <span class="functName"></span> ( | ||
2372 | 2329 | <span class="funcParam"> $arg</span> as xs:string?, | ||
2373 | 2330 | <span class="funcParam"> $delim</span> as xs:string | ||
2374 | 2331 | ) as xs:string<br /> | ||
2375 | 2332 | <span class="padding"></span> | ||
2376 | 2333 | </tt> | ||
2377 | 2334 | </td> | ||
2378 | 2335 | </tr> | ||
2379 | 2336 | <tr> | ||
2380 | 2337 | <td class="type"> | ||
2381 | 2338 | <span class="no_underline"></span> | ||
2382 | 2339 | </td> | ||
2383 | 2340 | <td> | ||
2384 | 2341 | <tt> | ||
2385 | 2342 | <span class="functName"> | ||
2386 | 2343 | <a href="#substring-before-last-match-2" title="The substring after the first text that matches a regex">substring-before-last-match</a> | ||
2387 | 2344 | </span> | ||
2388 | 2345 | <span class="functName"></span> ( | ||
2389 | 2346 | <span class="funcParam"> $arg</span> as xs:string?, | ||
2390 | 2347 | <span class="funcParam"> $regex</span> as xs:string | ||
2391 | 2348 | ) as xs:string?<br /> | ||
2392 | 2349 | <span class="padding"></span> | ||
2393 | 2350 | </tt> | ||
2394 | 2351 | </td> | ||
2395 | 2352 | </tr> | ||
2396 | 2353 | <tr> | ||
2397 | 2354 | <td class="type"> | ||
2398 | 2355 | <span class="no_underline"></span> | ||
2399 | 2356 | </td> | ||
2400 | 2357 | <td> | ||
2401 | 2358 | <tt> | ||
2402 | 2359 | <span class="functName"> | ||
2403 | 2360 | <a href="#substring-before-match-2" title="The substring before the last text that matches a regex">substring-before-match</a> | ||
2404 | 2361 | </span> | ||
2405 | 2362 | <span class="functName"></span> ( | ||
2406 | 2363 | <span class="funcParam"> $arg</span> as xs:string?, | ||
2407 | 2364 | <span class="funcParam"> $regex</span> as xs:string | ||
2408 | 2365 | ) as xs:string<br /> | ||
2409 | 2366 | <span class="padding"></span> | ||
2410 | 2367 | </tt> | ||
2411 | 2368 | </td> | ||
2412 | 2369 | </tr> | ||
2413 | 2370 | <tr> | ||
2414 | 2371 | <td class="type"> | ||
2415 | 2372 | <span class="no_underline"></span> | ||
2416 | 2373 | </td> | ||
2417 | 2374 | <td> | ||
2418 | 2375 | <tt> | ||
2419 | 2376 | <span class="functName"> | ||
2420 | 2377 | <a href="#time-3" title="Construct a time from an hour, minute and second">time</a> | ||
2421 | 2378 | </span> | ||
2422 | 2379 | <span class="functName"></span> ( | ||
2423 | 2380 | <span class="funcParam"> $hour</span> as xs:anyAtomicType, | ||
2424 | 2381 | <span class="funcParam"> $minute</span> as xs:anyAtomicType, | ||
2425 | 2382 | <span class="funcParam"> $second</span> as xs:anyAtomicType | ||
2426 | 2383 | ) as xs:time<br /> | ||
2427 | 2384 | <span class="padding"></span> | ||
2428 | 2385 | </tt> | ||
2429 | 2386 | </td> | ||
2430 | 2387 | </tr> | ||
2431 | 2388 | <tr> | ||
2432 | 2389 | <td class="type"> | ||
2433 | 2390 | <span class="no_underline"></span> | ||
2434 | 2391 | </td> | ||
2435 | 2392 | <td> | ||
2436 | 2393 | <tt> | ||
2437 | 2394 | <span class="functName"> | ||
2438 | 2395 | <a href="#timezone-from-duration-1" title="Converts an xs:dayTimeDuration into a timezone like "-05:00" or "Z"">timezone-from-duration</a> | ||
2439 | 2396 | </span> | ||
2440 | 2397 | <span class="functName"></span> ( | ||
2441 | 2398 | <span class="funcParam"> $duration</span> as xs:dayTimeDuration | ||
2442 | 2399 | ) as xs:string<br /> | ||
2443 | 2400 | <span class="padding"></span> | ||
2444 | 2401 | </tt> | ||
2445 | 2402 | </td> | ||
2446 | 2403 | </tr> | ||
2447 | 2404 | <tr> | ||
2448 | 2405 | <td class="type"> | ||
2449 | 2406 | <span class="no_underline"></span> | ||
2450 | 2407 | </td> | ||
2451 | 2408 | <td> | ||
2452 | 2409 | <tt> | ||
2453 | 2410 | <span class="functName"> | ||
2454 | 2411 | <a href="#total-days-from-duration-1" title="The total number of days in a dayTimeDuration">total-days-from-duration</a> | ||
2455 | 2412 | </span> | ||
2456 | 2413 | <span class="functName"></span> ( | ||
2457 | 2414 | <span class="funcParam"> $duration</span> as xs:dayTimeDuration? | ||
2458 | 2415 | ) as xs:decimal?<br /> | ||
2459 | 2416 | <span class="padding"></span> | ||
2460 | 2417 | </tt> | ||
2461 | 2418 | </td> | ||
2462 | 2419 | </tr> | ||
2463 | 2420 | <tr> | ||
2464 | 2421 | <td class="type"> | ||
2465 | 2422 | <span class="no_underline"></span> | ||
2466 | 2423 | </td> | ||
2467 | 2424 | <td> | ||
2468 | 2425 | <tt> | ||
2469 | 2426 | <span class="functName"> | ||
2470 | 2427 | <a href="#total-hours-from-duration-1" title="The total number of hours in a dayTimeDuration">total-hours-from-duration</a> | ||
2471 | 2428 | </span> | ||
2472 | 2429 | <span class="functName"></span> ( | ||
2473 | 2430 | <span class="funcParam"> $duration</span> as xs:dayTimeDuration? | ||
2474 | 2431 | ) as xs:decimal?<br /> | ||
2475 | 2432 | <span class="padding"></span> | ||
2476 | 2433 | </tt> | ||
2477 | 2434 | </td> | ||
2478 | 2435 | </tr> | ||
2479 | 2436 | <tr> | ||
2480 | 2437 | <td class="type"> | ||
2481 | 2438 | <span class="no_underline"></span> | ||
2482 | 2439 | </td> | ||
2483 | 2440 | <td> | ||
2484 | 2441 | <tt> | ||
2485 | 2442 | <span class="functName"> | ||
2486 | 2443 | <a href="#total-minutes-from-duration-1" title="The total number of minutes in a dayTimeDuration">total-minutes-from-duration</a> | ||
2487 | 2444 | </span> | ||
2488 | 2445 | <span class="functName"></span> ( | ||
2489 | 2446 | <span class="funcParam"> $duration</span> as xs:dayTimeDuration? | ||
2490 | 2447 | ) as xs:decimal?<br /> | ||
2491 | 2448 | <span class="padding"></span> | ||
2492 | 2449 | </tt> | ||
2493 | 2450 | </td> | ||
2494 | 2451 | </tr> | ||
2495 | 2452 | <tr> | ||
2496 | 2453 | <td class="type"> | ||
2497 | 2454 | <span class="no_underline"></span> | ||
2498 | 2455 | </td> | ||
2499 | 2456 | <td> | ||
2500 | 2457 | <tt> | ||
2501 | 2458 | <span class="functName"> | ||
2502 | 2459 | <a href="#total-months-from-duration-1" title="The total number of months in a yearMonthDuration">total-months-from-duration</a> | ||
2503 | 2460 | </span> | ||
2504 | 2461 | <span class="functName"></span> ( | ||
2505 | 2462 | <span class="funcParam"> $duration</span> as xs:yearMonthDuration? | ||
2506 | 2463 | ) as xs:decimal?<br /> | ||
2507 | 2464 | <span class="padding"></span> | ||
2508 | 2465 | </tt> | ||
2509 | 2466 | </td> | ||
2510 | 2467 | </tr> | ||
2511 | 2468 | <tr> | ||
2512 | 2469 | <td class="type"> | ||
2513 | 2470 | <span class="no_underline"></span> | ||
2514 | 2471 | </td> | ||
2515 | 2472 | <td> | ||
2516 | 2473 | <tt> | ||
2517 | 2474 | <span class="functName"> | ||
2518 | 2475 | <a href="#total-seconds-from-duration-1" title="The total number of seconds in a dayTimeDuration">total-seconds-from-duration</a> | ||
2519 | 2476 | </span> | ||
2520 | 2477 | <span class="functName"></span> ( | ||
2521 | 2478 | <span class="funcParam"> $duration</span> as xs:dayTimeDuration? | ||
2522 | 2479 | ) as xs:decimal?<br /> | ||
2523 | 2480 | <span class="padding"></span> | ||
2524 | 2481 | </tt> | ||
2525 | 2482 | </td> | ||
2526 | 2483 | </tr> | ||
2527 | 2484 | <tr> | ||
2528 | 2485 | <td class="type"> | ||
2529 | 2486 | <span class="no_underline"></span> | ||
2530 | 2487 | </td> | ||
2531 | 2488 | <td> | ||
2532 | 2489 | <tt> | ||
2533 | 2490 | <span class="functName"> | ||
2534 | 2491 | <a href="#total-years-from-duration-1" title="The total number of years in a yearMonthDuration">total-years-from-duration</a> | ||
2535 | 2492 | </span> | ||
2536 | 2493 | <span class="functName"></span> ( | ||
2537 | 2494 | <span class="funcParam"> $duration</span> as xs:yearMonthDuration? | ||
2538 | 2495 | ) as xs:decimal?<br /> | ||
2539 | 2496 | <span class="padding"></span> | ||
2540 | 2497 | </tt> | ||
2541 | 2498 | </td> | ||
2542 | 2499 | </tr> | ||
2543 | 2500 | <tr> | ||
2544 | 2501 | <td class="type"> | ||
2545 | 2502 | <span class="no_underline"></span> | ||
2546 | 2503 | </td> | ||
2547 | 2504 | <td> | ||
2548 | 2505 | <tt> | ||
2549 | 2506 | <span class="functName"> | ||
2550 | 2507 | <a href="#trim-1" title="Trims leading and trailing whitespace">trim</a> | ||
2551 | 2508 | </span> | ||
2552 | 2509 | <span class="functName"></span> ( | ||
2553 | 2510 | <span class="funcParam"> $arg</span> as xs:string? | ||
2554 | 2511 | ) as xs:string<br /> | ||
2555 | 2512 | <span class="padding"></span> | ||
2556 | 2513 | </tt> | ||
2557 | 2514 | </td> | ||
2558 | 2515 | </tr> | ||
2559 | 2516 | <tr> | ||
2560 | 2517 | <td class="type"> | ||
2561 | 2518 | <span class="no_underline"></span> | ||
2562 | 2519 | </td> | ||
2563 | 2520 | <td> | ||
2564 | 2521 | <tt> | ||
2565 | 2522 | <span class="functName"> | ||
2566 | 2523 | <a href="#update-attributes-3" title="Updates the attribute value of an XML element">update-attributes</a> | ||
2567 | 2524 | </span> | ||
2568 | 2525 | <span class="functName"></span> ( | ||
2569 | 2526 | <span class="funcParam"> $elements</span> as element(*)*, | ||
2570 | 2527 | <span class="funcParam"> $attrNames</span> as xs:QName*, | ||
2571 | 2528 | <span class="funcParam"> $attrValues</span> as xs:anyAtomicType* | ||
2572 | 2529 | ) as element(*)?<br /> | ||
2573 | 2530 | <span class="padding"></span> | ||
2574 | 2531 | </tt> | ||
2575 | 2532 | </td> | ||
2576 | 2533 | </tr> | ||
2577 | 2534 | <tr> | ||
2578 | 2535 | <td class="type"> | ||
2579 | 2536 | <span class="no_underline"></span> | ||
2580 | 2537 | </td> | ||
2581 | 2538 | <td> | ||
2582 | 2539 | <tt> | ||
2583 | 2540 | <span class="functName"> | ||
2584 | 2541 | <a href="#value-except-2" title="The values in one sequence that aren't in another sequence">value-except</a> | ||
2585 | 2542 | </span> | ||
2586 | 2543 | <span class="functName"></span> ( | ||
2587 | 2544 | <span class="funcParam"> $arg1</span> as xs:anyAtomicType*, | ||
2588 | 2545 | <span class="funcParam"> $arg2</span> as xs:anyAtomicType* | ||
2589 | 2546 | ) as xs:anyAtomicType*<br /> | ||
2590 | 2547 | <span class="padding"></span> | ||
2591 | 2548 | </tt> | ||
2592 | 2549 | </td> | ||
2593 | 2550 | </tr> | ||
2594 | 2551 | <tr> | ||
2595 | 2552 | <td class="type"> | ||
2596 | 2553 | <span class="no_underline"></span> | ||
2597 | 2554 | </td> | ||
2598 | 2555 | <td> | ||
2599 | 2556 | <tt> | ||
2600 | 2557 | <span class="functName"> | ||
2601 | 2558 | <a href="#value-intersect-2" title="The intersection of two sequences of values">value-intersect</a> | ||
2602 | 2559 | </span> | ||
2603 | 2560 | <span class="functName"></span> ( | ||
2604 | 2561 | <span class="funcParam"> $arg1</span> as xs:anyAtomicType*, | ||
2605 | 2562 | <span class="funcParam"> $arg2</span> as xs:anyAtomicType* | ||
2606 | 2563 | ) as xs:anyAtomicType*<br /> | ||
2607 | 2564 | <span class="padding"></span> | ||
2608 | 2565 | </tt> | ||
2609 | 2566 | </td> | ||
2610 | 2567 | </tr> | ||
2611 | 2568 | <tr> | ||
2612 | 2569 | <td class="type"> | ||
2613 | 2570 | <span class="no_underline"></span> | ||
2614 | 2571 | </td> | ||
2615 | 2572 | <td> | ||
2616 | 2573 | <tt> | ||
2617 | 2574 | <span class="functName"> | ||
2618 | 2575 | <a href="#value-union-2" title="The union of two sequences of values">value-union</a> | ||
2619 | 2576 | </span> | ||
2620 | 2577 | <span class="functName"></span> ( | ||
2621 | 2578 | <span class="funcParam"> $arg1</span> as xs:anyAtomicType*, | ||
2622 | 2579 | <span class="funcParam"> $arg2</span> as xs:anyAtomicType* | ||
2623 | 2580 | ) as xs:anyAtomicType*<br /> | ||
2624 | 2581 | <span class="padding"></span> | ||
2625 | 2582 | </tt> | ||
2626 | 2583 | </td> | ||
2627 | 2584 | </tr> | ||
2628 | 2585 | <tr> | ||
2629 | 2586 | <td class="type"> | ||
2630 | 2587 | <span class="no_underline"></span> | ||
2631 | 2588 | </td> | ||
2632 | 2589 | <td> | ||
2633 | 2590 | <tt> | ||
2634 | 2591 | <span class="functName"> | ||
2635 | 2592 | <a href="#word-count-1" title="The number of words">word-count</a> | ||
2636 | 2593 | </span> | ||
2637 | 2594 | <span class="functName"></span> ( | ||
2638 | 2595 | <span class="funcParam"> $arg</span> as xs:string? | ||
2639 | 2596 | ) as xs:integer<br /> | ||
2640 | 2597 | <span class="padding"></span> | ||
2641 | 2598 | </tt> | ||
2642 | 2599 | </td> | ||
2643 | 2600 | </tr> | ||
2644 | 2601 | <tr> | ||
2645 | 2602 | <td class="type"> | ||
2646 | 2603 | <span class="no_underline"></span> | ||
2647 | 2604 | </td> | ||
2648 | 2605 | <td> | ||
2649 | 2606 | <tt> | ||
2650 | 2607 | <span class="functName"> | ||
2651 | 2608 | <a href="#words-to-camel-case-1" title="Turns a string of words into camelCase">words-to-camel-case</a> | ||
2652 | 2609 | </span> | ||
2653 | 2610 | <span class="functName"></span> ( | ||
2654 | 2611 | <span class="funcParam"> $arg</span> as xs:string? | ||
2655 | 2612 | ) as xs:string<br /> | ||
2656 | 2613 | <span class="padding"></span> | ||
2657 | 2614 | </tt> | ||
2658 | 2615 | </td> | ||
2659 | 2616 | </tr> | ||
2660 | 2617 | <tr> | ||
2661 | 2618 | <td class="type"> | ||
2662 | 2619 | <span class="no_underline"></span> | ||
2663 | 2620 | </td> | ||
2664 | 2621 | <td> | ||
2665 | 2622 | <tt> | ||
2666 | 2623 | <span class="functName"> | ||
2667 | 2624 | <a href="#wrap-values-in-elements-2" title="Wraps a sequence of atomic values in XML elements">wrap-values-in-elements</a> | ||
2668 | 2625 | </span> | ||
2669 | 2626 | <span class="functName"></span> ( | ||
2670 | 2627 | <span class="funcParam"> $values</span> as xs:anyAtomicType*, | ||
2671 | 2628 | <span class="funcParam"> $elementName</span> as xs:QName | ||
2672 | 2629 | ) as element(*)*<br /> | ||
2673 | 2630 | <span class="padding"></span> | ||
2674 | 2631 | </tt> | ||
2675 | 2632 | </td> | ||
2676 | 2633 | </tr> | ||
2677 | 2634 | <tr> | ||
2678 | 2635 | <td class="type"> | ||
2679 | 2636 | <span class="no_underline"></span> | ||
2680 | 2637 | </td> | ||
2681 | 2638 | <td> | ||
2682 | 2639 | <tt> | ||
2683 | 2640 | <span class="functName"> | ||
2684 | 2641 | <a href="#yearMonthDuration-2" title="Construct a yearMonthDuration from a number of years and months">yearMonthDuration</a> | ||
2685 | 2642 | </span> | ||
2686 | 2643 | <span class="functName"></span> ( | ||
2687 | 2644 | <span class="funcParam"> $years</span> as xs:decimal?, | ||
2688 | 2645 | <span class="funcParam"> $months</span> as xs:integer? | ||
2689 | 2646 | ) as xs:yearMonthDuration<br /> | ||
2690 | 2647 | <span class="padding"></span> | ||
2691 | 2648 | </tt> | ||
2692 | 2649 | </td> | ||
2693 | 2650 | </tr> | ||
2694 | 2651 | </table> | ||
2695 | 2652 | <div class="section"> | ||
2696 | 2653 | <span id="functions">Functions</span> | ||
2697 | 2654 | </div> | ||
2698 | 2655 | <div class="subsection" id="add-attributes-3"> | ||
2699 | 2656 | <span class="no_underline"></span>add-attributes<a href="#function_summary"> | ||
2700 | 2657 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
2701 | 2658 | </a> | ||
2702 | 2659 | </div> | ||
2703 | 2660 | <pre class="signature">declare function functx:add-attributes<span class="functName"></span> ( | ||
2704 | 2661 | <span class="funcParam"> $elements</span> as element(*)*, | ||
2705 | 2662 | <span class="funcParam"> $attrNames</span> as xs:QName*, | ||
2706 | 2663 | <span class="funcParam"> $attrValues</span> as xs:anyAtomicType* | ||
2707 | 2664 | ) as element(*)?</pre> | ||
2708 | 2665 | <p> Adds attributes to XML elements | ||
2709 | 2666 | </p> | ||
2710 | 2667 | <div class="subsubsection">Parameters:</div> | ||
2711 | 2668 | <ul> | ||
2712 | 2669 | <li>$elements the element(s) to which you wish to add the attribute</li> | ||
2713 | 2670 | <li>$attrNames the name(s) of the attribute(s) to add</li> | ||
2714 | 2671 | <li>$attrValues the value(s) of the attribute(s) to add</li> | ||
2715 | 2672 | </ul> | ||
2716 | 2673 | <div class="subsubsection">Version:</div> | ||
2717 | 2674 | <p class="annotationText">1.0</p> | ||
2718 | 2675 | <div class="subsubsection">Author:</div> | ||
2719 | 2676 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
2720 | 2677 | <div class="subsubsection">See:</div> | ||
2721 | 2678 | <ul> | ||
2722 | 2679 | <li> | ||
2723 | 2680 | <a href="http://www.xqueryfunctions.com/xq/functx_add-attributes.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_add-attributes.html</a> | ||
2724 | 2681 | </li> | ||
2725 | 2682 | </ul> | ||
2726 | 2683 | <hr /> | ||
2727 | 2684 | <div class="subsection" id="add-months-2"> | ||
2728 | 2685 | <span class="no_underline"></span>add-months<a href="#function_summary"> | ||
2729 | 2686 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
2730 | 2687 | </a> | ||
2731 | 2688 | </div> | ||
2732 | 2689 | <pre class="signature">declare function functx:add-months<span class="functName"></span> ( | ||
2733 | 2690 | <span class="funcParam"> $date</span> as xs:anyAtomicType?, | ||
2734 | 2691 | <span class="funcParam"> $months</span> as xs:integer | ||
2735 | 2692 | ) as xs:date?</pre> | ||
2736 | 2693 | <p> Adds months to a date | ||
2737 | 2694 | </p> | ||
2738 | 2695 | <div class="subsubsection">Parameters:</div> | ||
2739 | 2696 | <ul> | ||
2740 | 2697 | <li>$date the date</li> | ||
2741 | 2698 | <li>$months the number of months to add</li> | ||
2742 | 2699 | </ul> | ||
2743 | 2700 | <div class="subsubsection">Version:</div> | ||
2744 | 2701 | <p class="annotationText">1.0</p> | ||
2745 | 2702 | <div class="subsubsection">Author:</div> | ||
2746 | 2703 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
2747 | 2704 | <div class="subsubsection">See:</div> | ||
2748 | 2705 | <ul> | ||
2749 | 2706 | <li> | ||
2750 | 2707 | <a href="http://www.xqueryfunctions.com/xq/functx_add-months.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_add-months.html</a> | ||
2751 | 2708 | </li> | ||
2752 | 2709 | </ul> | ||
2753 | 2710 | <hr /> | ||
2754 | 2711 | <div class="subsection" id="add-or-update-attributes-3"> | ||
2755 | 2712 | <span class="no_underline"></span>add-or-update-attributes<a href="#function_summary"> | ||
2756 | 2713 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
2757 | 2714 | </a> | ||
2758 | 2715 | </div> | ||
2759 | 2716 | <pre class="signature">declare function functx:add-or-update-attributes<span class="functName"></span> ( | ||
2760 | 2717 | <span class="funcParam"> $elements</span> as element(*)*, | ||
2761 | 2718 | <span class="funcParam"> $attrNames</span> as xs:QName*, | ||
2762 | 2719 | <span class="funcParam"> $attrValues</span> as xs:anyAtomicType* | ||
2763 | 2720 | ) as element(*)?</pre> | ||
2764 | 2721 | <p> Adds attributes to XML elements | ||
2765 | 2722 | </p> | ||
2766 | 2723 | <div class="subsubsection">Parameters:</div> | ||
2767 | 2724 | <ul> | ||
2768 | 2725 | <li>$elements the element(s) to which you wish to add the attribute</li> | ||
2769 | 2726 | <li>$attrNames the name(s) of the attribute(s) to add</li> | ||
2770 | 2727 | <li>$attrValues the value(s) of the attribute(s) to add</li> | ||
2771 | 2728 | </ul> | ||
2772 | 2729 | <div class="subsubsection">Version:</div> | ||
2773 | 2730 | <p class="annotationText">1.0</p> | ||
2774 | 2731 | <div class="subsubsection">Author:</div> | ||
2775 | 2732 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
2776 | 2733 | <div class="subsubsection">See:</div> | ||
2777 | 2734 | <ul> | ||
2778 | 2735 | <li> | ||
2779 | 2736 | <a href="http://www.xqueryfunctions.com/xq/functx_add-or-update-attributes.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_add-or-update-attributes.html</a> | ||
2780 | 2737 | </li> | ||
2781 | 2738 | </ul> | ||
2782 | 2739 | <hr /> | ||
2783 | 2740 | <div class="subsection" id="all-whitespace-1"> | ||
2784 | 2741 | <span class="no_underline"></span>all-whitespace<a href="#function_summary"> | ||
2785 | 2742 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
2786 | 2743 | </a> | ||
2787 | 2744 | </div> | ||
2788 | 2745 | <pre class="signature">declare function functx:all-whitespace<span class="functName"></span> ( | ||
2789 | 2746 | <span class="funcParam"> $arg</span> as xs:string? | ||
2790 | 2747 | ) as xs:boolean</pre> | ||
2791 | 2748 | <p> Whether a value is all whitespace or a zero-length string | ||
2792 | 2749 | </p> | ||
2793 | 2750 | <div class="subsubsection">Parameters:</div> | ||
2794 | 2751 | <ul> | ||
2795 | 2752 | <li>$arg the string (or node) to test</li> | ||
2796 | 2753 | </ul> | ||
2797 | 2754 | <div class="subsubsection">Version:</div> | ||
2798 | 2755 | <p class="annotationText">1.0</p> | ||
2799 | 2756 | <div class="subsubsection">Author:</div> | ||
2800 | 2757 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
2801 | 2758 | <div class="subsubsection">See:</div> | ||
2802 | 2759 | <ul> | ||
2803 | 2760 | <li> | ||
2804 | 2761 | <a href="http://www.xqueryfunctions.com/xq/functx_all-whitespace.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_all-whitespace.html</a> | ||
2805 | 2762 | </li> | ||
2806 | 2763 | </ul> | ||
2807 | 2764 | <hr /> | ||
2808 | 2765 | <div class="subsection" id="are-distinct-values-1"> | ||
2809 | 2766 | <span class="no_underline"></span>are-distinct-values<a href="#function_summary"> | ||
2810 | 2767 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
2811 | 2768 | </a> | ||
2812 | 2769 | </div> | ||
2813 | 2770 | <pre class="signature">declare function functx:are-distinct-values<span class="functName"></span> ( | ||
2814 | 2771 | <span class="funcParam"> $seq</span> as xs:anyAtomicType* | ||
2815 | 2772 | ) as xs:boolean</pre> | ||
2816 | 2773 | <p> Whether all the values in a sequence are distinct | ||
2817 | 2774 | </p> | ||
2818 | 2775 | <div class="subsubsection">Parameters:</div> | ||
2819 | 2776 | <ul> | ||
2820 | 2777 | <li>$seq the sequence of values</li> | ||
2821 | 2778 | </ul> | ||
2822 | 2779 | <div class="subsubsection">Version:</div> | ||
2823 | 2780 | <p class="annotationText">1.0</p> | ||
2824 | 2781 | <div class="subsubsection">Author:</div> | ||
2825 | 2782 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
2826 | 2783 | <div class="subsubsection">See:</div> | ||
2827 | 2784 | <ul> | ||
2828 | 2785 | <li> | ||
2829 | 2786 | <a href="http://www.xqueryfunctions.com/xq/functx_are-distinct-values.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_are-distinct-values.html</a> | ||
2830 | 2787 | </li> | ||
2831 | 2788 | </ul> | ||
2832 | 2789 | <hr /> | ||
2833 | 2790 | <div class="subsection" id="atomic-type-1"> | ||
2834 | 2791 | <span class="no_underline"></span>atomic-type<a href="#function_summary"> | ||
2835 | 2792 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
2836 | 2793 | </a> | ||
2837 | 2794 | </div> | ||
2838 | 2795 | <pre class="signature">declare function functx:atomic-type<span class="functName"></span> ( | ||
2839 | 2796 | <span class="funcParam"> $values</span> as xs:anyAtomicType* | ||
2840 | 2797 | ) as xs:string*</pre> | ||
2841 | 2798 | <p> The built-in type of an atomic value | ||
2842 | 2799 | </p> | ||
2843 | 2800 | <div class="subsubsection">Parameters:</div> | ||
2844 | 2801 | <ul> | ||
2845 | 2802 | <li>$values the value(s) whose type you want to determine</li> | ||
2846 | 2803 | </ul> | ||
2847 | 2804 | <div class="subsubsection">Version:</div> | ||
2848 | 2805 | <p class="annotationText">1.0</p> | ||
2849 | 2806 | <div class="subsubsection">Author:</div> | ||
2850 | 2807 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
2851 | 2808 | <div class="subsubsection">See:</div> | ||
2852 | 2809 | <ul> | ||
2853 | 2810 | <li> | ||
2854 | 2811 | <a href="http://www.xqueryfunctions.com/xq/functx_atomic-type.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_atomic-type.html</a> | ||
2855 | 2812 | </li> | ||
2856 | 2813 | </ul> | ||
2857 | 2814 | <hr /> | ||
2858 | 2815 | <div class="subsection" id="avg-empty-is-zero-2"> | ||
2859 | 2816 | <span class="no_underline"></span>avg-empty-is-zero<a href="#function_summary"> | ||
2860 | 2817 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
2861 | 2818 | </a> | ||
2862 | 2819 | </div> | ||
2863 | 2820 | <pre class="signature">declare function functx:avg-empty-is-zero<span class="functName"></span> ( | ||
2864 | 2821 | <span class="funcParam"> $values</span> as xs:anyAtomicType*, | ||
2865 | 2822 | <span class="funcParam"> $allNodes</span> as node()* | ||
2866 | 2823 | ) as xs:double</pre> | ||
2867 | 2824 | <p> The average, counting "empty" values as zero | ||
2868 | 2825 | </p> | ||
2869 | 2826 | <div class="subsubsection">Parameters:</div> | ||
2870 | 2827 | <ul> | ||
2871 | 2828 | <li>$values the values to be averaged</li> | ||
2872 | 2829 | <li>$allNodes the sequence of all nodes to find the average over</li> | ||
2873 | 2830 | </ul> | ||
2874 | 2831 | <div class="subsubsection">Version:</div> | ||
2875 | 2832 | <p class="annotationText">1.0</p> | ||
2876 | 2833 | <div class="subsubsection">Author:</div> | ||
2877 | 2834 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
2878 | 2835 | <div class="subsubsection">See:</div> | ||
2879 | 2836 | <ul> | ||
2880 | 2837 | <li> | ||
2881 | 2838 | <a href="http://www.xqueryfunctions.com/xq/functx_avg-empty-is-zero.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_avg-empty-is-zero.html</a> | ||
2882 | 2839 | </li> | ||
2883 | 2840 | </ul> | ||
2884 | 2841 | <hr /> | ||
2885 | 2842 | <div class="subsection" id="between-exclusive-3"> | ||
2886 | 2843 | <span class="no_underline"></span>between-exclusive<a href="#function_summary"> | ||
2887 | 2844 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
2888 | 2845 | </a> | ||
2889 | 2846 | </div> | ||
2890 | 2847 | <pre class="signature">declare function functx:between-exclusive<span class="functName"></span> ( | ||
2891 | 2848 | <span class="funcParam"> $value</span> as xs:anyAtomicType?, | ||
2892 | 2849 | <span class="funcParam"> $minValue</span> as xs:anyAtomicType, | ||
2893 | 2850 | <span class="funcParam"> $maxValue</span> as xs:anyAtomicType | ||
2894 | 2851 | ) as xs:boolean</pre> | ||
2895 | 2852 | <p> Whether a value is between two provided values | ||
2896 | 2853 | </p> | ||
2897 | 2854 | <div class="subsubsection">Parameters:</div> | ||
2898 | 2855 | <ul> | ||
2899 | 2856 | <li>$value the value to be tested</li> | ||
2900 | 2857 | <li>$minValue the minimum value</li> | ||
2901 | 2858 | <li>$maxValue the maximum value</li> | ||
2902 | 2859 | </ul> | ||
2903 | 2860 | <div class="subsubsection">Version:</div> | ||
2904 | 2861 | <p class="annotationText">1.0</p> | ||
2905 | 2862 | <div class="subsubsection">Author:</div> | ||
2906 | 2863 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
2907 | 2864 | <div class="subsubsection">See:</div> | ||
2908 | 2865 | <ul> | ||
2909 | 2866 | <li> | ||
2910 | 2867 | <a href="http://www.xqueryfunctions.com/xq/functx_between-exclusive.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_between-exclusive.html</a> | ||
2911 | 2868 | </li> | ||
2912 | 2869 | </ul> | ||
2913 | 2870 | <hr /> | ||
2914 | 2871 | <div class="subsection" id="between-inclusive-3"> | ||
2915 | 2872 | <span class="no_underline"></span>between-inclusive<a href="#function_summary"> | ||
2916 | 2873 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
2917 | 2874 | </a> | ||
2918 | 2875 | </div> | ||
2919 | 2876 | <pre class="signature">declare function functx:between-inclusive<span class="functName"></span> ( | ||
2920 | 2877 | <span class="funcParam"> $value</span> as xs:anyAtomicType?, | ||
2921 | 2878 | <span class="funcParam"> $minValue</span> as xs:anyAtomicType, | ||
2922 | 2879 | <span class="funcParam"> $maxValue</span> as xs:anyAtomicType | ||
2923 | 2880 | ) as xs:boolean</pre> | ||
2924 | 2881 | <p> Whether a value is between two provided values, or equal to one of them | ||
2925 | 2882 | </p> | ||
2926 | 2883 | <div class="subsubsection">Parameters:</div> | ||
2927 | 2884 | <ul> | ||
2928 | 2885 | <li>$value the value to be tested</li> | ||
2929 | 2886 | <li>$minValue the minimum value</li> | ||
2930 | 2887 | <li>$maxValue the maximum value</li> | ||
2931 | 2888 | </ul> | ||
2932 | 2889 | <div class="subsubsection">Version:</div> | ||
2933 | 2890 | <p class="annotationText">1.0</p> | ||
2934 | 2891 | <div class="subsubsection">Author:</div> | ||
2935 | 2892 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
2936 | 2893 | <div class="subsubsection">See:</div> | ||
2937 | 2894 | <ul> | ||
2938 | 2895 | <li> | ||
2939 | 2896 | <a href="http://www.xqueryfunctions.com/xq/functx_between-inclusive.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_between-inclusive.html</a> | ||
2940 | 2897 | </li> | ||
2941 | 2898 | </ul> | ||
2942 | 2899 | <hr /> | ||
2943 | 2900 | <div class="subsection" id="camel-case-to-words-2"> | ||
2944 | 2901 | <span class="no_underline"></span>camel-case-to-words<a href="#function_summary"> | ||
2945 | 2902 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
2946 | 2903 | </a> | ||
2947 | 2904 | </div> | ||
2948 | 2905 | <pre class="signature">declare function functx:camel-case-to-words<span class="functName"></span> ( | ||
2949 | 2906 | <span class="funcParam"> $arg</span> as xs:string?, | ||
2950 | 2907 | <span class="funcParam"> $delim</span> as xs:string | ||
2951 | 2908 | ) as xs:string</pre> | ||
2952 | 2909 | <p> Turns a camelCase string into space-separated words | ||
2953 | 2910 | </p> | ||
2954 | 2911 | <div class="subsubsection">Parameters:</div> | ||
2955 | 2912 | <ul> | ||
2956 | 2913 | <li>$arg the string to modify</li> | ||
2957 | 2914 | <li>$delim the delimiter for the words (e.g. a space)</li> | ||
2958 | 2915 | </ul> | ||
2959 | 2916 | <div class="subsubsection">Version:</div> | ||
2960 | 2917 | <p class="annotationText">1.0</p> | ||
2961 | 2918 | <div class="subsubsection">Author:</div> | ||
2962 | 2919 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
2963 | 2920 | <div class="subsubsection">See:</div> | ||
2964 | 2921 | <ul> | ||
2965 | 2922 | <li> | ||
2966 | 2923 | <a href="http://www.xqueryfunctions.com/xq/functx_camel-case-to-words.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_camel-case-to-words.html</a> | ||
2967 | 2924 | </li> | ||
2968 | 2925 | </ul> | ||
2969 | 2926 | <hr /> | ||
2970 | 2927 | <div class="subsection" id="capitalize-first-1"> | ||
2971 | 2928 | <span class="no_underline"></span>capitalize-first<a href="#function_summary"> | ||
2972 | 2929 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
2973 | 2930 | </a> | ||
2974 | 2931 | </div> | ||
2975 | 2932 | <pre class="signature">declare function functx:capitalize-first<span class="functName"></span> ( | ||
2976 | 2933 | <span class="funcParam"> $arg</span> as xs:string? | ||
2977 | 2934 | ) as xs:string?</pre> | ||
2978 | 2935 | <p> Capitalizes the first character of a string | ||
2979 | 2936 | </p> | ||
2980 | 2937 | <div class="subsubsection">Parameters:</div> | ||
2981 | 2938 | <ul> | ||
2982 | 2939 | <li>$arg the word or phrase to capitalize</li> | ||
2983 | 2940 | </ul> | ||
2984 | 2941 | <div class="subsubsection">Version:</div> | ||
2985 | 2942 | <p class="annotationText">1.0</p> | ||
2986 | 2943 | <div class="subsubsection">Author:</div> | ||
2987 | 2944 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
2988 | 2945 | <div class="subsubsection">See:</div> | ||
2989 | 2946 | <ul> | ||
2990 | 2947 | <li> | ||
2991 | 2948 | <a href="http://www.xqueryfunctions.com/xq/functx_capitalize-first.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_capitalize-first.html</a> | ||
2992 | 2949 | </li> | ||
2993 | 2950 | </ul> | ||
2994 | 2951 | <hr /> | ||
2995 | 2952 | <div class="subsection" id="change-element-names-deep-3"> | ||
2996 | 2953 | <span class="no_underline"></span>change-element-names-deep<a href="#function_summary"> | ||
2997 | 2954 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
2998 | 2955 | </a> | ||
2999 | 2956 | </div> | ||
3000 | 2957 | <pre class="signature">declare function functx:change-element-names-deep<span class="functName"></span> ( | ||
3001 | 2958 | <span class="funcParam"> $nodes</span> as node()*, | ||
3002 | 2959 | <span class="funcParam"> $oldNames</span> as xs:QName*, | ||
3003 | 2960 | <span class="funcParam"> $newNames</span> as xs:QName* | ||
3004 | 2961 | ) as node()*</pre> | ||
3005 | 2962 | <p> Changes the names of elements in an XML fragment | ||
3006 | 2963 | </p> | ||
3007 | 2964 | <div class="subsubsection">Parameters:</div> | ||
3008 | 2965 | <ul> | ||
3009 | 2966 | <li>$nodes the element(s) to change</li> | ||
3010 | 2967 | <li>$oldNames the sequence of names to change from</li> | ||
3011 | 2968 | <li>$newNames the sequence of names to change to</li> | ||
3012 | 2969 | </ul> | ||
3013 | 2970 | <div class="subsubsection">Version:</div> | ||
3014 | 2971 | <p class="annotationText">1.0</p> | ||
3015 | 2972 | <div class="subsubsection">Author:</div> | ||
3016 | 2973 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
3017 | 2974 | <div class="subsubsection">See:</div> | ||
3018 | 2975 | <ul> | ||
3019 | 2976 | <li> | ||
3020 | 2977 | <a href="http://www.xqueryfunctions.com/xq/functx_change-element-names-deep.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_change-element-names-deep.html</a> | ||
3021 | 2978 | </li> | ||
3022 | 2979 | </ul> | ||
3023 | 2980 | <hr /> | ||
3024 | 2981 | <div class="subsection" id="change-element-ns-3"> | ||
3025 | 2982 | <span class="no_underline"></span>change-element-ns<a href="#function_summary"> | ||
3026 | 2983 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
3027 | 2984 | </a> | ||
3028 | 2985 | </div> | ||
3029 | 2986 | <pre class="signature">declare function functx:change-element-ns<span class="functName"></span> ( | ||
3030 | 2987 | <span class="funcParam"> $elements</span> as element(*)*, | ||
3031 | 2988 | <span class="funcParam"> $newns</span> as xs:string, | ||
3032 | 2989 | <span class="funcParam"> $prefix</span> as xs:string | ||
3033 | 2990 | ) as element(*)?</pre> | ||
3034 | 2991 | <p> Changes the namespace of XML elements | ||
3035 | 2992 | </p> | ||
3036 | 2993 | <div class="subsubsection">Parameters:</div> | ||
3037 | 2994 | <ul> | ||
3038 | 2995 | <li>$elements the elements to change</li> | ||
3039 | 2996 | <li>$newns the new namespace</li> | ||
3040 | 2997 | <li>$prefix the prefix to use for the new namespace</li> | ||
3041 | 2998 | </ul> | ||
3042 | 2999 | <div class="subsubsection">Version:</div> | ||
3043 | 3000 | <p class="annotationText">1.0</p> | ||
3044 | 3001 | <div class="subsubsection">Author:</div> | ||
3045 | 3002 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
3046 | 3003 | <div class="subsubsection">See:</div> | ||
3047 | 3004 | <ul> | ||
3048 | 3005 | <li> | ||
3049 | 3006 | <a href="http://www.xqueryfunctions.com/xq/functx_change-element-ns.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_change-element-ns.html</a> | ||
3050 | 3007 | </li> | ||
3051 | 3008 | </ul> | ||
3052 | 3009 | <hr /> | ||
3053 | 3010 | <div class="subsection" id="change-element-ns-deep-3"> | ||
3054 | 3011 | <span class="no_underline"></span>change-element-ns-deep<a href="#function_summary"> | ||
3055 | 3012 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
3056 | 3013 | </a> | ||
3057 | 3014 | </div> | ||
3058 | 3015 | <pre class="signature">declare function functx:change-element-ns-deep<span class="functName"></span> ( | ||
3059 | 3016 | <span class="funcParam"> $nodes</span> as node()*, | ||
3060 | 3017 | <span class="funcParam"> $newns</span> as xs:string, | ||
3061 | 3018 | <span class="funcParam"> $prefix</span> as xs:string | ||
3062 | 3019 | ) as node()*</pre> | ||
3063 | 3020 | <p> Changes the namespace of XML elements and its descendants | ||
3064 | 3021 | </p> | ||
3065 | 3022 | <div class="subsubsection">Parameters:</div> | ||
3066 | 3023 | <ul> | ||
3067 | 3024 | <li>$nodes the nodes to change</li> | ||
3068 | 3025 | <li>$newns the new namespace</li> | ||
3069 | 3026 | <li>$prefix the prefix to use for the new namespace</li> | ||
3070 | 3027 | </ul> | ||
3071 | 3028 | <div class="subsubsection">Version:</div> | ||
3072 | 3029 | <p class="annotationText">1.0</p> | ||
3073 | 3030 | <div class="subsubsection">Author:</div> | ||
3074 | 3031 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
3075 | 3032 | <div class="subsubsection">See:</div> | ||
3076 | 3033 | <ul> | ||
3077 | 3034 | <li> | ||
3078 | 3035 | <a href="http://www.xqueryfunctions.com/xq/functx_change-element-ns-deep.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_change-element-ns-deep.html</a> | ||
3079 | 3036 | </li> | ||
3080 | 3037 | </ul> | ||
3081 | 3038 | <hr /> | ||
3082 | 3039 | <div class="subsection" id="chars-1"> | ||
3083 | 3040 | <span class="no_underline"></span>chars<a href="#function_summary"> | ||
3084 | 3041 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
3085 | 3042 | </a> | ||
3086 | 3043 | </div> | ||
3087 | 3044 | <pre class="signature">declare function functx:chars<span class="functName"></span> ( | ||
3088 | 3045 | <span class="funcParam"> $arg</span> as xs:string? | ||
3089 | 3046 | ) as xs:string*</pre> | ||
3090 | 3047 | <p> Converts a string to a sequence of characters | ||
3091 | 3048 | </p> | ||
3092 | 3049 | <div class="subsubsection">Parameters:</div> | ||
3093 | 3050 | <ul> | ||
3094 | 3051 | <li>$arg the string to split</li> | ||
3095 | 3052 | </ul> | ||
3096 | 3053 | <div class="subsubsection">Version:</div> | ||
3097 | 3054 | <p class="annotationText">1.0</p> | ||
3098 | 3055 | <div class="subsubsection">Author:</div> | ||
3099 | 3056 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
3100 | 3057 | <div class="subsubsection">See:</div> | ||
3101 | 3058 | <ul> | ||
3102 | 3059 | <li> | ||
3103 | 3060 | <a href="http://www.xqueryfunctions.com/xq/functx_chars.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_chars.html</a> | ||
3104 | 3061 | </li> | ||
3105 | 3062 | </ul> | ||
3106 | 3063 | <hr /> | ||
3107 | 3064 | <div class="subsection" id="contains-any-of-2"> | ||
3108 | 3065 | <span class="no_underline"></span>contains-any-of<a href="#function_summary"> | ||
3109 | 3066 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
3110 | 3067 | </a> | ||
3111 | 3068 | </div> | ||
3112 | 3069 | <pre class="signature">declare function functx:contains-any-of<span class="functName"></span> ( | ||
3113 | 3070 | <span class="funcParam"> $arg</span> as xs:string?, | ||
3114 | 3071 | <span class="funcParam"> $searchStrings</span> as xs:string* | ||
3115 | 3072 | ) as xs:boolean</pre> | ||
3116 | 3073 | <p> Whether a string contains any of a sequence of strings | ||
3117 | 3074 | </p> | ||
3118 | 3075 | <div class="subsubsection">Parameters:</div> | ||
3119 | 3076 | <ul> | ||
3120 | 3077 | <li>$arg the string to test</li> | ||
3121 | 3078 | <li>$searchStrings the strings to look for</li> | ||
3122 | 3079 | </ul> | ||
3123 | 3080 | <div class="subsubsection">Version:</div> | ||
3124 | 3081 | <p class="annotationText">1.0</p> | ||
3125 | 3082 | <div class="subsubsection">Author:</div> | ||
3126 | 3083 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
3127 | 3084 | <div class="subsubsection">See:</div> | ||
3128 | 3085 | <ul> | ||
3129 | 3086 | <li> | ||
3130 | 3087 | <a href="http://www.xqueryfunctions.com/xq/functx_contains-any-of.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_contains-any-of.html</a> | ||
3131 | 3088 | </li> | ||
3132 | 3089 | </ul> | ||
3133 | 3090 | <hr /> | ||
3134 | 3091 | <div class="subsection" id="contains-case-insensitive-2"> | ||
3135 | 3092 | <span class="no_underline"></span>contains-case-insensitive<a href="#function_summary"> | ||
3136 | 3093 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
3137 | 3094 | </a> | ||
3138 | 3095 | </div> | ||
3139 | 3096 | <pre class="signature">declare function functx:contains-case-insensitive<span class="functName"></span> ( | ||
3140 | 3097 | <span class="funcParam"> $arg</span> as xs:string?, | ||
3141 | 3098 | <span class="funcParam"> $substring</span> as xs:string | ||
3142 | 3099 | ) as xs:boolean?</pre> | ||
3143 | 3100 | <p> Whether one string contains another, without regard to case | ||
3144 | 3101 | </p> | ||
3145 | 3102 | <div class="subsubsection">Parameters:</div> | ||
3146 | 3103 | <ul> | ||
3147 | 3104 | <li>$arg the string to search</li> | ||
3148 | 3105 | <li>$substring the substring to find</li> | ||
3149 | 3106 | </ul> | ||
3150 | 3107 | <div class="subsubsection">Version:</div> | ||
3151 | 3108 | <p class="annotationText">1.0</p> | ||
3152 | 3109 | <div class="subsubsection">Author:</div> | ||
3153 | 3110 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
3154 | 3111 | <div class="subsubsection">See:</div> | ||
3155 | 3112 | <ul> | ||
3156 | 3113 | <li> | ||
3157 | 3114 | <a href="http://www.xqueryfunctions.com/xq/functx_contains-case-insensitive.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_contains-case-insensitive.html</a> | ||
3158 | 3115 | </li> | ||
3159 | 3116 | </ul> | ||
3160 | 3117 | <hr /> | ||
3161 | 3118 | <div class="subsection" id="contains-word-2"> | ||
3162 | 3119 | <span class="no_underline"></span>contains-word<a href="#function_summary"> | ||
3163 | 3120 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
3164 | 3121 | </a> | ||
3165 | 3122 | </div> | ||
3166 | 3123 | <pre class="signature">declare function functx:contains-word<span class="functName"></span> ( | ||
3167 | 3124 | <span class="funcParam"> $arg</span> as xs:string?, | ||
3168 | 3125 | <span class="funcParam"> $word</span> as xs:string | ||
3169 | 3126 | ) as xs:boolean</pre> | ||
3170 | 3127 | <p> Whether one string contains another, as a separate word | ||
3171 | 3128 | </p> | ||
3172 | 3129 | <div class="subsubsection">Parameters:</div> | ||
3173 | 3130 | <ul> | ||
3174 | 3131 | <li>$arg the string to search</li> | ||
3175 | 3132 | <li>$word the word to find</li> | ||
3176 | 3133 | </ul> | ||
3177 | 3134 | <div class="subsubsection">Version:</div> | ||
3178 | 3135 | <p class="annotationText">1.0</p> | ||
3179 | 3136 | <div class="subsubsection">Author:</div> | ||
3180 | 3137 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
3181 | 3138 | <div class="subsubsection">See:</div> | ||
3182 | 3139 | <ul> | ||
3183 | 3140 | <li> | ||
3184 | 3141 | <a href="http://www.xqueryfunctions.com/xq/functx_contains-word.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_contains-word.html</a> | ||
3185 | 3142 | </li> | ||
3186 | 3143 | </ul> | ||
3187 | 3144 | <hr /> | ||
3188 | 3145 | <div class="subsection" id="copy-attributes-2"> | ||
3189 | 3146 | <span class="no_underline"></span>copy-attributes<a href="#function_summary"> | ||
3190 | 3147 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
3191 | 3148 | </a> | ||
3192 | 3149 | </div> | ||
3193 | 3150 | <pre class="signature">declare function functx:copy-attributes<span class="functName"></span> ( | ||
3194 | 3151 | <span class="funcParam"> $copyTo</span> as element(*), | ||
3195 | 3152 | <span class="funcParam"> $copyFrom</span> as element(*) | ||
3196 | 3153 | ) as element(*)</pre> | ||
3197 | 3154 | <p> Copies attributes from one element to another | ||
3198 | 3155 | </p> | ||
3199 | 3156 | <div class="subsubsection">Parameters:</div> | ||
3200 | 3157 | <ul> | ||
3201 | 3158 | <li>$copyTo the element to copy attributes to</li> | ||
3202 | 3159 | <li>$copyFrom the element to copy attributes from</li> | ||
3203 | 3160 | </ul> | ||
3204 | 3161 | <div class="subsubsection">Version:</div> | ||
3205 | 3162 | <p class="annotationText">1.0</p> | ||
3206 | 3163 | <div class="subsubsection">Author:</div> | ||
3207 | 3164 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
3208 | 3165 | <div class="subsubsection">See:</div> | ||
3209 | 3166 | <ul> | ||
3210 | 3167 | <li> | ||
3211 | 3168 | <a href="http://www.xqueryfunctions.com/xq/functx_copy-attributes.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_copy-attributes.html</a> | ||
3212 | 3169 | </li> | ||
3213 | 3170 | </ul> | ||
3214 | 3171 | <hr /> | ||
3215 | 3172 | <div class="subsection" id="date-3"> | ||
3216 | 3173 | <span class="no_underline"></span>date<a href="#function_summary"> | ||
3217 | 3174 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
3218 | 3175 | </a> | ||
3219 | 3176 | </div> | ||
3220 | 3177 | <pre class="signature">declare function functx:date<span class="functName"></span> ( | ||
3221 | 3178 | <span class="funcParam"> $year</span> as xs:anyAtomicType, | ||
3222 | 3179 | <span class="funcParam"> $month</span> as xs:anyAtomicType, | ||
3223 | 3180 | <span class="funcParam"> $day</span> as xs:anyAtomicType | ||
3224 | 3181 | ) as xs:date</pre> | ||
3225 | 3182 | <p> Construct a date from a year, month and day | ||
3226 | 3183 | </p> | ||
3227 | 3184 | <div class="subsubsection">Parameters:</div> | ||
3228 | 3185 | <ul> | ||
3229 | 3186 | <li>$year the year</li> | ||
3230 | 3187 | <li>$month the month</li> | ||
3231 | 3188 | <li>$day the day</li> | ||
3232 | 3189 | </ul> | ||
3233 | 3190 | <div class="subsubsection">Version:</div> | ||
3234 | 3191 | <p class="annotationText">1.0</p> | ||
3235 | 3192 | <div class="subsubsection">Author:</div> | ||
3236 | 3193 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
3237 | 3194 | <div class="subsubsection">See:</div> | ||
3238 | 3195 | <ul> | ||
3239 | 3196 | <li> | ||
3240 | 3197 | <a href="http://www.xqueryfunctions.com/xq/functx_date.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_date.html</a> | ||
3241 | 3198 | </li> | ||
3242 | 3199 | </ul> | ||
3243 | 3200 | <hr /> | ||
3244 | 3201 | <div class="subsection" id="dateTime-6"> | ||
3245 | 3202 | <span class="no_underline"></span>dateTime<a href="#function_summary"> | ||
3246 | 3203 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
3247 | 3204 | </a> | ||
3248 | 3205 | </div> | ||
3249 | 3206 | <pre class="signature">declare function functx:dateTime<span class="functName"></span> ( | ||
3250 | 3207 | <span class="funcParam"> $year</span> as xs:anyAtomicType, | ||
3251 | 3208 | <span class="funcParam"> $month</span> as xs:anyAtomicType, | ||
3252 | 3209 | <span class="funcParam"> $day</span> as xs:anyAtomicType, | ||
3253 | 3210 | <span class="funcParam"> $hour</span> as xs:anyAtomicType, | ||
3254 | 3211 | <span class="funcParam"> $minute</span> as xs:anyAtomicType, | ||
3255 | 3212 | <span class="funcParam"> $second</span> as xs:anyAtomicType | ||
3256 | 3213 | ) as xs:dateTime</pre> | ||
3257 | 3214 | <p> Construct a date/time from individual components | ||
3258 | 3215 | </p> | ||
3259 | 3216 | <div class="subsubsection">Parameters:</div> | ||
3260 | 3217 | <ul> | ||
3261 | 3218 | <li>$year the year</li> | ||
3262 | 3219 | <li>$month the month</li> | ||
3263 | 3220 | <li>$day the day</li> | ||
3264 | 3221 | <li>$hour the hour</li> | ||
3265 | 3222 | <li>$minute the minute</li> | ||
3266 | 3223 | <li>$second the second</li> | ||
3267 | 3224 | </ul> | ||
3268 | 3225 | <div class="subsubsection">Version:</div> | ||
3269 | 3226 | <p class="annotationText">1.0</p> | ||
3270 | 3227 | <div class="subsubsection">Author:</div> | ||
3271 | 3228 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
3272 | 3229 | <div class="subsubsection">See:</div> | ||
3273 | 3230 | <ul> | ||
3274 | 3231 | <li> | ||
3275 | 3232 | <a href="http://www.xqueryfunctions.com/xq/functx_datetime.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_datetime.html</a> | ||
3276 | 3233 | </li> | ||
3277 | 3234 | </ul> | ||
3278 | 3235 | <hr /> | ||
3279 | 3236 | <div class="subsection" id="day-in-year-1"> | ||
3280 | 3237 | <span class="no_underline"></span>day-in-year<a href="#function_summary"> | ||
3281 | 3238 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
3282 | 3239 | </a> | ||
3283 | 3240 | </div> | ||
3284 | 3241 | <pre class="signature">declare function functx:day-in-year<span class="functName"></span> ( | ||
3285 | 3242 | <span class="funcParam"> $date</span> as xs:anyAtomicType? | ||
3286 | 3243 | ) as xs:integer?</pre> | ||
3287 | 3244 | <p> The day of the year (a number between 1 and 366) | ||
3288 | 3245 | </p> | ||
3289 | 3246 | <div class="subsubsection">Parameters:</div> | ||
3290 | 3247 | <ul> | ||
3291 | 3248 | <li>$date the date</li> | ||
3292 | 3249 | </ul> | ||
3293 | 3250 | <div class="subsubsection">Version:</div> | ||
3294 | 3251 | <p class="annotationText">1.0</p> | ||
3295 | 3252 | <div class="subsubsection">Author:</div> | ||
3296 | 3253 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
3297 | 3254 | <div class="subsubsection">See:</div> | ||
3298 | 3255 | <ul> | ||
3299 | 3256 | <li> | ||
3300 | 3257 | <a href="http://www.xqueryfunctions.com/xq/functx_day-in-year.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_day-in-year.html</a> | ||
3301 | 3258 | </li> | ||
3302 | 3259 | </ul> | ||
3303 | 3260 | <hr /> | ||
3304 | 3261 | <div class="subsection" id="day-of-week-1"> | ||
3305 | 3262 | <span class="no_underline"></span>day-of-week<a href="#function_summary"> | ||
3306 | 3263 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
3307 | 3264 | </a> | ||
3308 | 3265 | </div> | ||
3309 | 3266 | <pre class="signature">declare function functx:day-of-week<span class="functName"></span> ( | ||
3310 | 3267 | <span class="funcParam"> $date</span> as xs:anyAtomicType? | ||
3311 | 3268 | ) as xs:integer?</pre> | ||
3312 | 3269 | <p> The day of the week, from a date | ||
3313 | 3270 | </p> | ||
3314 | 3271 | <div class="subsubsection">Parameters:</div> | ||
3315 | 3272 | <ul> | ||
3316 | 3273 | <li>$date the date</li> | ||
3317 | 3274 | </ul> | ||
3318 | 3275 | <div class="subsubsection">Version:</div> | ||
3319 | 3276 | <p class="annotationText">1.0</p> | ||
3320 | 3277 | <div class="subsubsection">Author:</div> | ||
3321 | 3278 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
3322 | 3279 | <div class="subsubsection">See:</div> | ||
3323 | 3280 | <ul> | ||
3324 | 3281 | <li> | ||
3325 | 3282 | <a href="http://www.xqueryfunctions.com/xq/functx_day-of-week.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_day-of-week.html</a> | ||
3326 | 3283 | </li> | ||
3327 | 3284 | </ul> | ||
3328 | 3285 | <hr /> | ||
3329 | 3286 | <div class="subsection" id="day-of-week-abbrev-en-1"> | ||
3330 | 3287 | <span class="no_underline"></span>day-of-week-abbrev-en<a href="#function_summary"> | ||
3331 | 3288 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
3332 | 3289 | </a> | ||
3333 | 3290 | </div> | ||
3334 | 3291 | <pre class="signature">declare function functx:day-of-week-abbrev-en<span class="functName"></span> ( | ||
3335 | 3292 | <span class="funcParam"> $date</span> as xs:anyAtomicType? | ||
3336 | 3293 | ) as xs:string?</pre> | ||
3337 | 3294 | <p> The abbreviated day of the week, from a date, in English | ||
3338 | 3295 | </p> | ||
3339 | 3296 | <div class="subsubsection">Parameters:</div> | ||
3340 | 3297 | <ul> | ||
3341 | 3298 | <li>$date the date</li> | ||
3342 | 3299 | </ul> | ||
3343 | 3300 | <div class="subsubsection">Version:</div> | ||
3344 | 3301 | <p class="annotationText">1.0</p> | ||
3345 | 3302 | <div class="subsubsection">Author:</div> | ||
3346 | 3303 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
3347 | 3304 | <div class="subsubsection">See:</div> | ||
3348 | 3305 | <ul> | ||
3349 | 3306 | <li> | ||
3350 | 3307 | <a href="http://www.xqueryfunctions.com/xq/functx_day-of-week-abbrev-en.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_day-of-week-abbrev-en.html</a> | ||
3351 | 3308 | </li> | ||
3352 | 3309 | </ul> | ||
3353 | 3310 | <hr /> | ||
3354 | 3311 | <div class="subsection" id="day-of-week-name-en-1"> | ||
3355 | 3312 | <span class="no_underline"></span>day-of-week-name-en<a href="#function_summary"> | ||
3356 | 3313 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
3357 | 3314 | </a> | ||
3358 | 3315 | </div> | ||
3359 | 3316 | <pre class="signature">declare function functx:day-of-week-name-en<span class="functName"></span> ( | ||
3360 | 3317 | <span class="funcParam"> $date</span> as xs:anyAtomicType? | ||
3361 | 3318 | ) as xs:string?</pre> | ||
3362 | 3319 | <p> The name of the day of the week, from a date, in English | ||
3363 | 3320 | </p> | ||
3364 | 3321 | <div class="subsubsection">Parameters:</div> | ||
3365 | 3322 | <ul> | ||
3366 | 3323 | <li>$date the date</li> | ||
3367 | 3324 | </ul> | ||
3368 | 3325 | <div class="subsubsection">Version:</div> | ||
3369 | 3326 | <p class="annotationText">1.0</p> | ||
3370 | 3327 | <div class="subsubsection">Author:</div> | ||
3371 | 3328 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
3372 | 3329 | <div class="subsubsection">See:</div> | ||
3373 | 3330 | <ul> | ||
3374 | 3331 | <li> | ||
3375 | 3332 | <a href="http://www.xqueryfunctions.com/xq/functx_day-of-week-name-en.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_day-of-week-name-en.html</a> | ||
3376 | 3333 | </li> | ||
3377 | 3334 | </ul> | ||
3378 | 3335 | <hr /> | ||
3379 | 3336 | <div class="subsection" id="dayTimeDuration-4"> | ||
3380 | 3337 | <span class="no_underline"></span>dayTimeDuration<a href="#function_summary"> | ||
3381 | 3338 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
3382 | 3339 | </a> | ||
3383 | 3340 | </div> | ||
3384 | 3341 | <pre class="signature">declare function functx:dayTimeDuration<span class="functName"></span> ( | ||
3385 | 3342 | <span class="funcParam"> $days</span> as xs:decimal?, | ||
3386 | 3343 | <span class="funcParam"> $hours</span> as xs:decimal?, | ||
3387 | 3344 | <span class="funcParam"> $minutes</span> as xs:decimal?, | ||
3388 | 3345 | <span class="funcParam"> $seconds</span> as xs:decimal? | ||
3389 | 3346 | ) as xs:dayTimeDuration</pre> | ||
3390 | 3347 | <p> Construct a dayTimeDuration from a number of days, hours, etc. | ||
3391 | 3348 | </p> | ||
3392 | 3349 | <div class="subsubsection">Parameters:</div> | ||
3393 | 3350 | <ul> | ||
3394 | 3351 | <li>$days the number of days</li> | ||
3395 | 3352 | <li>$hours the number of hours</li> | ||
3396 | 3353 | <li>$minutes the number of minutes</li> | ||
3397 | 3354 | <li>$seconds the number of seconds</li> | ||
3398 | 3355 | </ul> | ||
3399 | 3356 | <div class="subsubsection">Version:</div> | ||
3400 | 3357 | <p class="annotationText">1.0</p> | ||
3401 | 3358 | <div class="subsubsection">Author:</div> | ||
3402 | 3359 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
3403 | 3360 | <div class="subsubsection">See:</div> | ||
3404 | 3361 | <ul> | ||
3405 | 3362 | <li> | ||
3406 | 3363 | <a href="http://www.xqueryfunctions.com/xq/functx_daytimeduration.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_daytimeduration.html</a> | ||
3407 | 3364 | </li> | ||
3408 | 3365 | </ul> | ||
3409 | 3366 | <hr /> | ||
3410 | 3367 | <div class="subsection" id="days-in-month-1"> | ||
3411 | 3368 | <span class="no_underline"></span>days-in-month<a href="#function_summary"> | ||
3412 | 3369 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
3413 | 3370 | </a> | ||
3414 | 3371 | </div> | ||
3415 | 3372 | <pre class="signature">declare function functx:days-in-month<span class="functName"></span> ( | ||
3416 | 3373 | <span class="funcParam"> $date</span> as xs:anyAtomicType? | ||
3417 | 3374 | ) as xs:integer?</pre> | ||
3418 | 3375 | <p> Number of days in the month | ||
3419 | 3376 | </p> | ||
3420 | 3377 | <div class="subsubsection">Parameters:</div> | ||
3421 | 3378 | <ul> | ||
3422 | 3379 | <li>$date the date</li> | ||
3423 | 3380 | </ul> | ||
3424 | 3381 | <div class="subsubsection">Version:</div> | ||
3425 | 3382 | <p class="annotationText">1.0</p> | ||
3426 | 3383 | <div class="subsubsection">Author:</div> | ||
3427 | 3384 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
3428 | 3385 | <div class="subsubsection">See:</div> | ||
3429 | 3386 | <ul> | ||
3430 | 3387 | <li> | ||
3431 | 3388 | <a href="http://www.xqueryfunctions.com/xq/functx_days-in-month.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_days-in-month.html</a> | ||
3432 | 3389 | </li> | ||
3433 | 3390 | </ul> | ||
3434 | 3391 | <hr /> | ||
3435 | 3392 | <div class="subsection" id="depth-of-node-1"> | ||
3436 | 3393 | <span class="no_underline"></span>depth-of-node<a href="#function_summary"> | ||
3437 | 3394 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
3438 | 3395 | </a> | ||
3439 | 3396 | </div> | ||
3440 | 3397 | <pre class="signature">declare function functx:depth-of-node<span class="functName"></span> ( | ||
3441 | 3398 | <span class="funcParam"> $node</span> as node()? | ||
3442 | 3399 | ) as xs:integer</pre> | ||
3443 | 3400 | <p> The depth (level) of a node in an XML tree | ||
3444 | 3401 | </p> | ||
3445 | 3402 | <div class="subsubsection">Parameters:</div> | ||
3446 | 3403 | <ul> | ||
3447 | 3404 | <li>$node the node to check</li> | ||
3448 | 3405 | </ul> | ||
3449 | 3406 | <div class="subsubsection">Version:</div> | ||
3450 | 3407 | <p class="annotationText">1.0</p> | ||
3451 | 3408 | <div class="subsubsection">Author:</div> | ||
3452 | 3409 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
3453 | 3410 | <div class="subsubsection">See:</div> | ||
3454 | 3411 | <ul> | ||
3455 | 3412 | <li> | ||
3456 | 3413 | <a href="http://www.xqueryfunctions.com/xq/functx_depth-of-node.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_depth-of-node.html</a> | ||
3457 | 3414 | </li> | ||
3458 | 3415 | </ul> | ||
3459 | 3416 | <hr /> | ||
3460 | 3417 | <div class="subsection" id="distinct-attribute-names-1"> | ||
3461 | 3418 | <span class="no_underline"></span>distinct-attribute-names<a href="#function_summary"> | ||
3462 | 3419 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
3463 | 3420 | </a> | ||
3464 | 3421 | </div> | ||
3465 | 3422 | <pre class="signature">declare function functx:distinct-attribute-names<span class="functName"></span> ( | ||
3466 | 3423 | <span class="funcParam"> $nodes</span> as node()* | ||
3467 | 3424 | ) as xs:string*</pre> | ||
3468 | 3425 | <p> The distinct names of all attributes in an XML fragment | ||
3469 | 3426 | </p> | ||
3470 | 3427 | <div class="subsubsection">Parameters:</div> | ||
3471 | 3428 | <ul> | ||
3472 | 3429 | <li>$nodes the root to start from</li> | ||
3473 | 3430 | </ul> | ||
3474 | 3431 | <div class="subsubsection">Version:</div> | ||
3475 | 3432 | <p class="annotationText">1.0</p> | ||
3476 | 3433 | <div class="subsubsection">Author:</div> | ||
3477 | 3434 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
3478 | 3435 | <div class="subsubsection">See:</div> | ||
3479 | 3436 | <ul> | ||
3480 | 3437 | <li> | ||
3481 | 3438 | <a href="http://www.xqueryfunctions.com/xq/functx_distinct-attribute-names.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_distinct-attribute-names.html</a> | ||
3482 | 3439 | </li> | ||
3483 | 3440 | </ul> | ||
3484 | 3441 | <hr /> | ||
3485 | 3442 | <div class="subsection" id="distinct-deep-1"> | ||
3486 | 3443 | <span class="no_underline"></span>distinct-deep<a href="#function_summary"> | ||
3487 | 3444 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
3488 | 3445 | </a> | ||
3489 | 3446 | </div> | ||
3490 | 3447 | <pre class="signature">declare function functx:distinct-deep<span class="functName"></span> ( | ||
3491 | 3448 | <span class="funcParam"> $nodes</span> as node()* | ||
3492 | 3449 | ) as node()*</pre> | ||
3493 | 3450 | <p> The XML nodes with distinct values, taking into account attributes and descendants | ||
3494 | 3451 | </p> | ||
3495 | 3452 | <div class="subsubsection">Parameters:</div> | ||
3496 | 3453 | <ul> | ||
3497 | 3454 | <li>$nodes the sequence of nodes to test</li> | ||
3498 | 3455 | </ul> | ||
3499 | 3456 | <div class="subsubsection">Version:</div> | ||
3500 | 3457 | <p class="annotationText">1.0</p> | ||
3501 | 3458 | <div class="subsubsection">Author:</div> | ||
3502 | 3459 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
3503 | 3460 | <div class="subsubsection">See:</div> | ||
3504 | 3461 | <ul> | ||
3505 | 3462 | <li> | ||
3506 | 3463 | <a href="http://www.xqueryfunctions.com/xq/functx_distinct-deep.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_distinct-deep.html</a> | ||
3507 | 3464 | </li> | ||
3508 | 3465 | </ul> | ||
3509 | 3466 | <hr /> | ||
3510 | 3467 | <div class="subsection" id="distinct-element-names-1"> | ||
3511 | 3468 | <span class="no_underline"></span>distinct-element-names<a href="#function_summary"> | ||
3512 | 3469 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
3513 | 3470 | </a> | ||
3514 | 3471 | </div> | ||
3515 | 3472 | <pre class="signature">declare function functx:distinct-element-names<span class="functName"></span> ( | ||
3516 | 3473 | <span class="funcParam"> $nodes</span> as node()* | ||
3517 | 3474 | ) as xs:string*</pre> | ||
3518 | 3475 | <p> The distinct names of all elements in an XML fragment | ||
3519 | 3476 | </p> | ||
3520 | 3477 | <div class="subsubsection">Parameters:</div> | ||
3521 | 3478 | <ul> | ||
3522 | 3479 | <li>$nodes the root(s) to start from</li> | ||
3523 | 3480 | </ul> | ||
3524 | 3481 | <div class="subsubsection">Version:</div> | ||
3525 | 3482 | <p class="annotationText">1.0</p> | ||
3526 | 3483 | <div class="subsubsection">Author:</div> | ||
3527 | 3484 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
3528 | 3485 | <div class="subsubsection">See:</div> | ||
3529 | 3486 | <ul> | ||
3530 | 3487 | <li> | ||
3531 | 3488 | <a href="http://www.xqueryfunctions.com/xq/functx_distinct-element-names.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_distinct-element-names.html</a> | ||
3532 | 3489 | </li> | ||
3533 | 3490 | </ul> | ||
3534 | 3491 | <hr /> | ||
3535 | 3492 | <div class="subsection" id="distinct-element-paths-1"> | ||
3536 | 3493 | <span class="no_underline"></span>distinct-element-paths<a href="#function_summary"> | ||
3537 | 3494 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
3538 | 3495 | </a> | ||
3539 | 3496 | </div> | ||
3540 | 3497 | <pre class="signature">declare function functx:distinct-element-paths<span class="functName"></span> ( | ||
3541 | 3498 | <span class="funcParam"> $nodes</span> as node()* | ||
3542 | 3499 | ) as xs:string*</pre> | ||
3543 | 3500 | <p> The distinct paths of all descendant elements in an XML fragment | ||
3544 | 3501 | </p> | ||
3545 | 3502 | <div class="subsubsection">Parameters:</div> | ||
3546 | 3503 | <ul> | ||
3547 | 3504 | <li>$nodes the root(s) to start from</li> | ||
3548 | 3505 | </ul> | ||
3549 | 3506 | <div class="subsubsection">Version:</div> | ||
3550 | 3507 | <p class="annotationText">1.0</p> | ||
3551 | 3508 | <div class="subsubsection">Author:</div> | ||
3552 | 3509 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
3553 | 3510 | <div class="subsubsection">See:</div> | ||
3554 | 3511 | <ul> | ||
3555 | 3512 | <li> | ||
3556 | 3513 | <a href="http://www.xqueryfunctions.com/xq/functx_distinct-element-paths.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_distinct-element-paths.html</a> | ||
3557 | 3514 | </li> | ||
3558 | 3515 | </ul> | ||
3559 | 3516 | <hr /> | ||
3560 | 3517 | <div class="subsection" id="distinct-nodes-1"> | ||
3561 | 3518 | <span class="no_underline"></span>distinct-nodes<a href="#function_summary"> | ||
3562 | 3519 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
3563 | 3520 | </a> | ||
3564 | 3521 | </div> | ||
3565 | 3522 | <pre class="signature">declare function functx:distinct-nodes<span class="functName"></span> ( | ||
3566 | 3523 | <span class="funcParam"> $nodes</span> as node()* | ||
3567 | 3524 | ) as node()*</pre> | ||
3568 | 3525 | <p> The distinct XML nodes in a sequence (by node identity) | ||
3569 | 3526 | </p> | ||
3570 | 3527 | <div class="subsubsection">Parameters:</div> | ||
3571 | 3528 | <ul> | ||
3572 | 3529 | <li>$nodes the node sequence</li> | ||
3573 | 3530 | </ul> | ||
3574 | 3531 | <div class="subsubsection">Version:</div> | ||
3575 | 3532 | <p class="annotationText">1.0</p> | ||
3576 | 3533 | <div class="subsubsection">Author:</div> | ||
3577 | 3534 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
3578 | 3535 | <div class="subsubsection">See:</div> | ||
3579 | 3536 | <ul> | ||
3580 | 3537 | <li> | ||
3581 | 3538 | <a href="http://www.xqueryfunctions.com/xq/functx_distinct-nodes.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_distinct-nodes.html</a> | ||
3582 | 3539 | </li> | ||
3583 | 3540 | </ul> | ||
3584 | 3541 | <hr /> | ||
3585 | 3542 | <div class="subsection" id="duration-from-timezone-1"> | ||
3586 | 3543 | <span class="no_underline"></span>duration-from-timezone<a href="#function_summary"> | ||
3587 | 3544 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
3588 | 3545 | </a> | ||
3589 | 3546 | </div> | ||
3590 | 3547 | <pre class="signature">declare function functx:duration-from-timezone<span class="functName"></span> ( | ||
3591 | 3548 | <span class="funcParam"> $timezone</span> as xs:string | ||
3592 | 3549 | ) as xs:dayTimeDuration</pre> | ||
3593 | 3550 | <p> Converts a timezone like "-05:00" or "Z" into xs:dayTimeDuration | ||
3594 | 3551 | </p> | ||
3595 | 3552 | <div class="subsubsection">Parameters:</div> | ||
3596 | 3553 | <ul> | ||
3597 | 3554 | <li>$timezone the time zone, in (+|-)HH:MM format</li> | ||
3598 | 3555 | </ul> | ||
3599 | 3556 | <div class="subsubsection">Version:</div> | ||
3600 | 3557 | <p class="annotationText">1.0</p> | ||
3601 | 3558 | <div class="subsubsection">Author:</div> | ||
3602 | 3559 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
3603 | 3560 | <div class="subsubsection">See:</div> | ||
3604 | 3561 | <ul> | ||
3605 | 3562 | <li> | ||
3606 | 3563 | <a href="http://www.xqueryfunctions.com/xq/functx_duration-from-timezone.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_duration-from-timezone.html</a> | ||
3607 | 3564 | </li> | ||
3608 | 3565 | </ul> | ||
3609 | 3566 | <hr /> | ||
3610 | 3567 | <div class="subsection" id="dynamic-path-2"> | ||
3611 | 3568 | <span class="no_underline"></span>dynamic-path<a href="#function_summary"> | ||
3612 | 3569 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
3613 | 3570 | </a> | ||
3614 | 3571 | </div> | ||
3615 | 3572 | <pre class="signature">declare function functx:dynamic-path<span class="functName"></span> ( | ||
3616 | 3573 | <span class="funcParam"> $parent</span> as node(), | ||
3617 | 3574 | <span class="funcParam"> $path</span> as xs:string | ||
3618 | 3575 | ) as item()*</pre> | ||
3619 | 3576 | <p> Dynamically evaluates a simple XPath path | ||
3620 | 3577 | </p> | ||
3621 | 3578 | <div class="subsubsection">Parameters:</div> | ||
3622 | 3579 | <ul> | ||
3623 | 3580 | <li>$parent the root to start from</li> | ||
3624 | 3581 | <li>$path the path expression</li> | ||
3625 | 3582 | </ul> | ||
3626 | 3583 | <div class="subsubsection">Version:</div> | ||
3627 | 3584 | <p class="annotationText">1.0</p> | ||
3628 | 3585 | <div class="subsubsection">Author:</div> | ||
3629 | 3586 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
3630 | 3587 | <div class="subsubsection">See:</div> | ||
3631 | 3588 | <ul> | ||
3632 | 3589 | <li> | ||
3633 | 3590 | <a href="http://www.xqueryfunctions.com/xq/functx_dynamic-path.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_dynamic-path.html</a> | ||
3634 | 3591 | </li> | ||
3635 | 3592 | </ul> | ||
3636 | 3593 | <hr /> | ||
3637 | 3594 | <div class="subsection" id="escape-for-regex-1"> | ||
3638 | 3595 | <span class="no_underline"></span>escape-for-regex<a href="#function_summary"> | ||
3639 | 3596 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
3640 | 3597 | </a> | ||
3641 | 3598 | </div> | ||
3642 | 3599 | <pre class="signature">declare function functx:escape-for-regex<span class="functName"></span> ( | ||
3643 | 3600 | <span class="funcParam"> $arg</span> as xs:string? | ||
3644 | 3601 | ) as xs:string</pre> | ||
3645 | 3602 | <p> Escapes regex special characters | ||
3646 | 3603 | </p> | ||
3647 | 3604 | <div class="subsubsection">Parameters:</div> | ||
3648 | 3605 | <ul> | ||
3649 | 3606 | <li>$arg the string to escape</li> | ||
3650 | 3607 | </ul> | ||
3651 | 3608 | <div class="subsubsection">Version:</div> | ||
3652 | 3609 | <p class="annotationText">1.0</p> | ||
3653 | 3610 | <div class="subsubsection">Author:</div> | ||
3654 | 3611 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
3655 | 3612 | <div class="subsubsection">See:</div> | ||
3656 | 3613 | <ul> | ||
3657 | 3614 | <li> | ||
3658 | 3615 | <a href="http://www.xqueryfunctions.com/xq/functx_escape-for-regex.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_escape-for-regex.html</a> | ||
3659 | 3616 | </li> | ||
3660 | 3617 | </ul> | ||
3661 | 3618 | <hr /> | ||
3662 | 3619 | <div class="subsection" id="exclusive-or-2"> | ||
3663 | 3620 | <span class="no_underline"></span>exclusive-or<a href="#function_summary"> | ||
3664 | 3621 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
3665 | 3622 | </a> | ||
3666 | 3623 | </div> | ||
3667 | 3624 | <pre class="signature">declare function functx:exclusive-or<span class="functName"></span> ( | ||
3668 | 3625 | <span class="funcParam"> $arg1</span> as xs:boolean?, | ||
3669 | 3626 | <span class="funcParam"> $arg2</span> as xs:boolean? | ||
3670 | 3627 | ) as xs:boolean?</pre> | ||
3671 | 3628 | <p> Whether one (and only one) of two boolean values is true | ||
3672 | 3629 | </p> | ||
3673 | 3630 | <div class="subsubsection">Parameters:</div> | ||
3674 | 3631 | <ul> | ||
3675 | 3632 | <li>$arg1 the first boolean value</li> | ||
3676 | 3633 | <li>$arg2 the second boolean value</li> | ||
3677 | 3634 | </ul> | ||
3678 | 3635 | <div class="subsubsection">Version:</div> | ||
3679 | 3636 | <p class="annotationText">1.0</p> | ||
3680 | 3637 | <div class="subsubsection">Author:</div> | ||
3681 | 3638 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
3682 | 3639 | <div class="subsubsection">See:</div> | ||
3683 | 3640 | <ul> | ||
3684 | 3641 | <li> | ||
3685 | 3642 | <a href="http://www.xqueryfunctions.com/xq/functx_exclusive-or.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_exclusive-or.html</a> | ||
3686 | 3643 | </li> | ||
3687 | 3644 | </ul> | ||
3688 | 3645 | <hr /> | ||
3689 | 3646 | <div class="subsection" id="first-day-of-month-1"> | ||
3690 | 3647 | <span class="no_underline"></span>first-day-of-month<a href="#function_summary"> | ||
3691 | 3648 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
3692 | 3649 | </a> | ||
3693 | 3650 | </div> | ||
3694 | 3651 | <pre class="signature">declare function functx:first-day-of-month<span class="functName"></span> ( | ||
3695 | 3652 | <span class="funcParam"> $date</span> as xs:anyAtomicType? | ||
3696 | 3653 | ) as xs:date?</pre> | ||
3697 | 3654 | <p> The first day of the month of a date | ||
3698 | 3655 | </p> | ||
3699 | 3656 | <div class="subsubsection">Parameters:</div> | ||
3700 | 3657 | <ul> | ||
3701 | 3658 | <li>$date the date</li> | ||
3702 | 3659 | </ul> | ||
3703 | 3660 | <div class="subsubsection">Version:</div> | ||
3704 | 3661 | <p class="annotationText">1.0</p> | ||
3705 | 3662 | <div class="subsubsection">Author:</div> | ||
3706 | 3663 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
3707 | 3664 | <div class="subsubsection">See:</div> | ||
3708 | 3665 | <ul> | ||
3709 | 3666 | <li> | ||
3710 | 3667 | <a href="http://www.xqueryfunctions.com/xq/functx_first-day-of-month.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_first-day-of-month.html</a> | ||
3711 | 3668 | </li> | ||
3712 | 3669 | </ul> | ||
3713 | 3670 | <hr /> | ||
3714 | 3671 | <div class="subsection" id="first-day-of-year-1"> | ||
3715 | 3672 | <span class="no_underline"></span>first-day-of-year<a href="#function_summary"> | ||
3716 | 3673 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
3717 | 3674 | </a> | ||
3718 | 3675 | </div> | ||
3719 | 3676 | <pre class="signature">declare function functx:first-day-of-year<span class="functName"></span> ( | ||
3720 | 3677 | <span class="funcParam"> $date</span> as xs:anyAtomicType? | ||
3721 | 3678 | ) as xs:date?</pre> | ||
3722 | 3679 | <p> The first day of the year of a date | ||
3723 | 3680 | </p> | ||
3724 | 3681 | <div class="subsubsection">Parameters:</div> | ||
3725 | 3682 | <ul> | ||
3726 | 3683 | <li>$date the date</li> | ||
3727 | 3684 | </ul> | ||
3728 | 3685 | <div class="subsubsection">Version:</div> | ||
3729 | 3686 | <p class="annotationText">1.0</p> | ||
3730 | 3687 | <div class="subsubsection">Author:</div> | ||
3731 | 3688 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
3732 | 3689 | <div class="subsubsection">See:</div> | ||
3733 | 3690 | <ul> | ||
3734 | 3691 | <li> | ||
3735 | 3692 | <a href="http://www.xqueryfunctions.com/xq/functx_first-day-of-year.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_first-day-of-year.html</a> | ||
3736 | 3693 | </li> | ||
3737 | 3694 | </ul> | ||
3738 | 3695 | <hr /> | ||
3739 | 3696 | <div class="subsection" id="first-node-1"> | ||
3740 | 3697 | <span class="no_underline"></span>first-node<a href="#function_summary"> | ||
3741 | 3698 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
3742 | 3699 | </a> | ||
3743 | 3700 | </div> | ||
3744 | 3701 | <pre class="signature">declare function functx:first-node<span class="functName"></span> ( | ||
3745 | 3702 | <span class="funcParam"> $nodes</span> as node()* | ||
3746 | 3703 | ) as node()?</pre> | ||
3747 | 3704 | <p> The XML node in a sequence that appears first in document order | ||
3748 | 3705 | </p> | ||
3749 | 3706 | <div class="subsubsection">Parameters:</div> | ||
3750 | 3707 | <ul> | ||
3751 | 3708 | <li>$nodes the sequence of nodes</li> | ||
3752 | 3709 | </ul> | ||
3753 | 3710 | <div class="subsubsection">Version:</div> | ||
3754 | 3711 | <p class="annotationText">1.0</p> | ||
3755 | 3712 | <div class="subsubsection">Author:</div> | ||
3756 | 3713 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
3757 | 3714 | <div class="subsubsection">See:</div> | ||
3758 | 3715 | <ul> | ||
3759 | 3716 | <li> | ||
3760 | 3717 | <a href="http://www.xqueryfunctions.com/xq/functx_first-node.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_first-node.html</a> | ||
3761 | 3718 | </li> | ||
3762 | 3719 | </ul> | ||
3763 | 3720 | <hr /> | ||
3764 | 3721 | <div class="subsection" id="follows-not-descendant-2"> | ||
3765 | 3722 | <span class="no_underline"></span>follows-not-descendant<a href="#function_summary"> | ||
3766 | 3723 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
3767 | 3724 | </a> | ||
3768 | 3725 | </div> | ||
3769 | 3726 | <pre class="signature">declare function functx:follows-not-descendant<span class="functName"></span> ( | ||
3770 | 3727 | <span class="funcParam"> $a</span> as node()?, | ||
3771 | 3728 | <span class="funcParam"> $b</span> as node()? | ||
3772 | 3729 | ) as xs:boolean</pre> | ||
3773 | 3730 | <p> Whether an XML node follows another without being its descendant | ||
3774 | 3731 | </p> | ||
3775 | 3732 | <div class="subsubsection">Parameters:</div> | ||
3776 | 3733 | <ul> | ||
3777 | 3734 | <li>$a the first node</li> | ||
3778 | 3735 | <li>$b the second node</li> | ||
3779 | 3736 | </ul> | ||
3780 | 3737 | <div class="subsubsection">Version:</div> | ||
3781 | 3738 | <p class="annotationText">1.0</p> | ||
3782 | 3739 | <div class="subsubsection">Author:</div> | ||
3783 | 3740 | <p class="annotationText">W3C XML Query Working Group</p> | ||
3784 | 3741 | <div class="subsubsection">See:</div> | ||
3785 | 3742 | <ul> | ||
3786 | 3743 | <li> | ||
3787 | 3744 | <a href="http://www.xqueryfunctions.com/xq/functx_follows-not-descendant.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_follows-not-descendant.html</a> | ||
3788 | 3745 | </li> | ||
3789 | 3746 | </ul> | ||
3790 | 3747 | <hr /> | ||
3791 | 3748 | <div class="subsection" id="format-as-title-en-1"> | ||
3792 | 3749 | <span class="no_underline"></span>format-as-title-en<a href="#function_summary"> | ||
3793 | 3750 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
3794 | 3751 | </a> | ||
3795 | 3752 | </div> | ||
3796 | 3753 | <pre class="signature">declare function functx:format-as-title-en<span class="functName"></span> ( | ||
3797 | 3754 | <span class="funcParam"> $titles</span> as xs:string* | ||
3798 | 3755 | ) as xs:string*</pre> | ||
3799 | 3756 | <p> Moves title words like "the" and "a" to the end of strings | ||
3800 | 3757 | </p> | ||
3801 | 3758 | <div class="subsubsection">Parameters:</div> | ||
3802 | 3759 | <ul> | ||
3803 | 3760 | <li>$titles the titles to format</li> | ||
3804 | 3761 | </ul> | ||
3805 | 3762 | <div class="subsubsection">Version:</div> | ||
3806 | 3763 | <p class="annotationText">1.0</p> | ||
3807 | 3764 | <div class="subsubsection">Author:</div> | ||
3808 | 3765 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
3809 | 3766 | <div class="subsubsection">See:</div> | ||
3810 | 3767 | <ul> | ||
3811 | 3768 | <li> | ||
3812 | 3769 | <a href="http://www.xqueryfunctions.com/xq/functx_format-as-title-en.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_format-as-title-en.html</a> | ||
3813 | 3770 | </li> | ||
3814 | 3771 | </ul> | ||
3815 | 3772 | <hr /> | ||
3816 | 3773 | <div class="subsection" id="fragment-from-uri-1"> | ||
3817 | 3774 | <span class="no_underline"></span>fragment-from-uri<a href="#function_summary"> | ||
3818 | 3775 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
3819 | 3776 | </a> | ||
3820 | 3777 | </div> | ||
3821 | 3778 | <pre class="signature">declare function functx:fragment-from-uri<span class="functName"></span> ( | ||
3822 | 3779 | <span class="funcParam"> $uri</span> as xs:string? | ||
3823 | 3780 | ) as xs:string?</pre> | ||
3824 | 3781 | <p> Returns the fragment from a URI | ||
3825 | 3782 | </p> | ||
3826 | 3783 | <div class="subsubsection">Parameters:</div> | ||
3827 | 3784 | <ul> | ||
3828 | 3785 | <li>$uri the URI</li> | ||
3829 | 3786 | </ul> | ||
3830 | 3787 | <div class="subsubsection">Version:</div> | ||
3831 | 3788 | <p class="annotationText">1.0</p> | ||
3832 | 3789 | <div class="subsubsection">Author:</div> | ||
3833 | 3790 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
3834 | 3791 | <div class="subsubsection">See:</div> | ||
3835 | 3792 | <ul> | ||
3836 | 3793 | <li> | ||
3837 | 3794 | <a href="http://www.xqueryfunctions.com/xq/functx_fragment-from-uri.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_fragment-from-uri.html</a> | ||
3838 | 3795 | </li> | ||
3839 | 3796 | </ul> | ||
3840 | 3797 | <hr /> | ||
3841 | 3798 | <div class="subsection" id="get-matches-2"> | ||
3842 | 3799 | <span class="no_underline"></span>get-matches<a href="#function_summary"> | ||
3843 | 3800 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
3844 | 3801 | </a> | ||
3845 | 3802 | </div> | ||
3846 | 3803 | <pre class="signature">declare function functx:get-matches<span class="functName"></span> ( | ||
3847 | 3804 | <span class="funcParam"> $string</span> as xs:string?, | ||
3848 | 3805 | <span class="funcParam"> $regex</span> as xs:string | ||
3849 | 3806 | ) as xs:string*</pre> | ||
3850 | 3807 | <p> Return the matching regions of a string | ||
3851 | 3808 | </p> | ||
3852 | 3809 | <div class="subsubsection">Parameters:</div> | ||
3853 | 3810 | <ul> | ||
3854 | 3811 | <li>$string the string to split</li> | ||
3855 | 3812 | <li>$regex the pattern</li> | ||
3856 | 3813 | </ul> | ||
3857 | 3814 | <div class="subsubsection">Version:</div> | ||
3858 | 3815 | <p class="annotationText">1.0</p> | ||
3859 | 3816 | <div class="subsubsection">Author:</div> | ||
3860 | 3817 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
3861 | 3818 | <div class="subsubsection">See:</div> | ||
3862 | 3819 | <ul> | ||
3863 | 3820 | <li> | ||
3864 | 3821 | <a href="http://www.xqueryfunctions.com/xq/functx_get-matches.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_get-matches.html</a> | ||
3865 | 3822 | </li> | ||
3866 | 3823 | </ul> | ||
3867 | 3824 | <hr /> | ||
3868 | 3825 | <div class="subsection" id="get-matches-and-non-matches-2"> | ||
3869 | 3826 | <span class="no_underline"></span>get-matches-and-non-matches<a href="#function_summary"> | ||
3870 | 3827 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
3871 | 3828 | </a> | ||
3872 | 3829 | </div> | ||
3873 | 3830 | <pre class="signature">declare function functx:get-matches-and-non-matches<span class="functName"></span> ( | ||
3874 | 3831 | <span class="funcParam"> $string</span> as xs:string?, | ||
3875 | 3832 | <span class="funcParam"> $regex</span> as xs:string | ||
3876 | 3833 | ) as element(*)*</pre> | ||
3877 | 3834 | <p> Splits a string into matching and non-matching regions | ||
3878 | 3835 | </p> | ||
3879 | 3836 | <div class="subsubsection">Parameters:</div> | ||
3880 | 3837 | <ul> | ||
3881 | 3838 | <li>$string the string to split</li> | ||
3882 | 3839 | <li>$regex the pattern</li> | ||
3883 | 3840 | </ul> | ||
3884 | 3841 | <div class="subsubsection">Version:</div> | ||
3885 | 3842 | <p class="annotationText">1.0</p> | ||
3886 | 3843 | <div class="subsubsection">Author:</div> | ||
3887 | 3844 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
3888 | 3845 | <div class="subsubsection">See:</div> | ||
3889 | 3846 | <ul> | ||
3890 | 3847 | <li> | ||
3891 | 3848 | <a href="http://www.xqueryfunctions.com/xq/functx_get-matches-and-non-matches.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_get-matches-and-non-matches.html</a> | ||
3892 | 3849 | </li> | ||
3893 | 3850 | </ul> | ||
3894 | 3851 | <hr /> | ||
3895 | 3852 | <div class="subsection" id="has-element-only-content-1"> | ||
3896 | 3853 | <span class="no_underline"></span>has-element-only-content<a href="#function_summary"> | ||
3897 | 3854 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
3898 | 3855 | </a> | ||
3899 | 3856 | </div> | ||
3900 | 3857 | <pre class="signature">declare function functx:has-element-only-content<span class="functName"></span> ( | ||
3901 | 3858 | <span class="funcParam"> $element</span> as element(*) | ||
3902 | 3859 | ) as xs:boolean</pre> | ||
3903 | 3860 | <p> Whether an element has element-only content | ||
3904 | 3861 | </p> | ||
3905 | 3862 | <div class="subsubsection">Parameters:</div> | ||
3906 | 3863 | <ul> | ||
3907 | 3864 | <li>$element the XML element to test</li> | ||
3908 | 3865 | </ul> | ||
3909 | 3866 | <div class="subsubsection">Version:</div> | ||
3910 | 3867 | <p class="annotationText">1.0</p> | ||
3911 | 3868 | <div class="subsubsection">Author:</div> | ||
3912 | 3869 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
3913 | 3870 | <div class="subsubsection">See:</div> | ||
3914 | 3871 | <ul> | ||
3915 | 3872 | <li> | ||
3916 | 3873 | <a href="http://www.xqueryfunctions.com/xq/functx_has-element-only-content.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_has-element-only-content.html</a> | ||
3917 | 3874 | </li> | ||
3918 | 3875 | </ul> | ||
3919 | 3876 | <hr /> | ||
3920 | 3877 | <div class="subsection" id="has-empty-content-1"> | ||
3921 | 3878 | <span class="no_underline"></span>has-empty-content<a href="#function_summary"> | ||
3922 | 3879 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
3923 | 3880 | </a> | ||
3924 | 3881 | </div> | ||
3925 | 3882 | <pre class="signature">declare function functx:has-empty-content<span class="functName"></span> ( | ||
3926 | 3883 | <span class="funcParam"> $element</span> as element(*) | ||
3927 | 3884 | ) as xs:boolean</pre> | ||
3928 | 3885 | <p> Whether an element has empty content | ||
3929 | 3886 | </p> | ||
3930 | 3887 | <div class="subsubsection">Parameters:</div> | ||
3931 | 3888 | <ul> | ||
3932 | 3889 | <li>$element the XML element to test</li> | ||
3933 | 3890 | </ul> | ||
3934 | 3891 | <div class="subsubsection">Version:</div> | ||
3935 | 3892 | <p class="annotationText">1.0</p> | ||
3936 | 3893 | <div class="subsubsection">Author:</div> | ||
3937 | 3894 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
3938 | 3895 | <div class="subsubsection">See:</div> | ||
3939 | 3896 | <ul> | ||
3940 | 3897 | <li> | ||
3941 | 3898 | <a href="http://www.xqueryfunctions.com/xq/functx_has-empty-content.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_has-empty-content.html</a> | ||
3942 | 3899 | </li> | ||
3943 | 3900 | </ul> | ||
3944 | 3901 | <hr /> | ||
3945 | 3902 | <div class="subsection" id="has-mixed-content-1"> | ||
3946 | 3903 | <span class="no_underline"></span>has-mixed-content<a href="#function_summary"> | ||
3947 | 3904 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
3948 | 3905 | </a> | ||
3949 | 3906 | </div> | ||
3950 | 3907 | <pre class="signature">declare function functx:has-mixed-content<span class="functName"></span> ( | ||
3951 | 3908 | <span class="funcParam"> $element</span> as element(*) | ||
3952 | 3909 | ) as xs:boolean</pre> | ||
3953 | 3910 | <p> Whether an element has mixed content | ||
3954 | 3911 | </p> | ||
3955 | 3912 | <div class="subsubsection">Parameters:</div> | ||
3956 | 3913 | <ul> | ||
3957 | 3914 | <li>$element the XML element to test</li> | ||
3958 | 3915 | </ul> | ||
3959 | 3916 | <div class="subsubsection">Version:</div> | ||
3960 | 3917 | <p class="annotationText">1.0</p> | ||
3961 | 3918 | <div class="subsubsection">Author:</div> | ||
3962 | 3919 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
3963 | 3920 | <div class="subsubsection">See:</div> | ||
3964 | 3921 | <ul> | ||
3965 | 3922 | <li> | ||
3966 | 3923 | <a href="http://www.xqueryfunctions.com/xq/functx_has-mixed-content.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_has-mixed-content.html</a> | ||
3967 | 3924 | </li> | ||
3968 | 3925 | </ul> | ||
3969 | 3926 | <hr /> | ||
3970 | 3927 | <div class="subsection" id="has-simple-content-1"> | ||
3971 | 3928 | <span class="no_underline"></span>has-simple-content<a href="#function_summary"> | ||
3972 | 3929 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
3973 | 3930 | </a> | ||
3974 | 3931 | </div> | ||
3975 | 3932 | <pre class="signature">declare function functx:has-simple-content<span class="functName"></span> ( | ||
3976 | 3933 | <span class="funcParam"> $element</span> as element(*) | ||
3977 | 3934 | ) as xs:boolean</pre> | ||
3978 | 3935 | <p> Whether an element has simple content | ||
3979 | 3936 | </p> | ||
3980 | 3937 | <div class="subsubsection">Parameters:</div> | ||
3981 | 3938 | <ul> | ||
3982 | 3939 | <li>$element the XML element to test</li> | ||
3983 | 3940 | </ul> | ||
3984 | 3941 | <div class="subsubsection">Version:</div> | ||
3985 | 3942 | <p class="annotationText">1.0</p> | ||
3986 | 3943 | <div class="subsubsection">Author:</div> | ||
3987 | 3944 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
3988 | 3945 | <div class="subsubsection">See:</div> | ||
3989 | 3946 | <ul> | ||
3990 | 3947 | <li> | ||
3991 | 3948 | <a href="http://www.xqueryfunctions.com/xq/functx_has-simple-content.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_has-simple-content.html</a> | ||
3992 | 3949 | </li> | ||
3993 | 3950 | </ul> | ||
3994 | 3951 | <hr /> | ||
3995 | 3952 | <div class="subsection" id="id-from-element-1"> | ||
3996 | 3953 | <span class="no_underline"></span>id-from-element<a href="#function_summary"> | ||
3997 | 3954 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
3998 | 3955 | </a> | ||
3999 | 3956 | </div> | ||
4000 | 3957 | <pre class="signature">declare function functx:id-from-element<span class="functName"></span> ( | ||
4001 | 3958 | <span class="funcParam"> $element</span> as element(*)? | ||
4002 | 3959 | ) as xs:string?</pre> | ||
4003 | 3960 | <p> Gets the ID of an XML element | ||
4004 | 3961 | </p> | ||
4005 | 3962 | <div class="subsubsection">Parameters:</div> | ||
4006 | 3963 | <ul> | ||
4007 | 3964 | <li>$element the element</li> | ||
4008 | 3965 | </ul> | ||
4009 | 3966 | <div class="subsubsection">Version:</div> | ||
4010 | 3967 | <p class="annotationText">1.0</p> | ||
4011 | 3968 | <div class="subsubsection">Author:</div> | ||
4012 | 3969 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
4013 | 3970 | <div class="subsubsection">See:</div> | ||
4014 | 3971 | <ul> | ||
4015 | 3972 | <li> | ||
4016 | 3973 | <a href="http://www.xqueryfunctions.com/xq/functx_id-from-element.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_id-from-element.html</a> | ||
4017 | 3974 | </li> | ||
4018 | 3975 | </ul> | ||
4019 | 3976 | <hr /> | ||
4020 | 3977 | <div class="subsection" id="id-untyped-2"> | ||
4021 | 3978 | <span class="no_underline"></span>id-untyped<a href="#function_summary"> | ||
4022 | 3979 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
4023 | 3980 | </a> | ||
4024 | 3981 | </div> | ||
4025 | 3982 | <pre class="signature">declare function functx:id-untyped<span class="functName"></span> ( | ||
4026 | 3983 | <span class="funcParam"> $node</span> as node()*, | ||
4027 | 3984 | <span class="funcParam"> $id</span> as xs:anyAtomicType | ||
4028 | 3985 | ) as element(*)*</pre> | ||
4029 | 3986 | <p> Gets XML element(s) that have an attribute with a particular value | ||
4030 | 3987 | </p> | ||
4031 | 3988 | <div class="subsubsection">Parameters:</div> | ||
4032 | 3989 | <ul> | ||
4033 | 3990 | <li>$node the root node(s) to start from</li> | ||
4034 | 3991 | <li>$id the "id" to find</li> | ||
4035 | 3992 | </ul> | ||
4036 | 3993 | <div class="subsubsection">Version:</div> | ||
4037 | 3994 | <p class="annotationText">1.0</p> | ||
4038 | 3995 | <div class="subsubsection">Author:</div> | ||
4039 | 3996 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
4040 | 3997 | <div class="subsubsection">See:</div> | ||
4041 | 3998 | <ul> | ||
4042 | 3999 | <li> | ||
4043 | 4000 | <a href="http://www.xqueryfunctions.com/xq/functx_id-untyped.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_id-untyped.html</a> | ||
4044 | 4001 | </li> | ||
4045 | 4002 | </ul> | ||
4046 | 4003 | <hr /> | ||
4047 | 4004 | <div class="subsection" id="if-absent-2"> | ||
4048 | 4005 | <span class="no_underline"></span>if-absent<a href="#function_summary"> | ||
4049 | 4006 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
4050 | 4007 | </a> | ||
4051 | 4008 | </div> | ||
4052 | 4009 | <pre class="signature">declare function functx:if-absent<span class="functName"></span> ( | ||
4053 | 4010 | <span class="funcParam"> $arg</span> as item()*, | ||
4054 | 4011 | <span class="funcParam"> $value</span> as item()* | ||
4055 | 4012 | ) as item()*</pre> | ||
4056 | 4013 | <p> The first argument if it is not empty, otherwise the second argument | ||
4057 | 4014 | </p> | ||
4058 | 4015 | <div class="subsubsection">Parameters:</div> | ||
4059 | 4016 | <ul> | ||
4060 | 4017 | <li>$arg the item(s) that may be absent</li> | ||
4061 | 4018 | <li>$value the item(s) to use if the item is absent</li> | ||
4062 | 4019 | </ul> | ||
4063 | 4020 | <div class="subsubsection">Version:</div> | ||
4064 | 4021 | <p class="annotationText">1.0</p> | ||
4065 | 4022 | <div class="subsubsection">Author:</div> | ||
4066 | 4023 | <p class="annotationText">W3C XML Query WG</p> | ||
4067 | 4024 | <div class="subsubsection">See:</div> | ||
4068 | 4025 | <ul> | ||
4069 | 4026 | <li> | ||
4070 | 4027 | <a href="http://www.xqueryfunctions.com/xq/functx_if-absent.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_if-absent.html</a> | ||
4071 | 4028 | </li> | ||
4072 | 4029 | </ul> | ||
4073 | 4030 | <hr /> | ||
4074 | 4031 | <div class="subsection" id="if-empty-2"> | ||
4075 | 4032 | <span class="no_underline"></span>if-empty<a href="#function_summary"> | ||
4076 | 4033 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
4077 | 4034 | </a> | ||
4078 | 4035 | </div> | ||
4079 | 4036 | <pre class="signature">declare function functx:if-empty<span class="functName"></span> ( | ||
4080 | 4037 | <span class="funcParam"> $arg</span> as item()?, | ||
4081 | 4038 | <span class="funcParam"> $value</span> as item()* | ||
4082 | 4039 | ) as item()*</pre> | ||
4083 | 4040 | <p> The first argument if it is not blank, otherwise the second argument | ||
4084 | 4041 | </p> | ||
4085 | 4042 | <div class="subsubsection">Parameters:</div> | ||
4086 | 4043 | <ul> | ||
4087 | 4044 | <li>$arg the node that may be empty</li> | ||
4088 | 4045 | <li>$value the item(s) to use if the node is empty</li> | ||
4089 | 4046 | </ul> | ||
4090 | 4047 | <div class="subsubsection">Version:</div> | ||
4091 | 4048 | <p class="annotationText">1.0</p> | ||
4092 | 4049 | <div class="subsubsection">Author:</div> | ||
4093 | 4050 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
4094 | 4051 | <div class="subsubsection">See:</div> | ||
4095 | 4052 | <ul> | ||
4096 | 4053 | <li> | ||
4097 | 4054 | <a href="http://www.xqueryfunctions.com/xq/functx_if-empty.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_if-empty.html</a> | ||
4098 | 4055 | </li> | ||
4099 | 4056 | </ul> | ||
4100 | 4057 | <hr /> | ||
4101 | 4058 | <div class="subsection" id="index-of-deep-equal-node-2"> | ||
4102 | 4059 | <span class="no_underline"></span>index-of-deep-equal-node<a href="#function_summary"> | ||
4103 | 4060 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
4104 | 4061 | </a> | ||
4105 | 4062 | </div> | ||
4106 | 4063 | <pre class="signature">declare function functx:index-of-deep-equal-node<span class="functName"></span> ( | ||
4107 | 4064 | <span class="funcParam"> $nodes</span> as node()*, | ||
4108 | 4065 | <span class="funcParam"> $nodeToFind</span> as node() | ||
4109 | 4066 | ) as xs:integer*</pre> | ||
4110 | 4067 | <p> The position of a node in a sequence, based on contents and attributes | ||
4111 | 4068 | </p> | ||
4112 | 4069 | <div class="subsubsection">Parameters:</div> | ||
4113 | 4070 | <ul> | ||
4114 | 4071 | <li>$nodes the node sequence</li> | ||
4115 | 4072 | <li>$nodeToFind the node to find in the sequence</li> | ||
4116 | 4073 | </ul> | ||
4117 | 4074 | <div class="subsubsection">Version:</div> | ||
4118 | 4075 | <p class="annotationText">1.0</p> | ||
4119 | 4076 | <div class="subsubsection">Author:</div> | ||
4120 | 4077 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
4121 | 4078 | <div class="subsubsection">See:</div> | ||
4122 | 4079 | <ul> | ||
4123 | 4080 | <li> | ||
4124 | 4081 | <a href="http://www.xqueryfunctions.com/xq/functx_index-of-deep-equal-node.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_index-of-deep-equal-node.html</a> | ||
4125 | 4082 | </li> | ||
4126 | 4083 | </ul> | ||
4127 | 4084 | <hr /> | ||
4128 | 4085 | <div class="subsection" id="index-of-match-first-2"> | ||
4129 | 4086 | <span class="no_underline"></span>index-of-match-first<a href="#function_summary"> | ||
4130 | 4087 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
4131 | 4088 | </a> | ||
4132 | 4089 | </div> | ||
4133 | 4090 | <pre class="signature">declare function functx:index-of-match-first<span class="functName"></span> ( | ||
4134 | 4091 | <span class="funcParam"> $arg</span> as xs:string?, | ||
4135 | 4092 | <span class="funcParam"> $pattern</span> as xs:string | ||
4136 | 4093 | ) as xs:integer?</pre> | ||
4137 | 4094 | <p> The first position of a matching substring | ||
4138 | 4095 | </p> | ||
4139 | 4096 | <div class="subsubsection">Parameters:</div> | ||
4140 | 4097 | <ul> | ||
4141 | 4098 | <li>$arg the string</li> | ||
4142 | 4099 | <li>$pattern the pattern to match</li> | ||
4143 | 4100 | </ul> | ||
4144 | 4101 | <div class="subsubsection">Version:</div> | ||
4145 | 4102 | <p class="annotationText">1.0</p> | ||
4146 | 4103 | <div class="subsubsection">Author:</div> | ||
4147 | 4104 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
4148 | 4105 | <div class="subsubsection">See:</div> | ||
4149 | 4106 | <ul> | ||
4150 | 4107 | <li> | ||
4151 | 4108 | <a href="http://www.xqueryfunctions.com/xq/functx_index-of-match-first.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_index-of-match-first.html</a> | ||
4152 | 4109 | </li> | ||
4153 | 4110 | </ul> | ||
4154 | 4111 | <hr /> | ||
4155 | 4112 | <div class="subsection" id="index-of-node-2"> | ||
4156 | 4113 | <span class="no_underline"></span>index-of-node<a href="#function_summary"> | ||
4157 | 4114 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
4158 | 4115 | </a> | ||
4159 | 4116 | </div> | ||
4160 | 4117 | <pre class="signature">declare function functx:index-of-node<span class="functName"></span> ( | ||
4161 | 4118 | <span class="funcParam"> $nodes</span> as node()*, | ||
4162 | 4119 | <span class="funcParam"> $nodeToFind</span> as node() | ||
4163 | 4120 | ) as xs:integer*</pre> | ||
4164 | 4121 | <p> The position of a node in a sequence, based on node identity | ||
4165 | 4122 | </p> | ||
4166 | 4123 | <div class="subsubsection">Parameters:</div> | ||
4167 | 4124 | <ul> | ||
4168 | 4125 | <li>$nodes the node sequence</li> | ||
4169 | 4126 | <li>$nodeToFind the node to find in the sequence</li> | ||
4170 | 4127 | </ul> | ||
4171 | 4128 | <div class="subsubsection">Version:</div> | ||
4172 | 4129 | <p class="annotationText">1.0</p> | ||
4173 | 4130 | <div class="subsubsection">Author:</div> | ||
4174 | 4131 | <p class="annotationText">W3C XML Query Working Group</p> | ||
4175 | 4132 | <div class="subsubsection">See:</div> | ||
4176 | 4133 | <ul> | ||
4177 | 4134 | <li> | ||
4178 | 4135 | <a href="http://www.xqueryfunctions.com/xq/functx_index-of-node.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_index-of-node.html</a> | ||
4179 | 4136 | </li> | ||
4180 | 4137 | </ul> | ||
4181 | 4138 | <hr /> | ||
4182 | 4139 | <div class="subsection" id="index-of-string-2"> | ||
4183 | 4140 | <span class="no_underline"></span>index-of-string<a href="#function_summary"> | ||
4184 | 4141 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
4185 | 4142 | </a> | ||
4186 | 4143 | </div> | ||
4187 | 4144 | <pre class="signature">declare function functx:index-of-string<span class="functName"></span> ( | ||
4188 | 4145 | <span class="funcParam"> $arg</span> as xs:string?, | ||
4189 | 4146 | <span class="funcParam"> $substring</span> as xs:string | ||
4190 | 4147 | ) as xs:integer*</pre> | ||
4191 | 4148 | <p> The position(s) of a substring | ||
4192 | 4149 | </p> | ||
4193 | 4150 | <div class="subsubsection">Parameters:</div> | ||
4194 | 4151 | <ul> | ||
4195 | 4152 | <li>$arg the string</li> | ||
4196 | 4153 | <li>$substring the substring to find</li> | ||
4197 | 4154 | </ul> | ||
4198 | 4155 | <div class="subsubsection">Version:</div> | ||
4199 | 4156 | <p class="annotationText">1.0</p> | ||
4200 | 4157 | <div class="subsubsection">Author:</div> | ||
4201 | 4158 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
4202 | 4159 | <div class="subsubsection">See:</div> | ||
4203 | 4160 | <ul> | ||
4204 | 4161 | <li> | ||
4205 | 4162 | <a href="http://www.xqueryfunctions.com/xq/functx_index-of-string.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_index-of-string.html</a> | ||
4206 | 4163 | </li> | ||
4207 | 4164 | </ul> | ||
4208 | 4165 | <hr /> | ||
4209 | 4166 | <div class="subsection" id="index-of-string-first-2"> | ||
4210 | 4167 | <span class="no_underline"></span>index-of-string-first<a href="#function_summary"> | ||
4211 | 4168 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
4212 | 4169 | </a> | ||
4213 | 4170 | </div> | ||
4214 | 4171 | <pre class="signature">declare function functx:index-of-string-first<span class="functName"></span> ( | ||
4215 | 4172 | <span class="funcParam"> $arg</span> as xs:string?, | ||
4216 | 4173 | <span class="funcParam"> $substring</span> as xs:string | ||
4217 | 4174 | ) as xs:integer?</pre> | ||
4218 | 4175 | <p> The first position of a substring | ||
4219 | 4176 | </p> | ||
4220 | 4177 | <div class="subsubsection">Parameters:</div> | ||
4221 | 4178 | <ul> | ||
4222 | 4179 | <li>$arg the string</li> | ||
4223 | 4180 | <li>$substring the substring to find</li> | ||
4224 | 4181 | </ul> | ||
4225 | 4182 | <div class="subsubsection">Version:</div> | ||
4226 | 4183 | <p class="annotationText">1.0</p> | ||
4227 | 4184 | <div class="subsubsection">Author:</div> | ||
4228 | 4185 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
4229 | 4186 | <div class="subsubsection">See:</div> | ||
4230 | 4187 | <ul> | ||
4231 | 4188 | <li> | ||
4232 | 4189 | <a href="http://www.xqueryfunctions.com/xq/functx_index-of-string-first.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_index-of-string-first.html</a> | ||
4233 | 4190 | </li> | ||
4234 | 4191 | </ul> | ||
4235 | 4192 | <hr /> | ||
4236 | 4193 | <div class="subsection" id="index-of-string-last-2"> | ||
4237 | 4194 | <span class="no_underline"></span>index-of-string-last<a href="#function_summary"> | ||
4238 | 4195 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
4239 | 4196 | </a> | ||
4240 | 4197 | </div> | ||
4241 | 4198 | <pre class="signature">declare function functx:index-of-string-last<span class="functName"></span> ( | ||
4242 | 4199 | <span class="funcParam"> $arg</span> as xs:string?, | ||
4243 | 4200 | <span class="funcParam"> $substring</span> as xs:string | ||
4244 | 4201 | ) as xs:integer?</pre> | ||
4245 | 4202 | <p> The last position of a substring | ||
4246 | 4203 | </p> | ||
4247 | 4204 | <div class="subsubsection">Parameters:</div> | ||
4248 | 4205 | <ul> | ||
4249 | 4206 | <li>$arg the string</li> | ||
4250 | 4207 | <li>$substring the substring to find</li> | ||
4251 | 4208 | </ul> | ||
4252 | 4209 | <div class="subsubsection">Version:</div> | ||
4253 | 4210 | <p class="annotationText">1.0</p> | ||
4254 | 4211 | <div class="subsubsection">Author:</div> | ||
4255 | 4212 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
4256 | 4213 | <div class="subsubsection">See:</div> | ||
4257 | 4214 | <ul> | ||
4258 | 4215 | <li> | ||
4259 | 4216 | <a href="http://www.xqueryfunctions.com/xq/functx_index-of-string-last.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_index-of-string-last.html</a> | ||
4260 | 4217 | </li> | ||
4261 | 4218 | </ul> | ||
4262 | 4219 | <hr /> | ||
4263 | 4220 | <div class="subsection" id="insert-string-3"> | ||
4264 | 4221 | <span class="no_underline"></span>insert-string<a href="#function_summary"> | ||
4265 | 4222 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
4266 | 4223 | </a> | ||
4267 | 4224 | </div> | ||
4268 | 4225 | <pre class="signature">declare function functx:insert-string<span class="functName"></span> ( | ||
4269 | 4226 | <span class="funcParam"> $originalString</span> as xs:string?, | ||
4270 | 4227 | <span class="funcParam"> $stringToInsert</span> as xs:string?, | ||
4271 | 4228 | <span class="funcParam"> $pos</span> as xs:integer | ||
4272 | 4229 | ) as xs:string</pre> | ||
4273 | 4230 | <p> Inserts a string at a specified position | ||
4274 | 4231 | </p> | ||
4275 | 4232 | <div class="subsubsection">Parameters:</div> | ||
4276 | 4233 | <ul> | ||
4277 | 4234 | <li>$originalString the original string to insert into</li> | ||
4278 | 4235 | <li>$stringToInsert the string to insert</li> | ||
4279 | 4236 | <li>$pos the position</li> | ||
4280 | 4237 | </ul> | ||
4281 | 4238 | <div class="subsubsection">Version:</div> | ||
4282 | 4239 | <p class="annotationText">1.0</p> | ||
4283 | 4240 | <div class="subsubsection">Author:</div> | ||
4284 | 4241 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
4285 | 4242 | <div class="subsubsection">See:</div> | ||
4286 | 4243 | <ul> | ||
4287 | 4244 | <li> | ||
4288 | 4245 | <a href="http://www.xqueryfunctions.com/xq/functx_insert-string.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_insert-string.html</a> | ||
4289 | 4246 | </li> | ||
4290 | 4247 | </ul> | ||
4291 | 4248 | <hr /> | ||
4292 | 4249 | <div class="subsection" id="is-a-number-1"> | ||
4293 | 4250 | <span class="no_underline"></span>is-a-number<a href="#function_summary"> | ||
4294 | 4251 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
4295 | 4252 | </a> | ||
4296 | 4253 | </div> | ||
4297 | 4254 | <pre class="signature">declare function functx:is-a-number<span class="functName"></span> ( | ||
4298 | 4255 | <span class="funcParam"> $value</span> as xs:anyAtomicType? | ||
4299 | 4256 | ) as xs:boolean</pre> | ||
4300 | 4257 | <p> Whether a value is numeric | ||
4301 | 4258 | </p> | ||
4302 | 4259 | <div class="subsubsection">Parameters:</div> | ||
4303 | 4260 | <ul> | ||
4304 | 4261 | <li>$value the value to test</li> | ||
4305 | 4262 | </ul> | ||
4306 | 4263 | <div class="subsubsection">Version:</div> | ||
4307 | 4264 | <p class="annotationText">1.0</p> | ||
4308 | 4265 | <div class="subsubsection">Author:</div> | ||
4309 | 4266 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
4310 | 4267 | <div class="subsubsection">See:</div> | ||
4311 | 4268 | <ul> | ||
4312 | 4269 | <li> | ||
4313 | 4270 | <a href="http://www.xqueryfunctions.com/xq/functx_is-a-number.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_is-a-number.html</a> | ||
4314 | 4271 | </li> | ||
4315 | 4272 | </ul> | ||
4316 | 4273 | <hr /> | ||
4317 | 4274 | <div class="subsection" id="is-absolute-uri-1"> | ||
4318 | 4275 | <span class="no_underline"></span>is-absolute-uri<a href="#function_summary"> | ||
4319 | 4276 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
4320 | 4277 | </a> | ||
4321 | 4278 | </div> | ||
4322 | 4279 | <pre class="signature">declare function functx:is-absolute-uri<span class="functName"></span> ( | ||
4323 | 4280 | <span class="funcParam"> $uri</span> as xs:string? | ||
4324 | 4281 | ) as xs:boolean</pre> | ||
4325 | 4282 | <p> Whether a URI is absolute | ||
4326 | 4283 | </p> | ||
4327 | 4284 | <div class="subsubsection">Parameters:</div> | ||
4328 | 4285 | <ul> | ||
4329 | 4286 | <li>$uri the URI to test</li> | ||
4330 | 4287 | </ul> | ||
4331 | 4288 | <div class="subsubsection">Version:</div> | ||
4332 | 4289 | <p class="annotationText">1.0</p> | ||
4333 | 4290 | <div class="subsubsection">Author:</div> | ||
4334 | 4291 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
4335 | 4292 | <div class="subsubsection">See:</div> | ||
4336 | 4293 | <ul> | ||
4337 | 4294 | <li> | ||
4338 | 4295 | <a href="http://www.xqueryfunctions.com/xq/functx_is-absolute-uri.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_is-absolute-uri.html</a> | ||
4339 | 4296 | </li> | ||
4340 | 4297 | </ul> | ||
4341 | 4298 | <hr /> | ||
4342 | 4299 | <div class="subsection" id="is-ancestor-2"> | ||
4343 | 4300 | <span class="no_underline"></span>is-ancestor<a href="#function_summary"> | ||
4344 | 4301 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
4345 | 4302 | </a> | ||
4346 | 4303 | </div> | ||
4347 | 4304 | <pre class="signature">declare function functx:is-ancestor<span class="functName"></span> ( | ||
4348 | 4305 | <span class="funcParam"> $node1</span> as node(), | ||
4349 | 4306 | <span class="funcParam"> $node2</span> as node() | ||
4350 | 4307 | ) as xs:boolean</pre> | ||
4351 | 4308 | <p> Whether an XML node is an ancestor of another node | ||
4352 | 4309 | </p> | ||
4353 | 4310 | <div class="subsubsection">Parameters:</div> | ||
4354 | 4311 | <ul> | ||
4355 | 4312 | <li>$node1 the first node</li> | ||
4356 | 4313 | <li>$node2 the second node</li> | ||
4357 | 4314 | </ul> | ||
4358 | 4315 | <div class="subsubsection">Version:</div> | ||
4359 | 4316 | <p class="annotationText">1.0</p> | ||
4360 | 4317 | <div class="subsubsection">Author:</div> | ||
4361 | 4318 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
4362 | 4319 | <div class="subsubsection">See:</div> | ||
4363 | 4320 | <ul> | ||
4364 | 4321 | <li> | ||
4365 | 4322 | <a href="http://www.xqueryfunctions.com/xq/functx_is-ancestor.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_is-ancestor.html</a> | ||
4366 | 4323 | </li> | ||
4367 | 4324 | </ul> | ||
4368 | 4325 | <hr /> | ||
4369 | 4326 | <div class="subsection" id="is-descendant-2"> | ||
4370 | 4327 | <span class="no_underline"></span>is-descendant<a href="#function_summary"> | ||
4371 | 4328 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
4372 | 4329 | </a> | ||
4373 | 4330 | </div> | ||
4374 | 4331 | <pre class="signature">declare function functx:is-descendant<span class="functName"></span> ( | ||
4375 | 4332 | <span class="funcParam"> $node1</span> as node(), | ||
4376 | 4333 | <span class="funcParam"> $node2</span> as node() | ||
4377 | 4334 | ) as xs:boolean</pre> | ||
4378 | 4335 | <p> Whether an XML node is a descendant of another node | ||
4379 | 4336 | </p> | ||
4380 | 4337 | <div class="subsubsection">Parameters:</div> | ||
4381 | 4338 | <ul> | ||
4382 | 4339 | <li>$node1 the first node</li> | ||
4383 | 4340 | <li>$node2 the second node</li> | ||
4384 | 4341 | </ul> | ||
4385 | 4342 | <div class="subsubsection">Version:</div> | ||
4386 | 4343 | <p class="annotationText">1.0</p> | ||
4387 | 4344 | <div class="subsubsection">Author:</div> | ||
4388 | 4345 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
4389 | 4346 | <div class="subsubsection">See:</div> | ||
4390 | 4347 | <ul> | ||
4391 | 4348 | <li> | ||
4392 | 4349 | <a href="http://www.xqueryfunctions.com/xq/functx_is-descendant.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_is-descendant.html</a> | ||
4393 | 4350 | </li> | ||
4394 | 4351 | </ul> | ||
4395 | 4352 | <hr /> | ||
4396 | 4353 | <div class="subsection" id="is-leap-year-1"> | ||
4397 | 4354 | <span class="no_underline"></span>is-leap-year<a href="#function_summary"> | ||
4398 | 4355 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
4399 | 4356 | </a> | ||
4400 | 4357 | </div> | ||
4401 | 4358 | <pre class="signature">declare function functx:is-leap-year<span class="functName"></span> ( | ||
4402 | 4359 | <span class="funcParam"> $date</span> as xs:anyAtomicType? | ||
4403 | 4360 | ) as xs:boolean</pre> | ||
4404 | 4361 | <p> Whether a date falls in a leap year | ||
4405 | 4362 | </p> | ||
4406 | 4363 | <div class="subsubsection">Parameters:</div> | ||
4407 | 4364 | <ul> | ||
4408 | 4365 | <li>$date the date or year</li> | ||
4409 | 4366 | </ul> | ||
4410 | 4367 | <div class="subsubsection">Version:</div> | ||
4411 | 4368 | <p class="annotationText">1.0</p> | ||
4412 | 4369 | <div class="subsubsection">Author:</div> | ||
4413 | 4370 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
4414 | 4371 | <div class="subsubsection">See:</div> | ||
4415 | 4372 | <ul> | ||
4416 | 4373 | <li> | ||
4417 | 4374 | <a href="http://www.xqueryfunctions.com/xq/functx_is-leap-year.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_is-leap-year.html</a> | ||
4418 | 4375 | </li> | ||
4419 | 4376 | </ul> | ||
4420 | 4377 | <hr /> | ||
4421 | 4378 | <div class="subsection" id="is-node-among-descendants-2"> | ||
4422 | 4379 | <span class="no_underline"></span>is-node-among-descendants<a href="#function_summary"> | ||
4423 | 4380 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
4424 | 4381 | </a> | ||
4425 | 4382 | </div> | ||
4426 | 4383 | <pre class="signature">declare function functx:is-node-among-descendants<span class="functName"></span> ( | ||
4427 | 4384 | <span class="funcParam"> $node</span> as node()?, | ||
4428 | 4385 | <span class="funcParam"> $seq</span> as node()* | ||
4429 | 4386 | ) as xs:boolean</pre> | ||
4430 | 4387 | <p> Whether an XML node is among the descendants of a sequence, based on node identity | ||
4431 | 4388 | </p> | ||
4432 | 4389 | <div class="subsubsection">Parameters:</div> | ||
4433 | 4390 | <ul> | ||
4434 | 4391 | <li>$node the node to test</li> | ||
4435 | 4392 | <li>$seq the sequence of nodes to search</li> | ||
4436 | 4393 | </ul> | ||
4437 | 4394 | <div class="subsubsection">Version:</div> | ||
4438 | 4395 | <p class="annotationText">1.0</p> | ||
4439 | 4396 | <div class="subsubsection">Author:</div> | ||
4440 | 4397 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
4441 | 4398 | <div class="subsubsection">See:</div> | ||
4442 | 4399 | <ul> | ||
4443 | 4400 | <li> | ||
4444 | 4401 | <a href="http://www.xqueryfunctions.com/xq/functx_is-node-among-descendants.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_is-node-among-descendants.html</a> | ||
4445 | 4402 | </li> | ||
4446 | 4403 | </ul> | ||
4447 | 4404 | <hr /> | ||
4448 | 4405 | <div class="subsection" id="is-node-among-descendants-deep-equal-2"> | ||
4449 | 4406 | <span class="no_underline"></span>is-node-among-descendants-deep-equal<a href="#function_summary"> | ||
4450 | 4407 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
4451 | 4408 | </a> | ||
4452 | 4409 | </div> | ||
4453 | 4410 | <pre class="signature">declare function functx:is-node-among-descendants-deep-equal<span class="functName"></span> ( | ||
4454 | 4411 | <span class="funcParam"> $node</span> as node()?, | ||
4455 | 4412 | <span class="funcParam"> $seq</span> as node()* | ||
4456 | 4413 | ) as xs:boolean</pre> | ||
4457 | 4414 | <p> Whether an XML node is among the descendants of a sequence, based on contents and attributes | ||
4458 | 4415 | </p> | ||
4459 | 4416 | <div class="subsubsection">Parameters:</div> | ||
4460 | 4417 | <ul> | ||
4461 | 4418 | <li>$node the node to test</li> | ||
4462 | 4419 | <li>$seq the sequence of nodes to search</li> | ||
4463 | 4420 | </ul> | ||
4464 | 4421 | <div class="subsubsection">Version:</div> | ||
4465 | 4422 | <p class="annotationText">1.0</p> | ||
4466 | 4423 | <div class="subsubsection">Author:</div> | ||
4467 | 4424 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
4468 | 4425 | <div class="subsubsection">See:</div> | ||
4469 | 4426 | <ul> | ||
4470 | 4427 | <li> | ||
4471 | 4428 | <a href="http://www.xqueryfunctions.com/xq/functx_is-node-among-descendants-deep-equal.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_is-node-among-descendants-deep-equal.html</a> | ||
4472 | 4429 | </li> | ||
4473 | 4430 | </ul> | ||
4474 | 4431 | <hr /> | ||
4475 | 4432 | <div class="subsection" id="is-node-in-sequence-2"> | ||
4476 | 4433 | <span class="no_underline"></span>is-node-in-sequence<a href="#function_summary"> | ||
4477 | 4434 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
4478 | 4435 | </a> | ||
4479 | 4436 | </div> | ||
4480 | 4437 | <pre class="signature">declare function functx:is-node-in-sequence<span class="functName"></span> ( | ||
4481 | 4438 | <span class="funcParam"> $node</span> as node()?, | ||
4482 | 4439 | <span class="funcParam"> $seq</span> as node()* | ||
4483 | 4440 | ) as xs:boolean</pre> | ||
4484 | 4441 | <p> Whether an XML node is in a sequence, based on node identity | ||
4485 | 4442 | </p> | ||
4486 | 4443 | <div class="subsubsection">Parameters:</div> | ||
4487 | 4444 | <ul> | ||
4488 | 4445 | <li>$node the node to test</li> | ||
4489 | 4446 | <li>$seq the sequence of nodes to search</li> | ||
4490 | 4447 | </ul> | ||
4491 | 4448 | <div class="subsubsection">Version:</div> | ||
4492 | 4449 | <p class="annotationText">1.0</p> | ||
4493 | 4450 | <div class="subsubsection">Author:</div> | ||
4494 | 4451 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
4495 | 4452 | <div class="subsubsection">See:</div> | ||
4496 | 4453 | <ul> | ||
4497 | 4454 | <li> | ||
4498 | 4455 | <a href="http://www.xqueryfunctions.com/xq/functx_is-node-in-sequence.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_is-node-in-sequence.html</a> | ||
4499 | 4456 | </li> | ||
4500 | 4457 | </ul> | ||
4501 | 4458 | <hr /> | ||
4502 | 4459 | <div class="subsection" id="is-node-in-sequence-deep-equal-2"> | ||
4503 | 4460 | <span class="no_underline"></span>is-node-in-sequence-deep-equal<a href="#function_summary"> | ||
4504 | 4461 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
4505 | 4462 | </a> | ||
4506 | 4463 | </div> | ||
4507 | 4464 | <pre class="signature">declare function functx:is-node-in-sequence-deep-equal<span class="functName"></span> ( | ||
4508 | 4465 | <span class="funcParam"> $node</span> as node()?, | ||
4509 | 4466 | <span class="funcParam"> $seq</span> as node()* | ||
4510 | 4467 | ) as xs:boolean</pre> | ||
4511 | 4468 | <p> Whether an XML node is in a sequence, based on contents and attributes | ||
4512 | 4469 | </p> | ||
4513 | 4470 | <div class="subsubsection">Parameters:</div> | ||
4514 | 4471 | <ul> | ||
4515 | 4472 | <li>$node the node to test</li> | ||
4516 | 4473 | <li>$seq the sequence of nodes to search</li> | ||
4517 | 4474 | </ul> | ||
4518 | 4475 | <div class="subsubsection">Version:</div> | ||
4519 | 4476 | <p class="annotationText">1.0</p> | ||
4520 | 4477 | <div class="subsubsection">Author:</div> | ||
4521 | 4478 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
4522 | 4479 | <div class="subsubsection">See:</div> | ||
4523 | 4480 | <ul> | ||
4524 | 4481 | <li> | ||
4525 | 4482 | <a href="http://www.xqueryfunctions.com/xq/functx_is-node-in-sequence-deep-equal.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_is-node-in-sequence-deep-equal.html</a> | ||
4526 | 4483 | </li> | ||
4527 | 4484 | </ul> | ||
4528 | 4485 | <hr /> | ||
4529 | 4486 | <div class="subsection" id="is-value-in-sequence-2"> | ||
4530 | 4487 | <span class="no_underline"></span>is-value-in-sequence<a href="#function_summary"> | ||
4531 | 4488 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
4532 | 4489 | </a> | ||
4533 | 4490 | </div> | ||
4534 | 4491 | <pre class="signature">declare function functx:is-value-in-sequence<span class="functName"></span> ( | ||
4535 | 4492 | <span class="funcParam"> $value</span> as xs:anyAtomicType?, | ||
4536 | 4493 | <span class="funcParam"> $seq</span> as xs:anyAtomicType* | ||
4537 | 4494 | ) as xs:boolean</pre> | ||
4538 | 4495 | <p> Whether an atomic value appears in a sequence | ||
4539 | 4496 | </p> | ||
4540 | 4497 | <div class="subsubsection">Parameters:</div> | ||
4541 | 4498 | <ul> | ||
4542 | 4499 | <li>$value the atomic value to test</li> | ||
4543 | 4500 | <li>$seq the sequence of values to search</li> | ||
4544 | 4501 | </ul> | ||
4545 | 4502 | <div class="subsubsection">Version:</div> | ||
4546 | 4503 | <p class="annotationText">1.0</p> | ||
4547 | 4504 | <div class="subsubsection">Author:</div> | ||
4548 | 4505 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
4549 | 4506 | <div class="subsubsection">See:</div> | ||
4550 | 4507 | <ul> | ||
4551 | 4508 | <li> | ||
4552 | 4509 | <a href="http://www.xqueryfunctions.com/xq/functx_is-value-in-sequence.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_is-value-in-sequence.html</a> | ||
4553 | 4510 | </li> | ||
4554 | 4511 | </ul> | ||
4555 | 4512 | <hr /> | ||
4556 | 4513 | <div class="subsection" id="last-day-of-month-1"> | ||
4557 | 4514 | <span class="no_underline"></span>last-day-of-month<a href="#function_summary"> | ||
4558 | 4515 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
4559 | 4516 | </a> | ||
4560 | 4517 | </div> | ||
4561 | 4518 | <pre class="signature">declare function functx:last-day-of-month<span class="functName"></span> ( | ||
4562 | 4519 | <span class="funcParam"> $date</span> as xs:anyAtomicType? | ||
4563 | 4520 | ) as xs:date?</pre> | ||
4564 | 4521 | <p> The last day of the month of a date | ||
4565 | 4522 | </p> | ||
4566 | 4523 | <div class="subsubsection">Parameters:</div> | ||
4567 | 4524 | <ul> | ||
4568 | 4525 | <li>$date the date</li> | ||
4569 | 4526 | </ul> | ||
4570 | 4527 | <div class="subsubsection">Version:</div> | ||
4571 | 4528 | <p class="annotationText">1.0</p> | ||
4572 | 4529 | <div class="subsubsection">Author:</div> | ||
4573 | 4530 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
4574 | 4531 | <div class="subsubsection">See:</div> | ||
4575 | 4532 | <ul> | ||
4576 | 4533 | <li> | ||
4577 | 4534 | <a href="http://www.xqueryfunctions.com/xq/functx_last-day-of-month.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_last-day-of-month.html</a> | ||
4578 | 4535 | </li> | ||
4579 | 4536 | </ul> | ||
4580 | 4537 | <hr /> | ||
4581 | 4538 | <div class="subsection" id="last-day-of-year-1"> | ||
4582 | 4539 | <span class="no_underline"></span>last-day-of-year<a href="#function_summary"> | ||
4583 | 4540 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
4584 | 4541 | </a> | ||
4585 | 4542 | </div> | ||
4586 | 4543 | <pre class="signature">declare function functx:last-day-of-year<span class="functName"></span> ( | ||
4587 | 4544 | <span class="funcParam"> $date</span> as xs:anyAtomicType? | ||
4588 | 4545 | ) as xs:date?</pre> | ||
4589 | 4546 | <p> The last day of the month of a date | ||
4590 | 4547 | </p> | ||
4591 | 4548 | <div class="subsubsection">Parameters:</div> | ||
4592 | 4549 | <ul> | ||
4593 | 4550 | <li>$date the date</li> | ||
4594 | 4551 | </ul> | ||
4595 | 4552 | <div class="subsubsection">Version:</div> | ||
4596 | 4553 | <p class="annotationText">1.0</p> | ||
4597 | 4554 | <div class="subsubsection">Author:</div> | ||
4598 | 4555 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
4599 | 4556 | <div class="subsubsection">See:</div> | ||
4600 | 4557 | <ul> | ||
4601 | 4558 | <li> | ||
4602 | 4559 | <a href="http://www.xqueryfunctions.com/xq/functx_last-day-of-year.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_last-day-of-year.html</a> | ||
4603 | 4560 | </li> | ||
4604 | 4561 | </ul> | ||
4605 | 4562 | <hr /> | ||
4606 | 4563 | <div class="subsection" id="last-node-1"> | ||
4607 | 4564 | <span class="no_underline"></span>last-node<a href="#function_summary"> | ||
4608 | 4565 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
4609 | 4566 | </a> | ||
4610 | 4567 | </div> | ||
4611 | 4568 | <pre class="signature">declare function functx:last-node<span class="functName"></span> ( | ||
4612 | 4569 | <span class="funcParam"> $nodes</span> as node()* | ||
4613 | 4570 | ) as node()?</pre> | ||
4614 | 4571 | <p> The XML node in a sequence that is last in document order | ||
4615 | 4572 | </p> | ||
4616 | 4573 | <div class="subsubsection">Parameters:</div> | ||
4617 | 4574 | <ul> | ||
4618 | 4575 | <li>$nodes the sequence of nodes</li> | ||
4619 | 4576 | </ul> | ||
4620 | 4577 | <div class="subsubsection">Version:</div> | ||
4621 | 4578 | <p class="annotationText">1.0</p> | ||
4622 | 4579 | <div class="subsubsection">Author:</div> | ||
4623 | 4580 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
4624 | 4581 | <div class="subsubsection">See:</div> | ||
4625 | 4582 | <ul> | ||
4626 | 4583 | <li> | ||
4627 | 4584 | <a href="http://www.xqueryfunctions.com/xq/functx_last-node.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_last-node.html</a> | ||
4628 | 4585 | </li> | ||
4629 | 4586 | </ul> | ||
4630 | 4587 | <hr /> | ||
4631 | 4588 | <div class="subsection" id="leaf-elements-1"> | ||
4632 | 4589 | <span class="no_underline"></span>leaf-elements<a href="#function_summary"> | ||
4633 | 4590 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
4634 | 4591 | </a> | ||
4635 | 4592 | </div> | ||
4636 | 4593 | <pre class="signature">declare function functx:leaf-elements<span class="functName"></span> ( | ||
4637 | 4594 | <span class="funcParam"> $root</span> as node()? | ||
4638 | 4595 | ) as element(*)*</pre> | ||
4639 | 4596 | <p> All XML elements that don't have any child elements | ||
4640 | 4597 | </p> | ||
4641 | 4598 | <div class="subsubsection">Parameters:</div> | ||
4642 | 4599 | <ul> | ||
4643 | 4600 | <li>$root the root</li> | ||
4644 | 4601 | </ul> | ||
4645 | 4602 | <div class="subsubsection">Version:</div> | ||
4646 | 4603 | <p class="annotationText">1.0</p> | ||
4647 | 4604 | <div class="subsubsection">Author:</div> | ||
4648 | 4605 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
4649 | 4606 | <div class="subsubsection">See:</div> | ||
4650 | 4607 | <ul> | ||
4651 | 4608 | <li> | ||
4652 | 4609 | <a href="http://www.xqueryfunctions.com/xq/functx_leaf-elements.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_leaf-elements.html</a> | ||
4653 | 4610 | </li> | ||
4654 | 4611 | </ul> | ||
4655 | 4612 | <hr /> | ||
4656 | 4613 | <div class="subsection" id="left-trim-1"> | ||
4657 | 4614 | <span class="no_underline"></span>left-trim<a href="#function_summary"> | ||
4658 | 4615 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
4659 | 4616 | </a> | ||
4660 | 4617 | </div> | ||
4661 | 4618 | <pre class="signature">declare function functx:left-trim<span class="functName"></span> ( | ||
4662 | 4619 | <span class="funcParam"> $arg</span> as xs:string? | ||
4663 | 4620 | ) as xs:string</pre> | ||
4664 | 4621 | <p> Trims leading whitespace | ||
4665 | 4622 | </p> | ||
4666 | 4623 | <div class="subsubsection">Parameters:</div> | ||
4667 | 4624 | <ul> | ||
4668 | 4625 | <li>$arg the string to trim</li> | ||
4669 | 4626 | </ul> | ||
4670 | 4627 | <div class="subsubsection">Version:</div> | ||
4671 | 4628 | <p class="annotationText">1.0</p> | ||
4672 | 4629 | <div class="subsubsection">Author:</div> | ||
4673 | 4630 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
4674 | 4631 | <div class="subsubsection">See:</div> | ||
4675 | 4632 | <ul> | ||
4676 | 4633 | <li> | ||
4677 | 4634 | <a href="http://www.xqueryfunctions.com/xq/functx_left-trim.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_left-trim.html</a> | ||
4678 | 4635 | </li> | ||
4679 | 4636 | </ul> | ||
4680 | 4637 | <hr /> | ||
4681 | 4638 | <div class="subsection" id="line-count-1"> | ||
4682 | 4639 | <span class="no_underline"></span>line-count<a href="#function_summary"> | ||
4683 | 4640 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
4684 | 4641 | </a> | ||
4685 | 4642 | </div> | ||
4686 | 4643 | <pre class="signature">declare function functx:line-count<span class="functName"></span> ( | ||
4687 | 4644 | <span class="funcParam"> $arg</span> as xs:string? | ||
4688 | 4645 | ) as xs:integer</pre> | ||
4689 | 4646 | <p> The number of lines | ||
4690 | 4647 | </p> | ||
4691 | 4648 | <div class="subsubsection">Parameters:</div> | ||
4692 | 4649 | <ul> | ||
4693 | 4650 | <li>$arg the string to test</li> | ||
4694 | 4651 | </ul> | ||
4695 | 4652 | <div class="subsubsection">Version:</div> | ||
4696 | 4653 | <p class="annotationText">1.0</p> | ||
4697 | 4654 | <div class="subsubsection">Author:</div> | ||
4698 | 4655 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
4699 | 4656 | <div class="subsubsection">See:</div> | ||
4700 | 4657 | <ul> | ||
4701 | 4658 | <li> | ||
4702 | 4659 | <a href="http://www.xqueryfunctions.com/xq/functx_line-count.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_line-count.html</a> | ||
4703 | 4660 | </li> | ||
4704 | 4661 | </ul> | ||
4705 | 4662 | <hr /> | ||
4706 | 4663 | <div class="subsection" id="lines-1"> | ||
4707 | 4664 | <span class="no_underline"></span>lines<a href="#function_summary"> | ||
4708 | 4665 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
4709 | 4666 | </a> | ||
4710 | 4667 | </div> | ||
4711 | 4668 | <pre class="signature">declare function functx:lines<span class="functName"></span> ( | ||
4712 | 4669 | <span class="funcParam"> $arg</span> as xs:string? | ||
4713 | 4670 | ) as xs:string*</pre> | ||
4714 | 4671 | <p> Split a string into separate lines | ||
4715 | 4672 | </p> | ||
4716 | 4673 | <div class="subsubsection">Parameters:</div> | ||
4717 | 4674 | <ul> | ||
4718 | 4675 | <li>$arg the string to split</li> | ||
4719 | 4676 | </ul> | ||
4720 | 4677 | <div class="subsubsection">Version:</div> | ||
4721 | 4678 | <p class="annotationText">1.0</p> | ||
4722 | 4679 | <div class="subsubsection">Author:</div> | ||
4723 | 4680 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
4724 | 4681 | <div class="subsubsection">See:</div> | ||
4725 | 4682 | <ul> | ||
4726 | 4683 | <li> | ||
4727 | 4684 | <a href="http://www.xqueryfunctions.com/xq/functx_lines.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_lines.html</a> | ||
4728 | 4685 | </li> | ||
4729 | 4686 | </ul> | ||
4730 | 4687 | <hr /> | ||
4731 | 4688 | <div class="subsection" id="max-depth-1"> | ||
4732 | 4689 | <span class="no_underline"></span>max-depth<a href="#function_summary"> | ||
4733 | 4690 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
4734 | 4691 | </a> | ||
4735 | 4692 | </div> | ||
4736 | 4693 | <pre class="signature">declare function functx:max-depth<span class="functName"></span> ( | ||
4737 | 4694 | <span class="funcParam"> $root</span> as node()? | ||
4738 | 4695 | ) as xs:integer?</pre> | ||
4739 | 4696 | <p> The maximum depth of elements in an XML tree | ||
4740 | 4697 | </p> | ||
4741 | 4698 | <div class="subsubsection">Parameters:</div> | ||
4742 | 4699 | <ul> | ||
4743 | 4700 | <li>$root the root to start from</li> | ||
4744 | 4701 | </ul> | ||
4745 | 4702 | <div class="subsubsection">Version:</div> | ||
4746 | 4703 | <p class="annotationText">1.0</p> | ||
4747 | 4704 | <div class="subsubsection">Author:</div> | ||
4748 | 4705 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
4749 | 4706 | <div class="subsubsection">See:</div> | ||
4750 | 4707 | <ul> | ||
4751 | 4708 | <li> | ||
4752 | 4709 | <a href="http://www.xqueryfunctions.com/xq/functx_max-depth.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_max-depth.html</a> | ||
4753 | 4710 | </li> | ||
4754 | 4711 | </ul> | ||
4755 | 4712 | <hr /> | ||
4756 | 4713 | <div class="subsection" id="max-determine-type-1"> | ||
4757 | 4714 | <span class="no_underline"></span>max-determine-type<a href="#function_summary"> | ||
4758 | 4715 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
4759 | 4716 | </a> | ||
4760 | 4717 | </div> | ||
4761 | 4718 | <pre class="signature">declare function functx:max-determine-type<span class="functName"></span> ( | ||
4762 | 4719 | <span class="funcParam"> $seq</span> as xs:anyAtomicType* | ||
4763 | 4720 | ) as xs:anyAtomicType?</pre> | ||
4764 | 4721 | <p> The maximum value in a sequence, figuring out its type (numeric or string) | ||
4765 | 4722 | </p> | ||
4766 | 4723 | <div class="subsubsection">Parameters:</div> | ||
4767 | 4724 | <ul> | ||
4768 | 4725 | <li>$seq the sequence of values to test</li> | ||
4769 | 4726 | </ul> | ||
4770 | 4727 | <div class="subsubsection">Version:</div> | ||
4771 | 4728 | <p class="annotationText">1.0</p> | ||
4772 | 4729 | <div class="subsubsection">Author:</div> | ||
4773 | 4730 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
4774 | 4731 | <div class="subsubsection">See:</div> | ||
4775 | 4732 | <ul> | ||
4776 | 4733 | <li> | ||
4777 | 4734 | <a href="http://www.xqueryfunctions.com/xq/functx_max-determine-type.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_max-determine-type.html</a> | ||
4778 | 4735 | </li> | ||
4779 | 4736 | </ul> | ||
4780 | 4737 | <hr /> | ||
4781 | 4738 | <div class="subsection" id="max-line-length-1"> | ||
4782 | 4739 | <span class="no_underline"></span>max-line-length<a href="#function_summary"> | ||
4783 | 4740 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
4784 | 4741 | </a> | ||
4785 | 4742 | </div> | ||
4786 | 4743 | <pre class="signature">declare function functx:max-line-length<span class="functName"></span> ( | ||
4787 | 4744 | <span class="funcParam"> $arg</span> as xs:string? | ||
4788 | 4745 | ) as xs:integer</pre> | ||
4789 | 4746 | <p> The maximum line length | ||
4790 | 4747 | </p> | ||
4791 | 4748 | <div class="subsubsection">Parameters:</div> | ||
4792 | 4749 | <ul> | ||
4793 | 4750 | <li>$arg the string to test</li> | ||
4794 | 4751 | </ul> | ||
4795 | 4752 | <div class="subsubsection">Version:</div> | ||
4796 | 4753 | <p class="annotationText">1.0</p> | ||
4797 | 4754 | <div class="subsubsection">Author:</div> | ||
4798 | 4755 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
4799 | 4756 | <div class="subsubsection">See:</div> | ||
4800 | 4757 | <ul> | ||
4801 | 4758 | <li> | ||
4802 | 4759 | <a href="http://www.xqueryfunctions.com/xq/functx_max-line-length.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_max-line-length.html</a> | ||
4803 | 4760 | </li> | ||
4804 | 4761 | </ul> | ||
4805 | 4762 | <hr /> | ||
4806 | 4763 | <div class="subsection" id="max-node-1"> | ||
4807 | 4764 | <span class="no_underline"></span>max-node<a href="#function_summary"> | ||
4808 | 4765 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
4809 | 4766 | </a> | ||
4810 | 4767 | </div> | ||
4811 | 4768 | <pre class="signature">declare function functx:max-node<span class="functName"></span> ( | ||
4812 | 4769 | <span class="funcParam"> $nodes</span> as node()* | ||
4813 | 4770 | ) as node()*</pre> | ||
4814 | 4771 | <p> The XML node whose typed value is the maximum | ||
4815 | 4772 | </p> | ||
4816 | 4773 | <div class="subsubsection">Parameters:</div> | ||
4817 | 4774 | <ul> | ||
4818 | 4775 | <li>$nodes the sequence of nodes to test</li> | ||
4819 | 4776 | </ul> | ||
4820 | 4777 | <div class="subsubsection">Version:</div> | ||
4821 | 4778 | <p class="annotationText">1.0</p> | ||
4822 | 4779 | <div class="subsubsection">Author:</div> | ||
4823 | 4780 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
4824 | 4781 | <div class="subsubsection">See:</div> | ||
4825 | 4782 | <ul> | ||
4826 | 4783 | <li> | ||
4827 | 4784 | <a href="http://www.xqueryfunctions.com/xq/functx_max-node.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_max-node.html</a> | ||
4828 | 4785 | </li> | ||
4829 | 4786 | </ul> | ||
4830 | 4787 | <hr /> | ||
4831 | 4788 | <div class="subsection" id="max-string-1"> | ||
4832 | 4789 | <span class="no_underline"></span>max-string<a href="#function_summary"> | ||
4833 | 4790 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
4834 | 4791 | </a> | ||
4835 | 4792 | </div> | ||
4836 | 4793 | <pre class="signature">declare function functx:max-string<span class="functName"></span> ( | ||
4837 | 4794 | <span class="funcParam"> $strings</span> as xs:anyAtomicType* | ||
4838 | 4795 | ) as xs:string?</pre> | ||
4839 | 4796 | <p> The maximum of a sequence of values, treating them like strings | ||
4840 | 4797 | </p> | ||
4841 | 4798 | <div class="subsubsection">Parameters:</div> | ||
4842 | 4799 | <ul> | ||
4843 | 4800 | <li>$strings the sequence of values</li> | ||
4844 | 4801 | </ul> | ||
4845 | 4802 | <div class="subsubsection">Version:</div> | ||
4846 | 4803 | <p class="annotationText">1.0</p> | ||
4847 | 4804 | <div class="subsubsection">Author:</div> | ||
4848 | 4805 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
4849 | 4806 | <div class="subsubsection">See:</div> | ||
4850 | 4807 | <ul> | ||
4851 | 4808 | <li> | ||
4852 | 4809 | <a href="http://www.xqueryfunctions.com/xq/functx_max-string.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_max-string.html</a> | ||
4853 | 4810 | </li> | ||
4854 | 4811 | </ul> | ||
4855 | 4812 | <hr /> | ||
4856 | 4813 | <div class="subsection" id="min-determine-type-1"> | ||
4857 | 4814 | <span class="no_underline"></span>min-determine-type<a href="#function_summary"> | ||
4858 | 4815 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
4859 | 4816 | </a> | ||
4860 | 4817 | </div> | ||
4861 | 4818 | <pre class="signature">declare function functx:min-determine-type<span class="functName"></span> ( | ||
4862 | 4819 | <span class="funcParam"> $seq</span> as xs:anyAtomicType* | ||
4863 | 4820 | ) as xs:anyAtomicType?</pre> | ||
4864 | 4821 | <p> The minimum value in a sequence, figuring out its type (numeric or string) | ||
4865 | 4822 | </p> | ||
4866 | 4823 | <div class="subsubsection">Parameters:</div> | ||
4867 | 4824 | <ul> | ||
4868 | 4825 | <li>$seq the sequence of values to test</li> | ||
4869 | 4826 | </ul> | ||
4870 | 4827 | <div class="subsubsection">Version:</div> | ||
4871 | 4828 | <p class="annotationText">1.0</p> | ||
4872 | 4829 | <div class="subsubsection">Author:</div> | ||
4873 | 4830 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
4874 | 4831 | <div class="subsubsection">See:</div> | ||
4875 | 4832 | <ul> | ||
4876 | 4833 | <li> | ||
4877 | 4834 | <a href="http://www.xqueryfunctions.com/xq/functx_min-determine-type.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_min-determine-type.html</a> | ||
4878 | 4835 | </li> | ||
4879 | 4836 | </ul> | ||
4880 | 4837 | <hr /> | ||
4881 | 4838 | <div class="subsection" id="min-node-1"> | ||
4882 | 4839 | <span class="no_underline"></span>min-node<a href="#function_summary"> | ||
4883 | 4840 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
4884 | 4841 | </a> | ||
4885 | 4842 | </div> | ||
4886 | 4843 | <pre class="signature">declare function functx:min-node<span class="functName"></span> ( | ||
4887 | 4844 | <span class="funcParam"> $nodes</span> as node()* | ||
4888 | 4845 | ) as node()*</pre> | ||
4889 | 4846 | <p> The XML node whose typed value is the minimum | ||
4890 | 4847 | </p> | ||
4891 | 4848 | <div class="subsubsection">Parameters:</div> | ||
4892 | 4849 | <ul> | ||
4893 | 4850 | <li>$nodes the sequence of nodes to test</li> | ||
4894 | 4851 | </ul> | ||
4895 | 4852 | <div class="subsubsection">Version:</div> | ||
4896 | 4853 | <p class="annotationText">1.0</p> | ||
4897 | 4854 | <div class="subsubsection">Author:</div> | ||
4898 | 4855 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
4899 | 4856 | <div class="subsubsection">See:</div> | ||
4900 | 4857 | <ul> | ||
4901 | 4858 | <li> | ||
4902 | 4859 | <a href="http://www.xqueryfunctions.com/xq/functx_min-node.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_min-node.html</a> | ||
4903 | 4860 | </li> | ||
4904 | 4861 | </ul> | ||
4905 | 4862 | <hr /> | ||
4906 | 4863 | <div class="subsection" id="min-non-empty-string-1"> | ||
4907 | 4864 | <span class="no_underline"></span>min-non-empty-string<a href="#function_summary"> | ||
4908 | 4865 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
4909 | 4866 | </a> | ||
4910 | 4867 | </div> | ||
4911 | 4868 | <pre class="signature">declare function functx:min-non-empty-string<span class="functName"></span> ( | ||
4912 | 4869 | <span class="funcParam"> $strings</span> as xs:string* | ||
4913 | 4870 | ) as xs:string?</pre> | ||
4914 | 4871 | <p> The minimum of a sequence of strings, ignoring "empty" values | ||
4915 | 4872 | </p> | ||
4916 | 4873 | <div class="subsubsection">Parameters:</div> | ||
4917 | 4874 | <ul> | ||
4918 | 4875 | <li>$strings the sequence of strings to search</li> | ||
4919 | 4876 | </ul> | ||
4920 | 4877 | <div class="subsubsection">Version:</div> | ||
4921 | 4878 | <p class="annotationText">1.0</p> | ||
4922 | 4879 | <div class="subsubsection">Author:</div> | ||
4923 | 4880 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
4924 | 4881 | <div class="subsubsection">See:</div> | ||
4925 | 4882 | <ul> | ||
4926 | 4883 | <li> | ||
4927 | 4884 | <a href="http://www.xqueryfunctions.com/xq/functx_min-non-empty-string.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_min-non-empty-string.html</a> | ||
4928 | 4885 | </li> | ||
4929 | 4886 | </ul> | ||
4930 | 4887 | <hr /> | ||
4931 | 4888 | <div class="subsection" id="min-string-1"> | ||
4932 | 4889 | <span class="no_underline"></span>min-string<a href="#function_summary"> | ||
4933 | 4890 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
4934 | 4891 | </a> | ||
4935 | 4892 | </div> | ||
4936 | 4893 | <pre class="signature">declare function functx:min-string<span class="functName"></span> ( | ||
4937 | 4894 | <span class="funcParam"> $strings</span> as xs:anyAtomicType* | ||
4938 | 4895 | ) as xs:string?</pre> | ||
4939 | 4896 | <p> The minimum of a sequence of values, treating them like strings | ||
4940 | 4897 | </p> | ||
4941 | 4898 | <div class="subsubsection">Parameters:</div> | ||
4942 | 4899 | <ul> | ||
4943 | 4900 | <li>$strings the sequence of strings</li> | ||
4944 | 4901 | </ul> | ||
4945 | 4902 | <div class="subsubsection">Version:</div> | ||
4946 | 4903 | <p class="annotationText">1.0</p> | ||
4947 | 4904 | <div class="subsubsection">Author:</div> | ||
4948 | 4905 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
4949 | 4906 | <div class="subsubsection">See:</div> | ||
4950 | 4907 | <ul> | ||
4951 | 4908 | <li> | ||
4952 | 4909 | <a href="http://www.xqueryfunctions.com/xq/functx_min-string.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_min-string.html</a> | ||
4953 | 4910 | </li> | ||
4954 | 4911 | </ul> | ||
4955 | 4912 | <hr /> | ||
4956 | 4913 | <div class="subsection" id="mmddyyyy-to-date-1"> | ||
4957 | 4914 | <span class="no_underline"></span>mmddyyyy-to-date<a href="#function_summary"> | ||
4958 | 4915 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
4959 | 4916 | </a> | ||
4960 | 4917 | </div> | ||
4961 | 4918 | <pre class="signature">declare function functx:mmddyyyy-to-date<span class="functName"></span> ( | ||
4962 | 4919 | <span class="funcParam"> $dateString</span> as xs:string? | ||
4963 | 4920 | ) as xs:date?</pre> | ||
4964 | 4921 | <p> Converts a string with format MMDDYYYY (with any delimiters) to a date | ||
4965 | 4922 | </p> | ||
4966 | 4923 | <div class="subsubsection">Parameters:</div> | ||
4967 | 4924 | <ul> | ||
4968 | 4925 | <li>$dateString the MMDDYYYY string</li> | ||
4969 | 4926 | </ul> | ||
4970 | 4927 | <div class="subsubsection">Version:</div> | ||
4971 | 4928 | <p class="annotationText">1.0</p> | ||
4972 | 4929 | <div class="subsubsection">Author:</div> | ||
4973 | 4930 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
4974 | 4931 | <div class="subsubsection">See:</div> | ||
4975 | 4932 | <ul> | ||
4976 | 4933 | <li> | ||
4977 | 4934 | <a href="http://www.xqueryfunctions.com/xq/functx_mmddyyyy-to-date.html" target="_blank">http://www.xqueryfunctions.com/xq/functx_mmddyyyy-to-date.html</a> | ||
4978 | 4935 | </li> | ||
4979 | 4936 | </ul> | ||
4980 | 4937 | <hr /> | ||
4981 | 4938 | <div class="subsection" id="month-abbrev-en-1"> | ||
4982 | 4939 | <span class="no_underline"></span>month-abbrev-en<a href="#function_summary"> | ||
4983 | 4940 | <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" /> | ||
4984 | 4941 | </a> | ||
4985 | 4942 | </div> | ||
4986 | 4943 | <pre class="signature">declare function functx:month-abbrev-en<span class="functName"></span> ( | ||
4987 | 4944 | <span class="funcParam"> $date</span> as xs:anyAtomicType? | ||
4988 | 4945 | ) as xs:string?</pre> | ||
4989 | 4946 | <p> The month of a date as an abbreviated word (Jan, Feb, etc.) | ||
4990 | 4947 | </p> | ||
4991 | 4948 | <div class="subsubsection">Parameters:</div> | ||
4992 | 4949 | <ul> | ||
4993 | 4950 | <li>$date the date</li> | ||
4994 | 4951 | </ul> | ||
4995 | 4952 | <div class="subsubsection">Version:</div> | ||
4996 | 4953 | <p class="annotationText">1.0</p> | ||
4997 | 4954 | <div class="subsubsection">Author:</div> | ||
4998 | 4955 | <p class="annotationText">Priscilla Walmsley, Datypic</p> | ||
4999 | 4956 | <div class="subsubsection">See:</div> | ||
5000 | 4957 | <ul> |
Validation queue starting for merge proposal. zorbatest. lambda. nu:8080/ remotequeue/ functx- uri-fix- 2012-01- 10T07-50- 05.211Z/ log.html
Log at: http://