← Back to team overview

zorba-coders team mailing list archive

[Merge] lp:~zorba-coders/zorba/update3.0_string-module into lp:zorba

 

Juan Zacarias has proposed merging lp:~zorba-coders/zorba/update3.0_string-module into lp:zorba.

Commit message:
Updated String module to Zorba 3.0 format.

Requested reviews:
  Chris Hillery (ceejatec)
Related bugs:
  Bug #1189805 in Zorba: "Update core module "string""
  https://bugs.launchpad.net/zorba/+bug/1189805

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/update3.0_string-module/+merge/171376

Updated String module to Zorba 3.0 format.
-- 
The attached diff has been truncated due to its size.
https://code.launchpad.net/~zorba-coders/zorba/update3.0_string-module/+merge/171376
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'doc/zorba/options.dox'
--- doc/zorba/options.dox	2013-02-07 17:24:36 +0000
+++ doc/zorba/options.dox	2013-06-25 17:46:30 +0000
@@ -375,11 +375,11 @@
 
 However, the disadvantage is that a streamable string can only be consumed exactly once.
 If a streamable string is consumed more than once, an error is raised.
-In order to enable multiple consumers of a streamable string, the materialize function of the string module (<a href="http://www.zorba-xquery.com/html/modules/zorba/xdm/atomic/string";>http://www.zorba-xquery.com/modules/string</a>) should be used to materialize the entire contents in an (regular) xs:string item.
+In order to enable multiple consumers of a streamable string, the materialize function of the string module (<a href="http://www.zorba-xquery.com/html/modules/zorba/xdm/atomic/string";>http://zorba.io/modules/string</a>) should be used to materialize the entire contents in an (regular) xs:string item.
 
 \code
 import module namespace file = "http://expath.org/ns/file";;
-import module namespace string = "http://www.zorba-xquery.com/modules/string";;
+import module namespace string = "http://zorba.io/modules/string";;
 
 let $x := string:materialize(file:read-text("myfile.txt")))
 return ($x, $x)

=== modified file 'doc/zorba/xqdoc/images/modules.svg'
--- doc/zorba/xqdoc/images/modules.svg	2013-06-15 20:57:44 +0000
+++ doc/zorba/xqdoc/images/modules.svg	2013-06-25 17:46:30 +0000
@@ -814,10 +814,262 @@
 </a>
 </g>
 <!-- 44 -->
+<<<<<<< TREE
 <g id="node16" class="node"><title>44</title>
 <a xlink:href="../modules_FunctX.html" xlink:title="(Zorba-core) module uri=http://www.functx.com/";>
 <ellipse fill="white" stroke="white" cx="7067" cy="-325" rx="72.192" ry="18"/>
 <text text-anchor="middle" x="7067" y="-321.3" font-family="Times,serif" font-size="14.00" fill="red">www.functx.com</text>
+=======
+<g id="node3" class="node"><title>44</title>
+<a xlink:href="../www.w3.org_2005_xpath-functions.html" xlink:title="(Zorba-core) module uri=http://www.w3.org/2005/xpath-functions";>
+<ellipse fill="white" stroke="white" cx="1792.82" cy="-470" rx="65.4659" ry="18"/>
+<text text-anchor="middle" x="1792.82" y="-466.3" font-family="Times,serif" font-size="14.00" fill="red">xpath-functions</text>
+</a>
+</g>
+<!-- 45 -->
+<g id="node4" class="node"><title>45</title>
+<a xlink:href="../www.w3.org_2005_xpath-functions_math.html" xlink:title="(Zorba-core) module uri=http://www.w3.org/2005/xpath-functions/math";>
+<ellipse fill="white" stroke="white" cx="1680.82" cy="-470" rx="28.3955" ry="18"/>
+<text text-anchor="middle" x="1680.82" y="-466.3" font-family="Times,serif" font-size="14.00" fill="red">math</text>
+</a>
+</g>
+<!-- 3 -->
+<g id="node7" class="node"><title>3</title>
+<a xlink:href="../www.zorba-xquery.com_modules_datetime.html" xlink:title="(Zorba-core) module uri=http://www.zorba-xquery.com/modules/datetime";>
+<ellipse fill="white" stroke="white" cx="3179.82" cy="-73" rx="41.394" ry="18"/>
+<text text-anchor="middle" x="3179.82" y="-69.3" font-family="Times,serif" font-size="14.00" fill="red">datetime</text>
+</a>
+</g>
+<!-- 5 -->
+<g id="node8" class="node"><title>5</title>
+<a xlink:href="../www.zorba-xquery.com_modules_math.html" xlink:title="(Zorba-core) module uri=http://www.zorba-xquery.com/modules/math";>
+<ellipse fill="white" stroke="white" cx="3091.82" cy="-73" rx="28.3955" ry="18"/>
+<text text-anchor="middle" x="3091.82" y="-69.3" font-family="Times,serif" font-size="14.00" fill="red">math</text>
+</a>
+</g>
+<!-- 10 -->
+<g id="node9" class="node"><title>10</title>
+<a xlink:href="../www.zorba-xquery.com_modules_random.html" xlink:title="(Zorba-core) module uri=http://www.zorba-xquery.com/modules/random";>
+<ellipse fill="white" stroke="white" cx="3006.82" cy="-73" rx="38.0212" ry="18"/>
+<text text-anchor="middle" x="3006.82" y="-69.3" font-family="Times,serif" font-size="14.00" fill="red">random</text>
+</a>
+</g>
+<!-- 13 -->
+<g id="node10" class="node"><title>13</title>
+<a xlink:href="../www.zorba-xquery.com_modules_string.html" xlink:title="(Zorba-core) module uri=http://zorba.io/modules/string";>
+<ellipse fill="white" stroke="white" cx="2919.82" cy="-73" rx="30.3206" ry="18"/>
+<text text-anchor="middle" x="2919.82" y="-69.3" font-family="Times,serif" font-size="14.00" fill="red">string</text>
+</a>
+</g>
+<!-- 14 -->
+<g id="node11" class="node"><title>14</title>
+<a xlink:href="../www.zorba-xquery.com_modules_uri.html" xlink:title="(Zorba-core) module uri=http://www.zorba-xquery.com/modules/uri";>
+<ellipse fill="white" stroke="white" cx="2843.82" cy="-73" rx="27" ry="18"/>
+<text text-anchor="middle" x="2843.82" y="-69.3" font-family="Times,serif" font-size="14.00" fill="red">uri</text>
+</a>
+</g>
+<!-- 12 -->
+<g id="node13" class="node"><title>12</title>
+<a xlink:href="../www.zorba-xquery.com_modules_schema.html" xlink:title="(Zorba-core) module uri=http://www.zorba-xquery.com/modules/schema";>
+<ellipse fill="white" stroke="white" cx="3283.82" cy="-73" rx="37.5442" ry="18"/>
+<text text-anchor="middle" x="3283.82" y="-69.3" font-family="Times,serif" font-size="14.00" fill="red">schema</text>
+</a>
+</g>
+<!-- 8 -->
+<g id="node15" class="node"><title>8</title>
+<a xlink:href="../www.zorba-xquery.com_modules_node.html" xlink:title="(Zorba-core) module uri=http://www.zorba-xquery.com/modules/node";>
+<ellipse fill="white" stroke="white" cx="2764.82" cy="-73" rx="27.4223" ry="18"/>
+<text text-anchor="middle" x="2764.82" y="-69.3" font-family="Times,serif" font-size="14.00" fill="red">node</text>
+</a>
+</g>
+<!-- 7 -->
+<g id="node16" class="node"><title>7</title>
+<a xlink:href="../www.zorba-xquery.com_modules_node-position.html" xlink:title="(Zorba-core) module uri=http://www.zorba-xquery.com/modules/node-position";>
+<ellipse fill="white" stroke="white" cx="2659.82" cy="-73" rx="59.2173" ry="18"/>
+<text text-anchor="middle" x="2659.82" y="-69.3" font-family="Times,serif" font-size="14.00" fill="red">node-position</text>
+</a>
+</g>
+<!-- 6 -->
+<g id="node17" class="node"><title>6</title>
+<a xlink:href="../www.zorba-xquery.com_modules_node-reference.html" xlink:title="(Zorba-core) module uri=http://www.zorba-xquery.com/modules/node-reference";>
+<ellipse fill="white" stroke="white" cx="2518.82" cy="-73" rx="63.5411" ry="18"/>
+<text text-anchor="middle" x="2518.82" y="-69.3" font-family="Times,serif" font-size="14.00" fill="red">node-reference</text>
+</a>
+</g>
+<!-- 25 -->
+<g id="node21" class="node"><title>25</title>
+<a xlink:href="../www.zorba-xquery.com_modules_store_dynamic_collections_ddl.html" xlink:title="(Zorba-core) module uri=http://www.zorba-xquery.com/modules/store/dynamic/collections/ddl";>
+<ellipse fill="white" stroke="white" cx="4935.82" cy="-73" rx="27" ry="18"/>
+<text text-anchor="middle" x="4935.82" y="-69.3" font-family="Times,serif" font-size="14.00" fill="red">ddl</text>
+</a>
+</g>
+<!-- 26 -->
+<g id="node22" class="node"><title>26</title>
+<a xlink:href="../www.zorba-xquery.com_modules_store_dynamic_collections_dml.html" xlink:title="(Zorba-core) module uri=http://www.zorba-xquery.com/modules/store/dynamic/collections/dml";>
+<ellipse fill="white" stroke="white" cx="5007.82" cy="-73" rx="27" ry="18"/>
+<text text-anchor="middle" x="5007.82" y="-69.3" font-family="Times,serif" font-size="14.00" fill="red">dml</text>
+</a>
+</g>
+<!-- 29 -->
+<g id="node24" class="node"><title>29</title>
+<a xlink:href="../www.zorba-xquery.com_modules_store_static_collections_ddl.html" xlink:title="(Zorba-core) module uri=http://www.zorba-xquery.com/modules/store/static/collections/ddl";>
+<ellipse fill="white" stroke="white" cx="5085.82" cy="-317" rx="27" ry="18"/>
+<text text-anchor="middle" x="5085.82" y="-313.3" font-family="Times,serif" font-size="14.00" fill="red">ddl</text>
+</a>
+</g>
+<!-- 30 -->
+<g id="node25" class="node"><title>30</title>
+<a xlink:href="../www.zorba-xquery.com_modules_store_static_collections_dml.html" xlink:title="(Zorba-core) module uri=http://www.zorba-xquery.com/modules/store/static/collections/dml";>
+<ellipse fill="white" stroke="white" cx="5013.82" cy="-317" rx="27" ry="18"/>
+<text text-anchor="middle" x="5013.82" y="-313.3" font-family="Times,serif" font-size="14.00" fill="red">dml</text>
+</a>
+</g>
+<!-- 27 -->
+<g id="node27" class="node"><title>27</title>
+<a xlink:href="../www.zorba-xquery.com_modules_store_dynamic_collections_w3c_ddl.html" xlink:title="(Zorba-core) module uri=http://www.zorba-xquery.com/modules/store/dynamic/collections/w3c/ddl";>
+<ellipse fill="white" stroke="white" cx="4935.82" cy="-195" rx="27" ry="18"/>
+<text text-anchor="middle" x="4935.82" y="-191.3" font-family="Times,serif" font-size="14.00" fill="red">ddl</text>
+</a>
+</g>
+<!-- 27&#45;&gt;25 -->
+<g id="edge147" class="edge"><title>27-&gt;25</title>
+<a xlink:title="FROM: http://www.zorba-xquery.com/modules/store/dynamic/collections/w3c/ddl, TO: http://www.zorba-xquery.com/modules/store/dynamic/collections/ddl";>
+<path fill="none" stroke="black" d="M4935.82,-176.807C4935.82,-157.114 4935.82,-124.583 4935.82,-101.39"/>
+<polygon fill="black" stroke="black" points="4939.32,-101.161 4935.82,-91.1612 4932.32,-101.161 4939.32,-101.161"/>
+</a>
+</g>
+<!-- 28 -->
+<g id="node28" class="node"><title>28</title>
+<a xlink:href="../www.zorba-xquery.com_modules_store_dynamic_collections_w3c_dml.html" xlink:title="(Zorba-core) module uri=http://www.zorba-xquery.com/modules/store/dynamic/collections/w3c/dml";>
+<ellipse fill="white" stroke="white" cx="4935.82" cy="-317" rx="27" ry="18"/>
+<text text-anchor="middle" x="4935.82" y="-313.3" font-family="Times,serif" font-size="14.00" fill="red">dml</text>
+</a>
+</g>
+<!-- 28&#45;&gt;26 -->
+<g id="edge151" class="edge"><title>28-&gt;26</title>
+<a xlink:title="FROM: http://www.zorba-xquery.com/modules/store/dynamic/collections/w3c/dml, TO: http://www.zorba-xquery.com/modules/store/dynamic/collections/dml";>
+<path fill="none" stroke="black" d="M4951.33,-302.251C4958.67,-294.89 4966.89,-285.241 4971.82,-275 4999.58,-217.365 5006.09,-141.109 5007.52,-101.123"/>
+<polygon fill="black" stroke="black" points="5011.02,-101.174 5007.8,-91.0816 5004.02,-100.982 5011.02,-101.174"/>
+</a>
+</g>
+<!-- 28&#45;&gt;27 -->
+<g id="edge149" class="edge"><title>28-&gt;27</title>
+<a xlink:title="FROM: http://www.zorba-xquery.com/modules/store/dynamic/collections/w3c/dml, TO: http://www.zorba-xquery.com/modules/store/dynamic/collections/w3c/ddl";>
+<path fill="none" stroke="black" d="M4935.82,-298.807C4935.82,-279.114 4935.82,-246.583 4935.82,-223.39"/>
+<polygon fill="black" stroke="black" points="4939.32,-223.161 4935.82,-213.161 4932.32,-223.161 4939.32,-223.161"/>
+</a>
+</g>
+<!-- 82 -->
+<g id="node30" class="node"><title>82</title>
+<a xlink:href="../www.zorba-xquery.com_modules_store_data-structures_queue.html" xlink:title="(External module) module uri=http://www.zorba-xquery.com/modules/store/data-structures/queue";>
+<ellipse fill="white" stroke="white" cx="4844.82" cy="-195" rx="31.2735" ry="18"/>
+<text text-anchor="middle" x="4844.82" y="-191.3" font-family="Times,serif" font-size="14.00" fill="green">queue</text>
+</a>
+</g>
+<!-- 82&#45;&gt;25 -->
+<g id="edge203" class="edge"><title>82-&gt;25</title>
+<a xlink:title="FROM: http://www.zorba-xquery.com/modules/store/data-structures/queue, TO: http://www.zorba-xquery.com/modules/store/dynamic/collections/ddl";>
+<path fill="none" stroke="black" d="M4856.72,-178.312C4872.34,-157.716 4899.89,-121.382 4918,-97.4967"/>
+<polygon fill="black" stroke="black" points="4920.96,-99.3952 4924.21,-89.3123 4915.38,-95.1655 4920.96,-99.3952"/>
+</a>
+</g>
+<!-- 82&#45;&gt;26 -->
+<g id="edge205" class="edge"><title>82-&gt;26</title>
+<a xlink:title="FROM: http://www.zorba-xquery.com/modules/store/data-structures/queue, TO: http://www.zorba-xquery.com/modules/store/dynamic/collections/dml";>
+<path fill="none" stroke="black" d="M4862.53,-179.875C4872.12,-172.996 4884.51,-165.299 4896.82,-161 4912.65,-155.476 4958.23,-162.803 4971.82,-153 4988.79,-140.767 4997.94,-118.584 5002.76,-100.832"/>
+<polygon fill="black" stroke="black" points="5006.19,-101.542 5005.13,-91.0009 4999.38,-99.9042 5006.19,-101.542"/>
+</a>
+</g>
+<!-- 84 -->
+<g id="node31" class="node"><title>84</title>
+<a xlink:href="../www.zorba-xquery.com_modules_store_data-structures_stack.html" xlink:title="(External module) module uri=http://www.zorba-xquery.com/modules/store/data-structures/stack";>
+<ellipse fill="white" stroke="white" cx="4766.82" cy="-195" rx="28.3955" ry="18"/>
+<text text-anchor="middle" x="4766.82" y="-191.3" font-family="Times,serif" font-size="14.00" fill="green">stack</text>
+</a>
+</g>
+<!-- 84&#45;&gt;25 -->
+<g id="edge209" class="edge"><title>84-&gt;25</title>
+<a xlink:title="FROM: http://www.zorba-xquery.com/modules/store/data-structures/stack, TO: http://www.zorba-xquery.com/modules/store/dynamic/collections/ddl";>
+<path fill="none" stroke="black" d="M4781.87,-179.674C4788.43,-173.676 4796.32,-166.772 4803.82,-161 4838.23,-134.544 4880.49,-107.578 4907.78,-90.8257"/>
+<polygon fill="black" stroke="black" points="4909.71,-93.7467 4916.42,-85.5514 4906.07,-87.7707 4909.71,-93.7467"/>
+</a>
+</g>
+<!-- 84&#45;&gt;26 -->
+<g id="edge211" class="edge"><title>84-&gt;26</title>
+<a xlink:title="FROM: http://www.zorba-xquery.com/modules/store/data-structures/stack, TO: http://www.zorba-xquery.com/modules/store/dynamic/collections/dml";>
+<path fill="none" stroke="black" d="M4779.62,-178.575C4786.12,-171.907 4794.58,-164.777 4803.82,-161 4821.12,-153.931 4956.35,-163.481 4971.82,-153 4989.14,-141.27 4998.26,-119.045 5002.98,-101.149"/>
+<polygon fill="black" stroke="black" points="5006.43,-101.756 5005.28,-91.224 4999.61,-100.175 5006.43,-101.756"/>
+</a>
+</g>
+<!-- 23 -->
+<g id="node32" class="node"><title>23</title>
+<a xlink:href="../www.zorba-xquery.com_modules_store_data-structures_unordered-map.html" xlink:title="(Zorba-core) module uri=http://www.zorba-xquery.com/modules/store/data-structures/unordered-map";>
+<ellipse fill="white" stroke="white" cx="4654.82" cy="-195" rx="64.4914" ry="18"/>
+<text text-anchor="middle" x="4654.82" y="-191.3" font-family="Times,serif" font-size="14.00" fill="red">unordered-map</text>
+</a>
+</g>
+<!-- 24 -->
+<g id="node34" class="node"><title>24</title>
+<a xlink:href="../www.zorba-xquery.com_modules_store_dynamic_documents.html" xlink:title="(Zorba-core) module uri=http://www.zorba-xquery.com/modules/store/dynamic/documents";>
+<ellipse fill="white" stroke="white" cx="4827.82" cy="-317" rx="49.0941" ry="18"/>
+<text text-anchor="middle" x="4827.82" y="-313.3" font-family="Times,serif" font-size="14.00" fill="red">documents</text>
+</a>
+</g>
+<!-- 31 -->
+<g id="node37" class="node"><title>31</title>
+<a xlink:href="../www.zorba-xquery.com_modules_store_static_indexes_ddl.html" xlink:title="(Zorba-core) module uri=http://www.zorba-xquery.com/modules/store/static/indexes/ddl";>
+<ellipse fill="white" stroke="white" cx="4719.82" cy="-317" rx="27" ry="18"/>
+<text text-anchor="middle" x="4719.82" y="-313.3" font-family="Times,serif" font-size="14.00" fill="red">ddl</text>
+</a>
+</g>
+<!-- 32 -->
+<g id="node38" class="node"><title>32</title>
+<a xlink:href="../www.zorba-xquery.com_modules_store_static_indexes_dml.html" xlink:title="(Zorba-core) module uri=http://www.zorba-xquery.com/modules/store/static/indexes/dml";>
+<ellipse fill="white" stroke="white" cx="4647.82" cy="-317" rx="27" ry="18"/>
+<text text-anchor="middle" x="4647.82" y="-313.3" font-family="Times,serif" font-size="14.00" fill="red">dml</text>
+</a>
+</g>
+<!-- 33 -->
+<g id="node41" class="node"><title>33</title>
+<a xlink:href="../www.zorba-xquery.com_modules_store_static_integrity_constraints_ddl.html" xlink:title="(Zorba-core) module uri=http://www.zorba-xquery.com/modules/store/static/integrity_constraints/ddl";>
+<ellipse fill="white" stroke="white" cx="4553.82" cy="-317" rx="27" ry="18"/>
+<text text-anchor="middle" x="4553.82" y="-313.3" font-family="Times,serif" font-size="14.00" fill="red">ddl</text>
+</a>
+</g>
+<!-- 34 -->
+<g id="node42" class="node"><title>34</title>
+<a xlink:href="../www.zorba-xquery.com_modules_store_static_integrity_constraints_dml.html" xlink:title="(Zorba-core) module uri=http://www.zorba-xquery.com/modules/store/static/integrity_constraints/dml";>
+<ellipse fill="white" stroke="white" cx="4481.82" cy="-317" rx="27" ry="18"/>
+<text text-anchor="middle" x="4481.82" y="-313.3" font-family="Times,serif" font-size="14.00" fill="red">dml</text>
+</a>
+</g>
+<!-- 20 -->
+<g id="node44" class="node"><title>20</title>
+<a xlink:href="../www.zorba-xquery.com_modules_introspection_sctx.html" xlink:title="(Zorba-core) module uri=http://www.zorba-xquery.com/modules/introspection/sctx";>
+<ellipse fill="white" stroke="white" cx="4404.82" cy="-470" rx="27" ry="18"/>
+<text text-anchor="middle" x="4404.82" y="-466.3" font-family="Times,serif" font-size="14.00" fill="red">sctx</text>
+</a>
+</g>
+<!-- 11 -->
+<g id="node46" class="node"><title>11</title>
+<a xlink:href="../www.zorba-xquery.com_modules_reflection.html" xlink:title="(Zorba-core) module uri=http://www.zorba-xquery.com/modules/reflection";>
+<ellipse fill="white" stroke="white" cx="274.822" cy="-195" rx="44.2946" ry="18"/>
+<text text-anchor="middle" x="274.822" y="-191.3" font-family="Times,serif" font-size="14.00" fill="red">reflection</text>
+</a>
+</g>
+<!-- 4 -->
+<g id="node48" class="node"><title>4</title>
+<a xlink:href="../www.zorba-xquery.com_modules_fetch.html" xlink:title="(Zorba-core) module uri=http://www.zorba-xquery.com/modules/fetch";>
+<ellipse fill="white" stroke="white" cx="4298.82" cy="-195" rx="28.3955" ry="18"/>
+<text text-anchor="middle" x="4298.82" y="-191.3" font-family="Times,serif" font-size="14.00" fill="red">fetch</text>
+</a>
+</g>
+<!-- 2 -->
+<g id="node49" class="node"><title>2</title>
+<a xlink:href="../www.zorba-xquery.com_modules_http-client.html" xlink:title="(Zorba-core) module uri=http://www.zorba-xquery.com/modules/http-client";>
+<ellipse fill="white" stroke="white" cx="4205.82" cy="-195" rx="46.1964" ry="18"/>
+<text text-anchor="middle" x="4205.82" y="-191.3" font-family="Times,serif" font-size="14.00" fill="red">http-client</text>
+>>>>>>> MERGE-SOURCE
 </a>
 </g>
 <!-- 1 -->

=== added directory 'doc/zorba/xqdoc/templates'
=== added file 'doc/zorba/xqdoc/templates/www.functx.com_index.html.OTHER'
--- doc/zorba/xqdoc/templates/www.functx.com_index.html.OTHER	1970-01-01 00:00:00 +0000
+++ doc/zorba/xqdoc/templates/www.functx.com_index.html.OTHER	2013-06-25 17:46:30 +0000
@@ -0,0 +1,7239 @@
+<html>
+  <head>
+    <title>Documentation for http://www.functx.com/</title>
+    <meta content="text/html; charset=utf-8" http-equiv="content-type" />
+    <meta content="public" http-equiv="CACHE-CONTROL" />
+    <meta content="-1" http-equiv="Expires" />
+    <link rel="stylesheet" type="text/css" href="styles/main.css" />
+    <link rel="stylesheet" href="styles/jquery.treeview.css" type="text/css" />
+    <script type="text/javascript" src="lib/jquery.js"></script>
+    <script type="text/javascript" src="lib/jquery.cookie.js"></script>
+    <script type="text/javascript" src="lib/jquery.treeview.js"></script>
+    <script type="text/javascript" src="lib/jquery.treeview.min.js"></script>
+    <script type="text/javascript" src="lib/shCore.js"></script>
+    <script type="text/javascript" src="lib/shBrushXQuery.js"></script>
+    <script type="text/javascript" src="lib/shBrushXml.js"></script>
+    <link type="text/css" rel="stylesheet" href="styles/shCore.css" />
+    <link type="text/css" rel="stylesheet" href="styles/shThemeDefault.css" />
+    <link type="text/css" rel="stylesheet" href="styles/shThemeXQuery.css" />
+    <script type="text/javascript">
+//
+SyntaxHighlighter.all()
+//
+</script>
+    <script type="text/javascript">
+//
+jQuery(document).ready(function() {
+$("#documentation").treeview({
+control: "#treecontrol",
+animated: "fast",
+collapsed: true,
+unique: false,
+persist: "cookie"
+});
+});
+//
+</script>
+    <script type="text/javascript" src="http://www.google.com/js/gweb/analytics/autotrack.js";></script>
+    <script type="text/javascript">
+//
+new gweb.analytics.AutoTrack({profile: 'UA-4281090-1'});
+//
+</script>
+    <style type="text/css">
+/**/
+ div.c2 {clear:both;}
+ li.c1 {width:102px !important;}
+/**/
+</style>
+  </head>
+  <body>
+    <div id="header">
+      <div class="innerheader text-left">
+        <div id="logo_container">
+          <a href="../../../../../html/index.html">
+            <img src="images/zorba_logo.png" alt="Zorba C++ XQuery Processor" />
+          </a>
+          <h1>
+            <a href="../../../../../html/index.html">Zorba</a>
+          </h1>
+          <p>
+            <a href="../../../../../html/index.html">The XQuery Processor</a>
+          </p>
+        </div>
+        <div id="innermenu" class="box">
+          <ul>
+            <li style="width:102px !important;">
+              <a href="../../../zorba/html/index.html" class="documentation">Documentation</a>
+            </li>
+            <li>
+              <a href="http://try.zorba-xquery.com"; target="_blank" class="tryzorba">Live Demo</a>
+            </li>
+            <li>
+              <a href="../../../../../html/modules.html" class="modules">Modules</a>
+            </li>
+            <li>
+              <a href="../../../../../html/downloads.html" class="download">Download</a>
+            </li>
+            <li>
+              <a href="../../../../../html/tools.html" class="tools">Tools</a>
+            </li>
+            <li>
+              <a href="../../../../../html/blog.html" class="blog">Blog</a>
+            </li>
+            <li>
+              <a href="../../../../../html/code.html" class="open">Code</a>
+            </li>
+          </ul>
+        </div>
+      </div>
+    </div>
+    <div id="main">
+      <div id="leftMenu">
+        <div id="treecontrol">
+          <a title="Collapse the entire tree below" href="#">
+            <img src="images/minus.gif" alt="minus" /> Collapse All</a>
+          <a title="Expand the entire tree below" href="#">
+            <img src="images/plus.gif" alt="plus" /> Expand All</a>
+        </div>
+        <ul id="documentation" class="treeview">
+          <ul>
+            <li>
+              <a href="index.html">All Modules</a>
+            </li>
+            <li>
+              <a href="function_index.html">All Functions</a>
+            </li>
+            <li>
+              <span>www.w3.org</span>
+              <ul>
+                <li>
+                  <span>2005</span>
+                  <ul>
+                    <li>
+                      <a href="www.w3.org_2005_xpath-functions_math.html" title="http://www.w3.org/2005/xpath-functions/math";>math</a>
+                      <sup>
+                        <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                      </sup>
+                      <sup>
+                        <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                      </sup>
+                    </li>
+                    <li>
+                      <a href="www.w3.org_2005_xpath-functions.html" title="http://www.w3.org/2005/xpath-functions";>xpath-functions</a>
+                      <sup>
+                        <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                      </sup>
+                      <sup>
+                        <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                      </sup>
+                    </li>
+                  </ul>
+                </li>
+              </ul>
+            </li>
+            <li>
+              <span>XDM</span>
+              <ul>
+                <li>
+                  <span>atomic</span>
+                  <ul>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_datetime.html" title="http://www.zorba-xquery.com/modules/datetime";>datetime</a>
+                      <sup>
+                        <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                      </sup>
+                      <sup>
+                        <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                      </sup>
+                    </li>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_math.html" title="http://www.zorba-xquery.com/modules/math";>math</a>
+                      <sup>
+                        <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                      </sup>
+                      <sup>
+                        <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                      </sup>
+                    </li>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_random.html" title="http://www.zorba-xquery.com/modules/random";>random</a>
+                      <sup>
+                        <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                      </sup>
+                      <sup>
+                        <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                      </sup>
+                    </li>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_string.html" title="http://zorba.io/modules/string";>string</a>
+                      <sup>
+                        <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                      </sup>
+                      <sup>
+                        <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                      </sup>
+                    </li>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_uri.html" title="http://www.zorba-xquery.com/modules/uri";>uri</a>
+                      <sup>
+                        <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                      </sup>
+                      <sup>
+                        <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                      </sup>
+                    </li>
+                  </ul>
+                </li>
+                <li>
+                  <span>item</span>
+                  <ul>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_schema.html" title="http://www.zorba-xquery.com/modules/schema";>schema</a>
+                      <sup>
+                        <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                      </sup>
+                      <sup>
+                        <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                      </sup>
+                    </li>
+                  </ul>
+                </li>
+                <li>
+                  <span>node</span>
+                  <ul>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_node.html" title="http://www.zorba-xquery.com/modules/node";>node</a>
+                      <sup>
+                        <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                      </sup>
+                      <sup>
+                        <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                      </sup>
+                    </li>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_node-position.html" title="http://www.zorba-xquery.com/modules/node-position";>node-position</a>
+                      <sup>
+                        <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                      </sup>
+                      <sup>
+                        <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                      </sup>
+                    </li>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_node-reference.html" title="http://www.zorba-xquery.com/modules/node-reference";>node-reference</a>
+                      <sup>
+                        <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                      </sup>
+                      <sup>
+                        <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                      </sup>
+                    </li>
+                  </ul>
+                </li>
+              </ul>
+            </li>
+            <li>
+              <span>store</span>
+              <ul>
+                <li>
+                  <span>collections</span>
+                  <ul>
+                    <li>
+                      <span>dynamic</span>
+                      <ul>
+                        <li>
+                          <a href="www.zorba-xquery.com_modules_store_dynamic_collections_ddl.html" title="http://www.zorba-xquery.com/modules/store/dynamic/collections/ddl";>ddl</a>
+                          <sup>
+                            <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                          </sup>
+                          <sup>
+                            <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                          </sup>
+                        </li>
+                        <li>
+                          <a href="www.zorba-xquery.com_modules_store_dynamic_collections_dml.html" title="http://www.zorba-xquery.com/modules/store/dynamic/collections/dml";>dml</a>
+                          <sup>
+                            <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                          </sup>
+                          <sup>
+                            <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                          </sup>
+                        </li>
+                      </ul>
+                    </li>
+                    <li>
+                      <span>static</span>
+                      <ul>
+                        <li>
+                          <a href="www.zorba-xquery.com_modules_store_static_collections_ddl.html" title="http://www.zorba-xquery.com/modules/store/static/collections/ddl";>ddl</a>
+                          <sup>
+                            <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                          </sup>
+                          <sup>
+                            <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                          </sup>
+                        </li>
+                        <li>
+                          <a href="www.zorba-xquery.com_modules_store_static_collections_dml.html" title="http://www.zorba-xquery.com/modules/store/static/collections/dml";>dml</a>
+                          <sup>
+                            <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                          </sup>
+                          <sup>
+                            <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                          </sup>
+                        </li>
+                      </ul>
+                    </li>
+                    <li>
+                      <span>w3c</span>
+                      <ul>
+                        <li>
+                          <a href="www.zorba-xquery.com_modules_store_dynamic_collections_w3c_dml.html" title="http://www.zorba-xquery.com/modules/store/dynamic/collections/w3c/dml";>dml</a>
+                          <sup>
+                            <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                          </sup>
+                        </li>
+                        <li>
+                          <a href="www.zorba-xquery.com_modules_store_dynamic_collections_w3c_ddl.html" title="http://www.zorba-xquery.com/modules/store/dynamic/collections/w3c/ddl";>ddl</a>
+                          <sup>
+                            <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                          </sup>
+                        </li>
+                      </ul>
+                    </li>
+                  </ul>
+                </li>
+                <li>
+                  <span>data structures</span>
+                  <ul>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_store_data-structures_stack.html" title="http://www.zorba-xquery.com/modules/store/data-structures/stack";>stack</a>
+                    </li>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_store_data-structures_unordered-map.html" title="http://www.zorba-xquery.com/modules/store/data-structures/unordered-map";>unordered-map</a>
+                      <sup>
+                        <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                      </sup>
+                      <sup>
+                        <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                      </sup>
+                    </li>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_store_data-structures_queue.html" title="http://www.zorba-xquery.com/modules/store/data-structures/queue";>queue</a>
+                    </li>
+                  </ul>
+                </li>
+                <li>
+                  <span>documents</span>
+                  <ul>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_store_dynamic_documents.html" title="http://www.zorba-xquery.com/modules/store/dynamic/documents";>documents</a>
+                      <sup>
+                        <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                      </sup>
+                      <sup>
+                        <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                      </sup>
+                    </li>
+                  </ul>
+                </li>
+                <li>
+                  <span>indexes</span>
+                  <ul>
+                    <li>
+                      <span>static</span>
+                      <ul>
+                        <li>
+                          <a href="www.zorba-xquery.com_modules_store_static_indexes_ddl.html" title="http://www.zorba-xquery.com/modules/store/static/indexes/ddl";>ddl</a>
+                          <sup>
+                            <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                          </sup>
+                          <sup>
+                            <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                          </sup>
+                        </li>
+                        <li>
+                          <a href="www.zorba-xquery.com_modules_store_static_indexes_dml.html" title="http://www.zorba-xquery.com/modules/store/static/indexes/dml";>dml</a>
+                          <sup>
+                            <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                          </sup>
+                          <sup>
+                            <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                          </sup>
+                        </li>
+                      </ul>
+                    </li>
+                  </ul>
+                </li>
+                <li>
+                  <span>integrity constraints</span>
+                  <ul>
+                    <li>
+                      <span>static</span>
+                      <ul>
+                        <li>
+                          <a href="www.zorba-xquery.com_modules_store_static_integrity_constraints_ddl.html" title="http://www.zorba-xquery.com/modules/store/static/integrity_constraints/ddl";>ddl</a>
+                          <sup>
+                            <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                          </sup>
+                          <sup>
+                            <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                          </sup>
+                        </li>
+                        <li>
+                          <a href="www.zorba-xquery.com_modules_store_static_integrity_constraints_dml.html" title="http://www.zorba-xquery.com/modules/store/static/integrity_constraints/dml";>dml</a>
+                          <sup>
+                            <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                          </sup>
+                          <sup>
+                            <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                          </sup>
+                        </li>
+                      </ul>
+                    </li>
+                  </ul>
+                </li>
+              </ul>
+            </li>
+            <li>
+              <span>introspection</span>
+              <ul>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_introspection_sctx.html" title="http://www.zorba-xquery.com/modules/introspection/sctx";>sctx</a>
+                  <sup>
+                    <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                  </sup>
+                  <sup>
+                    <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                  </sup>
+                </li>
+              </ul>
+            </li>
+            <li>
+              <span>reflection</span>
+              <ul>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_reflection.html" title="http://www.zorba-xquery.com/modules/reflection";>reflection</a>
+                  <sup>
+                    <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                  </sup>
+                  <sup>
+                    <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                  </sup>
+                </li>
+              </ul>
+            </li>
+            <li>
+              <span>external</span>
+              <ul>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_fetch.html" title="http://www.zorba-xquery.com/modules/fetch";>fetch</a>
+                  <sup>
+                    <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                  </sup>
+                  <sup>
+                    <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                  </sup>
+                </li>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_http-client.html" title="http://www.zorba-xquery.com/modules/http-client";>http-client</a>
+                  <sup>
+                    <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                  </sup>
+                  <sup>
+                    <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                  </sup>
+                </li>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_process.html" title="http://www.zorba-xquery.com/modules/process";>process</a>
+                  <sup>
+                    <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                  </sup>
+                </li>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_system.html" title="http://www.zorba-xquery.com/modules/system";>system</a>
+                  <sup>
+                    <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                  </sup>
+                </li>
+              </ul>
+            </li>
+            <li>
+              <span>xqdoc</span>
+              <ul>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_xqdoc.html" title="http://www.zorba-xquery.com/modules/xqdoc";>xqdoc</a>
+                  <sup>
+                    <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                  </sup>
+                  <sup>
+                    <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                  </sup>
+                </li>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_project_xqdoc.html" title="http://www.zorba-xquery.com/modules/project_xqdoc";>project_xqdoc</a>
+                  <sup>
+                    <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                  </sup>
+                </li>
+                <li>
+                  <span>xqdoc2xhtml</span>
+                  <ul>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_xqdoc2xhtml_index.html" title="http://www.zorba-xquery.com/modules/xqdoc2xhtml/";>xqdoc2xhtml</a>
+                      <sup>
+                        <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                      </sup>
+                    </li>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_xqdoc2xhtml_error.html" title="http://www.zorba-xquery.com/modules/xqdoc2xhtml/error";>error</a>
+                      <sup>
+                        <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                      </sup>
+                    </li>
+                  </ul>
+                </li>
+              </ul>
+            </li>
+            <li>
+              <span>data processing</span>
+              <ul>
+                <li>
+                  <span>data cleaning</span>
+                  <ul>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_data-cleaning_character-based-string-similarity.html" title="http://www.zorba-xquery.com/modules/data-cleaning/character-based-string-similarity";>character-based-string-similarity</a>
+                    </li>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_data-cleaning_consolidation.html" title="http://www.zorba-xquery.com/modules/data-cleaning/consolidation";>consolidation</a>
+                    </li>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_data-cleaning_conversion.html" title="http://www.zorba-xquery.com/modules/data-cleaning/conversion";>conversion</a>
+                    </li>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_data-cleaning_hybrid-string-similarity.html" title="http://www.zorba-xquery.com/modules/data-cleaning/hybrid-string-similarity";>hybrid-string-similarity</a>
+                    </li>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_data-cleaning_normalization.html" title="http://www.zorba-xquery.com/modules/data-cleaning/normalization";>normalization</a>
+                    </li>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_data-cleaning_phonetic-string-similarity.html" title="http://www.zorba-xquery.com/modules/data-cleaning/phonetic-string-similarity";>phonetic-string-similarity</a>
+                    </li>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_data-cleaning_set-similarity.html" title="http://www.zorba-xquery.com/modules/data-cleaning/set-similarity";>set-similarity</a>
+                    </li>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_data-cleaning_token-based-string-similarity.html" title="http://www.zorba-xquery.com/modules/data-cleaning/token-based-string-similarity";>token-based-string-similarity</a>
+                    </li>
+                  </ul>
+                </li>
+                <li>
+                  <span>data converters</span>
+                  <ul>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_converters_base64.html" title="http://www.zorba-xquery.com/modules/converters/base64";>base64</a>
+                      <sup>
+                        <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                      </sup>
+                      <sup>
+                        <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                      </sup>
+                    </li>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_converters_json.html" title="http://www.zorba-xquery.com/modules/converters/json";>json</a>
+                      <sup>
+                        <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                      </sup>
+                      <sup>
+                        <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                      </sup>
+                    </li>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_xml.html" title="http://www.zorba-xquery.com/modules/xml";>xml</a>
+                      <sup>
+                        <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                      </sup>
+                      <sup>
+                        <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                      </sup>
+                    </li>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_converters_csv.html" title="http://www.zorba-xquery.com/modules/converters/csv";>csv</a>
+                      <sup>
+                        <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                      </sup>
+                    </li>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_converters_html.html" title="http://www.zorba-xquery.com/modules/converters/html";>html</a>
+                      <sup>
+                        <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                      </sup>
+                    </li>
+                  </ul>
+                </li>
+              </ul>
+            </li>
+            <li>
+              <span>programming languages</span>
+              <ul>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_languages_xslt.html" title="http://www.zorba-xquery.com/modules/languages/xslt";>xslt</a>
+                  <sup>
+                    <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                  </sup>
+                </li>
+                <li>
+                  <span>xquery</span>
+                  <ul>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_xqxq.html" title="http://www.zorba-xquery.com/modules/xqxq";>xqxq</a>
+                      <sup>
+                        <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                      </sup>
+                    </li>
+                  </ul>
+                </li>
+              </ul>
+            </li>
+            <li>
+              <span>excel</span>
+              <ul>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_excel_information.html" title="http://www.zorba-xquery.com/modules/excel/information";>information</a>
+                </li>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_excel_text.html" title="http://www.zorba-xquery.com/modules/excel/text";>text</a>
+                </li>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_excel_statistical-zorba.html" title="http://www.zorba-xquery.com/modules/excel/statistical-zorba";>statistical-zorba</a>
+                </li>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_excel_statistical.html" title="http://www.zorba-xquery.com/modules/excel/statistical";>statistical</a>
+                </li>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_excel_math-sumproduct.html" title="http://www.zorba-xquery.com/modules/excel/math-sumproduct";>math-sumproduct</a>
+                </li>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_excel_math.html" title="http://www.zorba-xquery.com/modules/excel/math";>math</a>
+                </li>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_excel_lookup.html" title="http://www.zorba-xquery.com/modules/excel/lookup";>lookup</a>
+                </li>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_excel_logical.html" title="http://www.zorba-xquery.com/modules/excel/logical";>logical</a>
+                </li>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_excel_engineering.html" title="http://www.zorba-xquery.com/modules/excel/engineering";>engineering</a>
+                </li>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_excel_datetime.html" title="http://www.zorba-xquery.com/modules/excel/datetime";>datetime</a>
+                </li>
+              </ul>
+            </li>
+            <li>
+              <span>cryptography</span>
+              <ul>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_cryptography_hash.html" title="http://www.zorba-xquery.com/modules/cryptography/hash";>hash</a>
+                  <sup>
+                    <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                  </sup>
+                </li>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_cryptography_hmac.html" title="http://www.zorba-xquery.com/modules/cryptography/hmac";>hmac</a>
+                  <sup>
+                    <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                  </sup>
+                </li>
+              </ul>
+            </li>
+            <li>
+              <span>geo</span>
+              <ul>
+                <li>
+                  <a href="expath.org_ns_geo.html" title="http://expath.org/ns/geo";>geo</a>
+                  <sup>
+                    <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                  </sup>
+                </li>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_geoproj.html" title="http://www.zorba-xquery.com/modules/geoproj";>geoproj</a>
+                </li>
+              </ul>
+            </li>
+            <li>
+              <span>image</span>
+              <ul>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_image_paint.html" title="http://www.zorba-xquery.com/modules/image/paint";>paint</a>
+                  <sup>
+                    <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                  </sup>
+                </li>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_image_manipulation.html" title="http://www.zorba-xquery.com/modules/image/manipulation";>manipulation</a>
+                  <sup>
+                    <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                  </sup>
+                </li>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_image_graphviz.html" title="http://www.zorba-xquery.com/modules/image/graphviz";>graphviz</a>
+                  <sup>
+                    <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                  </sup>
+                </li>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_image_basic.html" title="http://www.zorba-xquery.com/modules/image/basic";>basic</a>
+                  <sup>
+                    <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                  </sup>
+                </li>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_image_animation.html" title="http://www.zorba-xquery.com/modules/image/animation";>animation</a>
+                  <sup>
+                    <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                  </sup>
+                </li>
+              </ul>
+            </li>
+            <li>
+              <span>OAuth</span>
+              <ul>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_oauth_error.html" title="http://www.zorba-xquery.com/modules/oauth/error";>error</a>
+                </li>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_oauth_client.html" title="http://www.zorba-xquery.com/modules/oauth/client";>client</a>
+                </li>
+              </ul>
+            </li>
+            <li>
+              <span>expath.org</span>
+              <ul>
+                <li>
+                  <a href="expath.org_ns_http-client.html" title="http://expath.org/ns/http-client";>http-client</a>
+                </li>
+                <li>
+                  <a href="expath.org_ns_error.html" title="http://expath.org/ns/error";>error</a>
+                  <sup>
+                    <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                  </sup>
+                </li>
+                <li>
+                  <span>ns</span>
+                  <ul>
+                    <li>
+                      <a href="expath.org_ns_file.html" title="http://expath.org/ns/file";>file</a>
+                      <sup>
+                        <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                      </sup>
+                      <sup>
+                        <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                      </sup>
+                    </li>
+                  </ul>
+                </li>
+              </ul>
+            </li>
+            <li>
+              <span>www.functx.com</span>
+              <ul>
+                <li>
+                  <a href="www.functx.com_index.html" title="http://www.functx.com/";>www.functx.com</a>
+                  <sup>
+                    <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                  </sup>
+                </li>
+              </ul>
+            </li>
+            <li>
+              <span>debugger</span>
+              <ul>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_debugger_dbgp-message-handler.html" title="http://www.zorba-xquery.com/modules/debugger/dbgp-message-handler";>dbgp-message-handler</a>
+                  <sup>
+                    <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                  </sup>
+                </li>
+              </ul>
+            </li>
+            <li>
+              <span>error</span>
+              <ul>
+                <li>
+                  <a href="jsoniq.org_errors.html" title="http://jsoniq.org/errors";>errors</a>
+                  <sup>
+                    <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                  </sup>
+                </li>
+                <li>
+                  <a href="www.w3.org_2005_xqt-errors.html" title="http://www.w3.org/2005/xqt-errors";>xqt-errors</a>
+                  <sup>
+                    <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                  </sup>
+                </li>
+                <li>
+                  <a href="www.zorba-xquery.com_errors.html" title="http://www.zorba-xquery.com/errors";>errors</a>
+                  <sup>
+                    <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                  </sup>
+                </li>
+                <li>
+                  <a href="www.zorba-xquery.com_warnings.html" title="http://www.zorba-xquery.com/warnings";>warnings</a>
+                  <sup>
+                    <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                  </sup>
+                </li>
+              </ul>
+            </li>
+            <li>
+              <span>utils</span>
+              <ul>
+                <li>
+                  <span>util jvm</span>
+                  <ul>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_util-jvm.html" title="http://www.zorba-xquery.com/modules/util-jvm";>util-jvm</a>
+                    </li>
+                  </ul>
+                </li>
+              </ul>
+            </li>
+            <li>
+              <span>jsoniq.org</span>
+              <ul>
+                <li>
+                  <a href="jsoniq.org_functions.html" title="http://jsoniq.org/functions";>functions</a>
+                  <sup>
+                    <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                  </sup>
+                  <sup>
+                    <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                  </sup>
+                </li>
+              </ul>
+            </li>
+            <li>
+              <span>www.zorba-xquery.com</span>
+              <ul>
+                <li>
+                  <span>modules</span>
+                  <ul>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_archive.html" title="http://www.zorba-xquery.com/modules/archive";>archive</a>
+                      <sup>
+                        <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                      </sup>
+                    </li>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_full-text.html" title="http://www.zorba-xquery.com/modules/full-text";>full-text</a>
+                      <sup>
+                        <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                      </sup>
+                      <sup>
+                        <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                      </sup>
+                    </li>
+                  </ul>
+                </li>
+              </ul>
+            </li>
+          </ul>
+        </ul>
+      </div>
+      <div id="rightcontent">
+        <h1>http://www.functx.com/<sup>
+            <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+          </sup>
+        </h1>
+        <div class="section">
+          <span id="module_description">Module Description</span>
+        </div>
+        <span>Before using any of the functions below please remember to import the module namespace:
+      <pre class="brush: xquery;">import module namespace functx = "http://www.functx.com/";;</pre>
+        </span>
+        <p> --------------------------------
+ The FunctX XQuery Function Library
+ --------------------------------
+ Copyright (C) 2007 Datypic
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License.
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ Lesser General Public License for more details.
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+ For more information on the FunctX XQuery library, contact contrib@xxxxxxxxxx.
+</p>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="section">
+          <span id="module_resources">Module Resources</span>
+        </div>
+        <ul>
+          <li>the XQuery module can be found <a href="modules/www.functx.com_index.html" target="_blank">here</a>.</li>
+        </ul>
+        <div class="section">
+          <span id="external_specifications">Related Documentation</span>
+        </div>
+        <p>For more details please also see:<ul>
+            <li>
+              <a href="http://www.xqueryfunctions.com"; target="_blank">http://www.xqueryfunctions.com</a>
+            </li>
+          </ul>
+        </p>
+        <div class="section">
+          <span id="variables">Namespaces</span>
+        </div>
+        <table class="varlist">
+          <tr>
+            <td>functx</td>
+            <td>http://www.functx.com/</td>
+          </tr>
+        </table>
+        <div class="section">
+          <span id="function_summary">Function Summary</span>
+        </div>
+        <table class="funclist">
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#add-attributes-3" title="Adds attributes to XML elements.">add-attributes</a>
+                </span> (
+            $elements as element(*)*,
+            $attrNames as xs:QName*,
+            $attrValues as xs:anyAtomicType*
+) as element(*)?<br />
+                <span class="padding">Adds attributes to XML elements.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#add-months-2" title="Adds months to a date.">add-months</a>
+                </span> (
+            $date as xs:anyAtomicType?,
+            $months as xs:integer
+) as xs:date?<br />
+                <span class="padding">Adds months to a date.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#add-or-update-attributes-3" title="Adds attributes to XML elements.">add-or-update-attributes</a>
+                </span> (
+            $elements as element(*)*,
+            $attrNames as xs:QName*,
+            $attrValues as xs:anyAtomicType*
+) as element(*)?<br />
+                <span class="padding">Adds attributes to XML elements.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#all-whitespace-1" title="Whether a value is all whitespace or a zero-length string.">all-whitespace</a>
+                </span> (
+            $arg as xs:string?
+) as xs:boolean<br />
+                <span class="padding">Whether a value is all whitespace or a zero-length string.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#are-distinct-values-1" title="Whether all the values in a sequence are distinct.">are-distinct-values</a>
+                </span> (
+            $seq as xs:anyAtomicType*
+) as xs:boolean<br />
+                <span class="padding">Whether all the values in a sequence are distinct.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#atomic-type-1" title="The built-in type of an atomic value.">atomic-type</a>
+                </span> (
+            $values as xs:anyAtomicType*
+) as xs:string*<br />
+                <span class="padding">The built-in type of an atomic value.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#avg-empty-is-zero-2" title="The average, counting &quot;empty&quot; values as zero.">avg-empty-is-zero</a>
+                </span> (
+            $values as xs:anyAtomicType*,
+            $allNodes as node()*
+) as xs:double<br />
+                <span class="padding">The average, counting "empty" values as zero.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#between-exclusive-3" title="Whether a value is between two provided values.">between-exclusive</a>
+                </span> (
+            $value as xs:anyAtomicType?,
+            $minValue as xs:anyAtomicType,
+            $maxValue as xs:anyAtomicType
+) as xs:boolean<br />
+                <span class="padding">Whether a value is between two provided values.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#between-inclusive-3" title="Whether a value is between two provided values, or equal to one of them.">between-inclusive</a>
+                </span> (
+            $value as xs:anyAtomicType?,
+            $minValue as xs:anyAtomicType,
+            $maxValue as xs:anyAtomicType
+) as xs:boolean<br />
+                <span class="padding">Whether a value is between two provided values, or equal to one of them.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#camel-case-to-words-2" title="Turns a camelCase string into space-separated words.">camel-case-to-words</a>
+                </span> (
+            $arg as xs:string?,
+            $delim as xs:string
+) as xs:string<br />
+                <span class="padding">Turns a camelCase string into space-separated words.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#capitalize-first-1" title="Capitalizes the first character of a string.">capitalize-first</a>
+                </span> (
+            $arg as xs:string?
+) as xs:string?<br />
+                <span class="padding">Capitalizes the first character of a string.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#change-element-names-deep-3" title="Changes the names of elements in an XML fragment.">change-element-names-deep</a>
+                </span> (
+            $nodes as node()*,
+            $oldNames as xs:QName*,
+            $newNames as xs:QName*
+) as node()*<br />
+                <span class="padding">Changes the names of elements in an XML fragment.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#change-element-ns-3" title="Changes the namespace of XML elements.">change-element-ns</a>
+                </span> (
+            $elements as element(*)*,
+            $newns as xs:string,
+            $prefix as xs:string
+) as element(*)?<br />
+                <span class="padding">Changes the namespace of XML elements.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#change-element-ns-deep-3" title="Changes the namespace of XML elements and its descendants.">change-element-ns-deep</a>
+                </span> (
+            $nodes as node()*,
+            $newns as xs:string,
+            $prefix as xs:string
+) as node()*<br />
+                <span class="padding">Changes the namespace of XML elements and its descendants.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#chars-1" title="Converts a string to a sequence of characters.">chars</a>
+                </span> (
+            $arg as xs:string?
+) as xs:string*<br />
+                <span class="padding">Converts a string to a sequence of characters.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#contains-any-of-2" title="Whether a string contains any of a sequence of strings.">contains-any-of</a>
+                </span> (
+            $arg as xs:string?,
+            $searchStrings as xs:string*
+) as xs:boolean<br />
+                <span class="padding">Whether a string contains any of a sequence of strings.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#contains-case-insensitive-2" title="Whether one string contains another, without regard to case.">contains-case-insensitive</a>
+                </span> (
+            $arg as xs:string?,
+            $substring as xs:string
+) as xs:boolean?<br />
+                <span class="padding">Whether one string contains another, without regard to case.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#contains-word-2" title="Whether one string contains another, as a separate word.">contains-word</a>
+                </span> (
+            $arg as xs:string?,
+            $word as xs:string
+) as xs:boolean<br />
+                <span class="padding">Whether one string contains another, as a separate word.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#copy-attributes-2" title="Copies attributes from one element to another.">copy-attributes</a>
+                </span> (
+            $copyTo as element(*),
+            $copyFrom as element(*)
+) as element(*)<br />
+                <span class="padding">Copies attributes from one element to another.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#date-3" title="Construct a date from a year, month and day.">date</a>
+                </span> (
+            $year as xs:anyAtomicType,
+            $month as xs:anyAtomicType,
+            $day as xs:anyAtomicType
+) as xs:date<br />
+                <span class="padding">Construct a date from a year, month and day.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#dateTime-6" title="Construct a date/time from individual components.">dateTime</a>
+                </span> (
+            $year as xs:anyAtomicType,
+            $month as xs:anyAtomicType,
+            $day as xs:anyAtomicType,
+            $hour as xs:anyAtomicType,
+            $minute as xs:anyAtomicType,
+            $second as xs:anyAtomicType
+) as xs:dateTime<br />
+                <span class="padding">Construct a date/time from individual components.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#day-in-year-1" title="The day of the year (a number between 1 and 366).">day-in-year</a>
+                </span> (
+            $date as xs:anyAtomicType?
+) as xs:integer?<br />
+                <span class="padding">The day of the year (a number between 1 and 366).</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#day-of-week-1" title="The day of the week, from a date.">day-of-week</a>
+                </span> (
+            $date as xs:anyAtomicType?
+) as xs:integer?<br />
+                <span class="padding">The day of the week, from a date.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <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>
+                </span> (
+            $date as xs:anyAtomicType?
+) as xs:string?<br />
+                <span class="padding">The abbreviated day of the week, from a date, in English.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <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>
+                </span> (
+            $date as xs:anyAtomicType?
+) as xs:string?<br />
+                <span class="padding">The name of the day of the week, from a date, in English.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#dayTimeDuration-4" title="Construct a dayTimeDuration from a number of days, hours, etc.">dayTimeDuration</a>
+                </span> (
+            $days as xs:decimal?,
+            $hours as xs:decimal?,
+            $minutes as xs:decimal?,
+            $seconds as xs:decimal?
+) as xs:dayTimeDuration<br />
+                <span class="padding">Construct a dayTimeDuration from a number of days, hours, etc.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#days-in-month-1" title="Number of days in the month.">days-in-month</a>
+                </span> (
+            $date as xs:anyAtomicType?
+) as xs:integer?<br />
+                <span class="padding">Number of days in the month.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#depth-of-node-1" title="The depth (level) of a node in an XML tree.">depth-of-node</a>
+                </span> (
+            $node as node()?
+) as xs:integer<br />
+                <span class="padding">The depth (level) of a node in an XML tree.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#distinct-attribute-names-1" title="The distinct names of all attributes in an XML fragment.">distinct-attribute-names</a>
+                </span> (
+            $nodes as node()*
+) as xs:string*<br />
+                <span class="padding">The distinct names of all attributes in an XML fragment.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#distinct-deep-1" title="The XML nodes with distinct values, taking into account attributes and descendants.">distinct-deep</a>
+                </span> (
+            $nodes as node()*
+) as node()*<br />
+                <span class="padding">The XML nodes with distinct values, taking into account attributes and descendants.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#distinct-element-names-1" title="The distinct names of all elements in an XML fragment.">distinct-element-names</a>
+                </span> (
+            $nodes as node()*
+) as xs:string*<br />
+                <span class="padding">The distinct names of all elements in an XML fragment.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#distinct-element-paths-1" title="The distinct paths of all descendant elements in an XML fragment.">distinct-element-paths</a>
+                </span> (
+            $nodes as node()*
+) as xs:string*<br />
+                <span class="padding">The distinct paths of all descendant elements in an XML fragment.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#distinct-nodes-1" title="The distinct XML nodes in a sequence (by node identity).">distinct-nodes</a>
+                </span> (
+            $nodes as node()*
+) as node()*<br />
+                <span class="padding">The distinct XML nodes in a sequence (by node identity).</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#duration-from-timezone-1" title="Converts a timezone like &quot;-05:00&quot; or &quot;Z&quot; into xs:dayTimeDuration.">duration-from-timezone</a>
+                </span> (
+            $timezone as xs:string
+) as xs:dayTimeDuration<br />
+                <span class="padding">Converts a timezone like "-05:00" or "Z" into xs:dayTimeDuration.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#dynamic-path-2" title="Dynamically evaluates a simple XPath path.">dynamic-path</a>
+                </span> (
+            $parent as node(),
+            $path as xs:string
+) as item()*<br />
+                <span class="padding">Dynamically evaluates a simple XPath path.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#escape-for-regex-1" title="Escapes regex special characters.">escape-for-regex</a>
+                </span> (
+            $arg as xs:string?
+) as xs:string<br />
+                <span class="padding">Escapes regex special characters.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#exclusive-or-2" title="Whether one (and only one) of two boolean values is true.">exclusive-or</a>
+                </span> (
+            $arg1 as xs:boolean?,
+            $arg2 as xs:boolean?
+) as xs:boolean?<br />
+                <span class="padding">Whether one (and only one) of two boolean values is true.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#first-day-of-month-1" title="The first day of the month of a date.">first-day-of-month</a>
+                </span> (
+            $date as xs:anyAtomicType?
+) as xs:date?<br />
+                <span class="padding">The first day of the month of a date.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#first-day-of-year-1" title="The first day of the year of a date.">first-day-of-year</a>
+                </span> (
+            $date as xs:anyAtomicType?
+) as xs:date?<br />
+                <span class="padding">The first day of the year of a date.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#first-node-1" title="The XML node in a sequence that appears first in document order.">first-node</a>
+                </span> (
+            $nodes as node()*
+) as node()?<br />
+                <span class="padding">The XML node in a sequence that appears first in document order.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#follows-not-descendant-2" title="Whether an XML node follows another without being its descendant.">follows-not-descendant</a>
+                </span> (
+            $a as node()?,
+            $b as node()?
+) as xs:boolean<br />
+                <span class="padding">Whether an XML node follows another without being its descendant.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#format-as-title-en-1" title="Moves title words like &quot;the&quot; and &quot;a&quot; to the end of strings.">format-as-title-en</a>
+                </span> (
+            $titles as xs:string*
+) as xs:string*<br />
+                <span class="padding">Moves title words like "the" and "a" to the end of strings.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#fragment-from-uri-1" title="Returns the fragment from a URI.">fragment-from-uri</a>
+                </span> (
+            $uri as xs:string?
+) as xs:string?<br />
+                <span class="padding">Returns the fragment from a URI.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#get-matches-2" title="Return the matching regions of a string.">get-matches</a>
+                </span> (
+            $string as xs:string?,
+            $regex as xs:string
+) as xs:string*<br />
+                <span class="padding">Return the matching regions of a string.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#get-matches-and-non-matches-2" title="Splits a string into matching and non-matching regions.">get-matches-and-non-matches</a>
+                </span> (
+            $string as xs:string?,
+            $regex as xs:string
+) as element(*)*<br />
+                <span class="padding">Splits a string into matching and non-matching regions.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#has-element-only-content-1" title="Whether an element has element-only content.">has-element-only-content</a>
+                </span> (
+            $element as element(*)
+) as xs:boolean<br />
+                <span class="padding">Whether an element has element-only content.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#has-empty-content-1" title="Whether an element has empty content.">has-empty-content</a>
+                </span> (
+            $element as element(*)
+) as xs:boolean<br />
+                <span class="padding">Whether an element has empty content.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#has-mixed-content-1" title="Whether an element has mixed content.">has-mixed-content</a>
+                </span> (
+            $element as element(*)
+) as xs:boolean<br />
+                <span class="padding">Whether an element has mixed content.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#has-simple-content-1" title="Whether an element has simple content.">has-simple-content</a>
+                </span> (
+            $element as element(*)
+) as xs:boolean<br />
+                <span class="padding">Whether an element has simple content.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#id-from-element-1" title="Gets the ID of an XML element.">id-from-element</a>
+                </span> (
+            $element as element(*)?
+) as xs:string?<br />
+                <span class="padding">Gets the ID of an XML element.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#id-untyped-2" title="Gets XML element(s) that have an attribute with a particular value.">id-untyped</a>
+                </span> (
+            $node as node()*,
+            $id as xs:anyAtomicType
+) as element(*)*<br />
+                <span class="padding">Gets XML element(s) that have an attribute with a particular value.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#if-absent-2" title="The first argument if it is not empty, otherwise the second argument.">if-absent</a>
+                </span> (
+            $arg as item()*,
+            $value as item()*
+) as item()*<br />
+                <span class="padding">The first argument if it is not empty, otherwise the second argument.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#if-empty-2" title="The first argument if it is not blank, otherwise the second argument.">if-empty</a>
+                </span> (
+            $arg as item()?,
+            $value as item()*
+) as item()*<br />
+                <span class="padding">The first argument if it is not blank, otherwise the second argument.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <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>
+                </span> (
+            $nodes as node()*,
+            $nodeToFind as node()
+) as xs:integer*<br />
+                <span class="padding">The position of a node in a sequence, based on contents and attributes.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#index-of-match-first-2" title="The first position of a matching substring.">index-of-match-first</a>
+                </span> (
+            $arg as xs:string?,
+            $pattern as xs:string
+) as xs:integer?<br />
+                <span class="padding">The first position of a matching substring.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#index-of-node-2" title="The position of a node in a sequence, based on node identity.">index-of-node</a>
+                </span> (
+            $nodes as node()*,
+            $nodeToFind as node()
+) as xs:integer*<br />
+                <span class="padding">The position of a node in a sequence, based on node identity.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#index-of-string-2" title="The position(s) of a substring.">index-of-string</a>
+                </span> (
+            $arg as xs:string?,
+            $substring as xs:string
+) as xs:integer*<br />
+                <span class="padding">The position(s) of a substring.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#index-of-string-first-2" title="The first position of a substring.">index-of-string-first</a>
+                </span> (
+            $arg as xs:string?,
+            $substring as xs:string
+) as xs:integer?<br />
+                <span class="padding">The first position of a substring.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#index-of-string-last-2" title="The last position of a substring.">index-of-string-last</a>
+                </span> (
+            $arg as xs:string?,
+            $substring as xs:string
+) as xs:integer?<br />
+                <span class="padding">The last position of a substring.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#insert-string-3" title="Inserts a string at a specified position.">insert-string</a>
+                </span> (
+            $originalString as xs:string?,
+            $stringToInsert as xs:string?,
+            $pos as xs:integer
+) as xs:string<br />
+                <span class="padding">Inserts a string at a specified position.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#is-a-number-1" title="Whether a value is numeric.">is-a-number</a>
+                </span> (
+            $value as xs:anyAtomicType?
+) as xs:boolean<br />
+                <span class="padding">Whether a value is numeric.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#is-absolute-uri-1" title="Whether a URI is absolute.">is-absolute-uri</a>
+                </span> (
+            $uri as xs:string?
+) as xs:boolean<br />
+                <span class="padding">Whether a URI is absolute.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#is-ancestor-2" title="Whether an XML node is an ancestor of another node.">is-ancestor</a>
+                </span> (
+            $node1 as node(),
+            $node2 as node()
+) as xs:boolean<br />
+                <span class="padding">Whether an XML node is an ancestor of another node.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#is-descendant-2" title="Whether an XML node is a descendant of another node.">is-descendant</a>
+                </span> (
+            $node1 as node(),
+            $node2 as node()
+) as xs:boolean<br />
+                <span class="padding">Whether an XML node is a descendant of another node.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#is-leap-year-1" title="Whether a date falls in a leap year.">is-leap-year</a>
+                </span> (
+            $date as xs:anyAtomicType?
+) as xs:boolean<br />
+                <span class="padding">Whether a date falls in a leap year.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <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>
+                </span> (
+            $node as node()?,
+            $seq as node()*
+) as xs:boolean<br />
+                <span class="padding">Whether an XML node is among the descendants of a sequence, based on node identity.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <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>
+                </span> (
+            $node as node()?,
+            $seq as node()*
+) as xs:boolean<br />
+                <span class="padding">Whether an XML node is among the descendants of a sequence, based on contents and attributes.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <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>
+                </span> (
+            $node as node()?,
+            $seq as node()*
+) as xs:boolean<br />
+                <span class="padding">Whether an XML node is in a sequence, based on node identity.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <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>
+                </span> (
+            $node as node()?,
+            $seq as node()*
+) as xs:boolean<br />
+                <span class="padding">Whether an XML node is in a sequence, based on contents and attributes.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#is-value-in-sequence-2" title="Whether an atomic value appears in a sequence.">is-value-in-sequence</a>
+                </span> (
+            $value as xs:anyAtomicType?,
+            $seq as xs:anyAtomicType*
+) as xs:boolean<br />
+                <span class="padding">Whether an atomic value appears in a sequence.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#last-day-of-month-1" title="The last day of the month of a date.">last-day-of-month</a>
+                </span> (
+            $date as xs:anyAtomicType?
+) as xs:date?<br />
+                <span class="padding">The last day of the month of a date.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#last-day-of-year-1" title="The last day of the month of a date.">last-day-of-year</a>
+                </span> (
+            $date as xs:anyAtomicType?
+) as xs:date?<br />
+                <span class="padding">The last day of the month of a date.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#last-node-1" title="The XML node in a sequence that is last in document order.">last-node</a>
+                </span> (
+            $nodes as node()*
+) as node()?<br />
+                <span class="padding">The XML node in a sequence that is last in document order.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#leaf-elements-1" title="All XML elements that don't have any child elements.">leaf-elements</a>
+                </span> (
+            $root as node()?
+) as element(*)*<br />
+                <span class="padding">All XML elements that don't have any child elements.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#left-trim-1" title="Trims leading whitespace.">left-trim</a>
+                </span> (
+            $arg as xs:string?
+) as xs:string<br />
+                <span class="padding">Trims leading whitespace.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#line-count-1" title="The number of lines.">line-count</a>
+                </span> (
+            $arg as xs:string?
+) as xs:integer<br />
+                <span class="padding">The number of lines.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#lines-1" title="Split a string into separate lines.">lines</a>
+                </span> (
+            $arg as xs:string?
+) as xs:string*<br />
+                <span class="padding">Split a string into separate lines.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#max-depth-1" title="The maximum depth of elements in an XML tree.">max-depth</a>
+                </span> (
+            $root as node()?
+) as xs:integer?<br />
+                <span class="padding">The maximum depth of elements in an XML tree.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#max-determine-type-1" title="The maximum value in a sequence, figuring out its type (numeric or string).">max-determine-type</a>
+                </span> (
+            $seq as xs:anyAtomicType*
+) as xs:anyAtomicType?<br />
+                <span class="padding">The maximum value in a sequence, figuring out its type (numeric or string).</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#max-line-length-1" title="The maximum line length.">max-line-length</a>
+                </span> (
+            $arg as xs:string?
+) as xs:integer<br />
+                <span class="padding">The maximum line length.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#max-node-1" title="The XML node whose typed value is the maximum.">max-node</a>
+                </span> (
+            $nodes as node()*
+) as node()*<br />
+                <span class="padding">The XML node whose typed value is the maximum.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#max-string-1" title="The maximum of a sequence of values, treating them like strings.">max-string</a>
+                </span> (
+            $strings as xs:anyAtomicType*
+) as xs:string?<br />
+                <span class="padding">The maximum of a sequence of values, treating them like strings.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#min-determine-type-1" title="The minimum value in a sequence, figuring out its type (numeric or string).">min-determine-type</a>
+                </span> (
+            $seq as xs:anyAtomicType*
+) as xs:anyAtomicType?<br />
+                <span class="padding">The minimum value in a sequence, figuring out its type (numeric or string).</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#min-node-1" title="The XML node whose typed value is the minimum.">min-node</a>
+                </span> (
+            $nodes as node()*
+) as node()*<br />
+                <span class="padding">The XML node whose typed value is the minimum.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#min-non-empty-string-1" title="The minimum of a sequence of strings, ignoring &quot;empty&quot; values.">min-non-empty-string</a>
+                </span> (
+            $strings as xs:string*
+) as xs:string?<br />
+                <span class="padding">The minimum of a sequence of strings, ignoring "empty" values.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#min-string-1" title="The minimum of a sequence of values, treating them like strings.">min-string</a>
+                </span> (
+            $strings as xs:anyAtomicType*
+) as xs:string?<br />
+                <span class="padding">The minimum of a sequence of values, treating them like strings.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#mmddyyyy-to-date-1" title="Converts a string with format MMDDYYYY (with any delimiters) to a date.">mmddyyyy-to-date</a>
+                </span> (
+            $dateString as xs:string?
+) as xs:date?<br />
+                <span class="padding">Converts a string with format MMDDYYYY (with any delimiters) to a date.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#month-abbrev-en-1" title="The month of a date as an abbreviated word (Jan, Feb, etc.">month-abbrev-en</a>
+                </span> (
+            $date as xs:anyAtomicType?
+) as xs:string?<br />
+                <span class="padding">The month of a date as an abbreviated word (Jan, Feb, etc.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#month-name-en-1" title="The month of a date as a word (January, February, etc.">month-name-en</a>
+                </span> (
+            $date as xs:anyAtomicType?
+) as xs:string?<br />
+                <span class="padding">The month of a date as a word (January, February, etc.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#name-test-2" title="Whether a name matches a list of names or name wildcards.">name-test</a>
+                </span> (
+            $testname as xs:string?,
+            $names as xs:string*
+) as xs:boolean<br />
+                <span class="padding">Whether a name matches a list of names or name wildcards.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#namespaces-in-use-1" title="A list of namespaces used in element/attribute names in an XML fragment.">namespaces-in-use</a>
+                </span> (
+            $root as node()?
+) as xs:anyURI*<br />
+                <span class="padding">A list of namespaces used in element/attribute names in an XML fragment.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#next-day-1" title="The next day.">next-day</a>
+                </span> (
+            $date as xs:anyAtomicType?
+) as xs:date?<br />
+                <span class="padding">The next day.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#node-kind-1" title="The XML node kind (element, attribute, text, etc.">node-kind</a>
+                </span> (
+            $nodes as node()*
+) as xs:string*<br />
+                <span class="padding">The XML node kind (element, attribute, text, etc.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#non-distinct-values-1" title="Returns any values that appear more than once in a sequence.">non-distinct-values</a>
+                </span> (
+            $seq as xs:anyAtomicType*
+) as xs:anyAtomicType*<br />
+                <span class="padding">Returns any values that appear more than once in a sequence.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#number-of-matches-2" title="The number of regions that match a pattern.">number-of-matches</a>
+                </span> (
+            $arg as xs:string?,
+            $pattern as xs:string
+) as xs:integer<br />
+                <span class="padding">The number of regions that match a pattern.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#open-ref-document-1" title="Resolves a relative URI and references it, returning an XML document.">open-ref-document</a>
+                </span> (
+            $refNode as node()
+) as document()<br />
+                <span class="padding">Resolves a relative URI and references it, returning an XML document.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#ordinal-number-en-1" title="Reformats a number as an ordinal number, e.">ordinal-number-en</a>
+                </span> (
+            $num as xs:integer?
+) as xs:string<br />
+                <span class="padding">Reformats a number as an ordinal number, e.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#pad-integer-to-length-2" title="Pads an integer to a desired length by adding leading zeros.">pad-integer-to-length</a>
+                </span> (
+            $integerToPad as xs:anyAtomicType?,
+            $length as xs:integer
+) as xs:string<br />
+                <span class="padding">Pads an integer to a desired length by adding leading zeros.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#pad-string-to-length-3" title="Pads a string to a desired length.">pad-string-to-length</a>
+                </span> (
+            $stringToPad as xs:string?,
+            $padChar as xs:string,
+            $length as xs:integer
+) as xs:string<br />
+                <span class="padding">Pads a string to a desired length.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#path-to-node-1" title="A path to an XML node (or sequence of nodes).">path-to-node</a>
+                </span> (
+            $nodes as node()*
+) as xs:string*<br />
+                <span class="padding">A path to an XML node (or sequence of nodes).</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <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>
+                </span> (
+            $node as node()?
+) as xs:string<br />
+                <span class="padding">A unique path to an XML node (or sequence of nodes).</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#precedes-not-ancestor-2" title="Whether an XML node precedes another without being its ancestor.">precedes-not-ancestor</a>
+                </span> (
+            $a as node()?,
+            $b as node()?
+) as xs:boolean<br />
+                <span class="padding">Whether an XML node precedes another without being its ancestor.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#previous-day-1" title="The previous day.">previous-day</a>
+                </span> (
+            $date as xs:anyAtomicType?
+) as xs:date?<br />
+                <span class="padding">The previous day.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#remove-attributes-2" title="Removes attributes from an XML element, based on name.">remove-attributes</a>
+                </span> (
+            $elements as element(*)*,
+            $names as xs:string*
+) as element(*)<br />
+                <span class="padding">Removes attributes from an XML element, based on name.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#remove-attributes-deep-2" title="Removes attributes from an XML fragment, based on name.">remove-attributes-deep</a>
+                </span> (
+            $nodes as node()*,
+            $names as xs:string*
+) as node()*<br />
+                <span class="padding">Removes attributes from an XML fragment, based on name.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#remove-elements-2" title="Removes child elements from an XML node, based on name.">remove-elements</a>
+                </span> (
+            $elements as element(*)*,
+            $names as xs:string*
+) as element(*)*<br />
+                <span class="padding">Removes child elements from an XML node, based on name.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#remove-elements-deep-2" title="Removes descendant elements from an XML node, based on name.">remove-elements-deep</a>
+                </span> (
+            $nodes as node()*,
+            $names as xs:string*
+) as node()*<br />
+                <span class="padding">Removes descendant elements from an XML node, based on name.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#remove-elements-not-contents-2" title="Removes descendant XML elements but keeps their content.">remove-elements-not-contents</a>
+                </span> (
+            $nodes as node()*,
+            $names as xs:string*
+) as node()*<br />
+                <span class="padding">Removes descendant XML elements but keeps their content.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#repeat-string-2" title="Repeats a string a given number of times.">repeat-string</a>
+                </span> (
+            $stringToRepeat as xs:string?,
+            $count as xs:integer
+) as xs:string<br />
+                <span class="padding">Repeats a string a given number of times.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#replace-beginning-3" title="Replaces the beginning of a string, up to a matched pattern.">replace-beginning</a>
+                </span> (
+            $arg as xs:string?,
+            $pattern as xs:string,
+            $replacement as xs:string
+) as xs:string<br />
+                <span class="padding">Replaces the beginning of a string, up to a matched pattern.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#replace-element-values-2" title="Updates the content of one or more elements.">replace-element-values</a>
+                </span> (
+            $elements as element(*)*,
+            $values as xs:anyAtomicType*
+) as element(*)*<br />
+                <span class="padding">Updates the content of one or more elements.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#replace-first-3" title="Replaces the first match of a pattern.">replace-first</a>
+                </span> (
+            $arg as xs:string?,
+            $pattern as xs:string,
+            $replacement as xs:string
+) as xs:string<br />
+                <span class="padding">Replaces the first match of a pattern.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#replace-multi-3" title="Performs multiple replacements, using pairs of replace parameters.">replace-multi</a>
+                </span> (
+            $arg as xs:string?,
+            $changeFrom as xs:string*,
+            $changeTo as xs:string*
+) as xs:string?<br />
+                <span class="padding">Performs multiple replacements, using pairs of replace parameters.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#reverse-string-1" title="Reverses the order of characters.">reverse-string</a>
+                </span> (
+            $arg as xs:string?
+) as xs:string<br />
+                <span class="padding">Reverses the order of characters.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#right-trim-1" title="Trims trailing whitespace.">right-trim</a>
+                </span> (
+            $arg as xs:string?
+) as xs:string<br />
+                <span class="padding">Trims trailing whitespace.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#scheme-from-uri-1" title="Returns the scheme from a URI.">scheme-from-uri</a>
+                </span> (
+            $uri as xs:string?
+) as xs:string?<br />
+                <span class="padding">Returns the scheme from a URI.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#sequence-deep-equal-2" title="Whether two sequences have the same XML node content and/or values.">sequence-deep-equal</a>
+                </span> (
+            $seq1 as item()*,
+            $seq2 as item()*
+) as xs:boolean<br />
+                <span class="padding">Whether two sequences have the same XML node content and/or values.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#sequence-node-equal-2" title="Whether two sequences contain the same XML nodes, in the same order.">sequence-node-equal</a>
+                </span> (
+            $seq1 as node()*,
+            $seq2 as node()*
+) as xs:boolean<br />
+                <span class="padding">Whether two sequences contain the same XML nodes, in the same order.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <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>
+                </span> (
+            $seq1 as node()*,
+            $seq2 as node()*
+) as xs:boolean<br />
+                <span class="padding">Whether two sequences contain the same XML nodes, regardless of order.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#sequence-type-1" title="The sequence type that represents a sequence of nodes or values.">sequence-type</a>
+                </span> (
+            $items as item()*
+) as xs:string<br />
+                <span class="padding">The sequence type that represents a sequence of nodes or values.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#siblings-1" title="The siblings of an XML node.">siblings</a>
+                </span> (
+            $node as node()?
+) as node()*<br />
+                <span class="padding">The siblings of an XML node.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#siblings-same-name-1" title="The siblings of an XML element that have the same name.">siblings-same-name</a>
+                </span> (
+            $element as element(*)?
+) as element(*)*<br />
+                <span class="padding">The siblings of an XML element that have the same name.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#sort-1" title="Sorts a sequence of values or nodes.">sort</a>
+                </span> (
+            $seq as item()*
+) as item()*<br />
+                <span class="padding">Sorts a sequence of values or nodes.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#sort-as-numeric-1" title="Sorts a sequence of numeric values or nodes.">sort-as-numeric</a>
+                </span> (
+            $seq as item()*
+) as item()*<br />
+                <span class="padding">Sorts a sequence of numeric values or nodes.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#sort-case-insensitive-1" title="Sorts a sequence of values or nodes regardless of capitalization.">sort-case-insensitive</a>
+                </span> (
+            $seq as item()*
+) as item()*<br />
+                <span class="padding">Sorts a sequence of values or nodes regardless of capitalization.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#sort-document-order-1" title="Sorts a sequence of nodes in document order.">sort-document-order</a>
+                </span> (
+            $seq as node()*
+) as node()*<br />
+                <span class="padding">Sorts a sequence of nodes in document order.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <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>
+                </span> (
+            $arg as xs:string?,
+            $delim as xs:string
+) as xs:string?<br />
+                <span class="padding">Performs substring-after, returning the entire string if it does not contain the delimiter.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#substring-after-last-2" title="The substring after the last occurrence of a delimiter.">substring-after-last</a>
+                </span> (
+            $arg as xs:string?,
+            $delim as xs:string
+) as xs:string<br />
+                <span class="padding">The substring after the last occurrence of a delimiter.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#substring-after-last-match-2" title="The substring after the last text that matches a regex.">substring-after-last-match</a>
+                </span> (
+            $arg as xs:string?,
+            $regex as xs:string
+) as xs:string<br />
+                <span class="padding">The substring after the last text that matches a regex.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#substring-after-match-2" title="The substring after the first text that matches a regex.">substring-after-match</a>
+                </span> (
+            $arg as xs:string?,
+            $regex as xs:string
+) as xs:string?<br />
+                <span class="padding">The substring after the first text that matches a regex.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <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>
+                </span> (
+            $arg as xs:string?,
+            $delim as xs:string
+) as xs:string?<br />
+                <span class="padding">Performs substring-before, returning the entire string if it does not contain the delimiter.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#substring-before-last-2" title="The substring before the last occurrence of a delimiter.">substring-before-last</a>
+                </span> (
+            $arg as xs:string?,
+            $delim as xs:string
+) as xs:string<br />
+                <span class="padding">The substring before the last occurrence of a delimiter.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#substring-before-last-match-2" title="The substring after the first text that matches a regex.">substring-before-last-match</a>
+                </span> (
+            $arg as xs:string?,
+            $regex as xs:string
+) as xs:string?<br />
+                <span class="padding">The substring after the first text that matches a regex.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#substring-before-match-2" title="The substring before the last text that matches a regex.">substring-before-match</a>
+                </span> (
+            $arg as xs:string?,
+            $regex as xs:string
+) as xs:string<br />
+                <span class="padding">The substring before the last text that matches a regex.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#time-3" title="Construct a time from an hour, minute and second.">time</a>
+                </span> (
+            $hour as xs:anyAtomicType,
+            $minute as xs:anyAtomicType,
+            $second as xs:anyAtomicType
+) as xs:time<br />
+                <span class="padding">Construct a time from an hour, minute and second.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#timezone-from-duration-1" title="Converts an xs:dayTimeDuration into a timezone like &quot;-05:00&quot; or &quot;Z&quot;.">timezone-from-duration</a>
+                </span> (
+            $duration as xs:dayTimeDuration
+) as xs:string<br />
+                <span class="padding">Converts an xs:dayTimeDuration into a timezone like "-05:00" or "Z".</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#total-days-from-duration-1" title="The total number of days in a dayTimeDuration.">total-days-from-duration</a>
+                </span> (
+            $duration as xs:dayTimeDuration?
+) as xs:decimal?<br />
+                <span class="padding">The total number of days in a dayTimeDuration.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#total-hours-from-duration-1" title="The total number of hours in a dayTimeDuration.">total-hours-from-duration</a>
+                </span> (
+            $duration as xs:dayTimeDuration?
+) as xs:decimal?<br />
+                <span class="padding">The total number of hours in a dayTimeDuration.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#total-minutes-from-duration-1" title="The total number of minutes in a dayTimeDuration.">total-minutes-from-duration</a>
+                </span> (
+            $duration as xs:dayTimeDuration?
+) as xs:decimal?<br />
+                <span class="padding">The total number of minutes in a dayTimeDuration.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#total-months-from-duration-1" title="The total number of months in a yearMonthDuration.">total-months-from-duration</a>
+                </span> (
+            $duration as xs:yearMonthDuration?
+) as xs:decimal?<br />
+                <span class="padding">The total number of months in a yearMonthDuration.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#total-seconds-from-duration-1" title="The total number of seconds in a dayTimeDuration.">total-seconds-from-duration</a>
+                </span> (
+            $duration as xs:dayTimeDuration?
+) as xs:decimal?<br />
+                <span class="padding">The total number of seconds in a dayTimeDuration.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#total-years-from-duration-1" title="The total number of years in a yearMonthDuration.">total-years-from-duration</a>
+                </span> (
+            $duration as xs:yearMonthDuration?
+) as xs:decimal?<br />
+                <span class="padding">The total number of years in a yearMonthDuration.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#trim-1" title="Trims leading and trailing whitespace.">trim</a>
+                </span> (
+            $arg as xs:string?
+) as xs:string<br />
+                <span class="padding">Trims leading and trailing whitespace.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#update-attributes-3" title="Updates the attribute value of an XML element.">update-attributes</a>
+                </span> (
+            $elements as element(*)*,
+            $attrNames as xs:QName*,
+            $attrValues as xs:anyAtomicType*
+) as element(*)?<br />
+                <span class="padding">Updates the attribute value of an XML element.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#value-except-2" title="The values in one sequence that aren't in another sequence.">value-except</a>
+                </span> (
+            $arg1 as xs:anyAtomicType*,
+            $arg2 as xs:anyAtomicType*
+) as xs:anyAtomicType*<br />
+                <span class="padding">The values in one sequence that aren't in another sequence.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#value-intersect-2" title="The intersection of two sequences of values.">value-intersect</a>
+                </span> (
+            $arg1 as xs:anyAtomicType*,
+            $arg2 as xs:anyAtomicType*
+) as xs:anyAtomicType*<br />
+                <span class="padding">The intersection of two sequences of values.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#value-union-2" title="The union of two sequences of values.">value-union</a>
+                </span> (
+            $arg1 as xs:anyAtomicType*,
+            $arg2 as xs:anyAtomicType*
+) as xs:anyAtomicType*<br />
+                <span class="padding">The union of two sequences of values.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#word-count-1" title="The number of words.">word-count</a>
+                </span> (
+            $arg as xs:string?
+) as xs:integer<br />
+                <span class="padding">The number of words.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#words-to-camel-case-1" title="Turns a string of words into camelCase.">words-to-camel-case</a>
+                </span> (
+            $arg as xs:string?
+) as xs:string<br />
+                <span class="padding">Turns a string of words into camelCase.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#wrap-values-in-elements-2" title="Wraps a sequence of atomic values in XML elements.">wrap-values-in-elements</a>
+                </span> (
+            $values as xs:anyAtomicType*,
+            $elementName as xs:QName
+) as element(*)*<br />
+                <span class="padding">Wraps a sequence of atomic values in XML elements.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline"></span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#yearMonthDuration-2" title="Construct a yearMonthDuration from a number of years and months.">yearMonthDuration</a>
+                </span> (
+            $years as xs:decimal?,
+            $months as xs:integer?
+) as xs:yearMonthDuration<br />
+                <span class="padding">Construct a yearMonthDuration from a number of years and months.</span>
+              </tt>
+            </td>
+          </tr>
+        </table>
+        <div class="section">
+          <span id="functions">Functions</span>
+        </div>
+        <div class="subsection" id="add-attributes-3">
+          <span class="no_underline"></span>add-attributes<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:add-attributes (
+            $elements as element(*)*,
+            $attrNames as xs:QName*,
+            $attrValues as xs:anyAtomicType*
+) as element(*)?</pre>
+        <p> Adds attributes to XML elements
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$elements the element(s) to which you wish to add the attribute</li>
+          <li>$attrNames the name(s) of the attribute(s) to add</li>
+          <li>$attrValues the value(s) of the attribute(s) to add</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_add-attributes.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_add-attributes.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="add-months-2">
+          <span class="no_underline"></span>add-months<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:add-months (
+            $date as xs:anyAtomicType?,
+            $months as xs:integer
+) as xs:date?</pre>
+        <p> Adds months to a date
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$date the date</li>
+          <li>$months the number of months to add</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_add-months.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_add-months.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="add-or-update-attributes-3">
+          <span class="no_underline"></span>add-or-update-attributes<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:add-or-update-attributes (
+            $elements as element(*)*,
+            $attrNames as xs:QName*,
+            $attrValues as xs:anyAtomicType*
+) as element(*)?</pre>
+        <p> Adds attributes to XML elements
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$elements the element(s) to which you wish to add the attribute</li>
+          <li>$attrNames the name(s) of the attribute(s) to add</li>
+          <li>$attrValues the value(s) of the attribute(s) to add</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <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>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="all-whitespace-1">
+          <span class="no_underline"></span>all-whitespace<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:all-whitespace (
+            $arg as xs:string?
+) as xs:boolean</pre>
+        <p> Whether a value is all whitespace or a zero-length string
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$arg the string (or node) to test</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_all-whitespace.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_all-whitespace.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="are-distinct-values-1">
+          <span class="no_underline"></span>are-distinct-values<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:are-distinct-values (
+            $seq as xs:anyAtomicType*
+) as xs:boolean</pre>
+        <p> Whether all the values in a sequence are distinct
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$seq the sequence of values</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <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>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="atomic-type-1">
+          <span class="no_underline"></span>atomic-type<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:atomic-type (
+            $values as xs:anyAtomicType*
+) as xs:string*</pre>
+        <p> The built-in type of an atomic value
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$values the value(s) whose type you want to determine</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_atomic-type.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_atomic-type.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="avg-empty-is-zero-2">
+          <span class="no_underline"></span>avg-empty-is-zero<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:avg-empty-is-zero (
+            $values as xs:anyAtomicType*,
+            $allNodes as node()*
+) as xs:double</pre>
+        <p> The average, counting "empty" values as zero
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$values the values to be averaged</li>
+          <li>$allNodes the sequence of all nodes to find the average over</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <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>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="between-exclusive-3">
+          <span class="no_underline"></span>between-exclusive<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:between-exclusive (
+            $value as xs:anyAtomicType?,
+            $minValue as xs:anyAtomicType,
+            $maxValue as xs:anyAtomicType
+) as xs:boolean</pre>
+        <p> Whether a value is between two provided values
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$value the value to be tested</li>
+          <li>$minValue the minimum value</li>
+          <li>$maxValue the maximum value</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_between-exclusive.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_between-exclusive.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="between-inclusive-3">
+          <span class="no_underline"></span>between-inclusive<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:between-inclusive (
+            $value as xs:anyAtomicType?,
+            $minValue as xs:anyAtomicType,
+            $maxValue as xs:anyAtomicType
+) as xs:boolean</pre>
+        <p> Whether a value is between two provided values, or equal to one of them
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$value the value to be tested</li>
+          <li>$minValue the minimum value</li>
+          <li>$maxValue the maximum value</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_between-inclusive.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_between-inclusive.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="camel-case-to-words-2">
+          <span class="no_underline"></span>camel-case-to-words<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:camel-case-to-words (
+            $arg as xs:string?,
+            $delim as xs:string
+) as xs:string</pre>
+        <p> Turns a camelCase string into space-separated words
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$arg the string to modify</li>
+          <li>$delim the delimiter for the words (e.g. a space)</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <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>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="capitalize-first-1">
+          <span class="no_underline"></span>capitalize-first<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:capitalize-first (
+            $arg as xs:string?
+) as xs:string?</pre>
+        <p> Capitalizes the first character of a string
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$arg the word or phrase to capitalize</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_capitalize-first.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_capitalize-first.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="change-element-names-deep-3">
+          <span class="no_underline"></span>change-element-names-deep<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:change-element-names-deep (
+            $nodes as node()*,
+            $oldNames as xs:QName*,
+            $newNames as xs:QName*
+) as node()*</pre>
+        <p> Changes the names of elements in an XML fragment
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$nodes the element(s) to change</li>
+          <li>$oldNames the sequence of names to change from</li>
+          <li>$newNames the sequence of names to change to</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <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>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="change-element-ns-3">
+          <span class="no_underline"></span>change-element-ns<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:change-element-ns (
+            $elements as element(*)*,
+            $newns as xs:string,
+            $prefix as xs:string
+) as element(*)?</pre>
+        <p> Changes the namespace of XML elements
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$elements the elements to change</li>
+          <li>$newns the new namespace</li>
+          <li>$prefix the prefix to use for the new namespace</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <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>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="change-element-ns-deep-3">
+          <span class="no_underline"></span>change-element-ns-deep<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:change-element-ns-deep (
+            $nodes as node()*,
+            $newns as xs:string,
+            $prefix as xs:string
+) as node()*</pre>
+        <p> Changes the namespace of XML elements and its descendants
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$nodes the nodes to change</li>
+          <li>$newns the new namespace</li>
+          <li>$prefix the prefix to use for the new namespace</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <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>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="chars-1">
+          <span class="no_underline"></span>chars<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:chars (
+            $arg as xs:string?
+) as xs:string*</pre>
+        <p> Converts a string to a sequence of characters
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$arg the string to split</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_chars.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_chars.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="contains-any-of-2">
+          <span class="no_underline"></span>contains-any-of<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:contains-any-of (
+            $arg as xs:string?,
+            $searchStrings as xs:string*
+) as xs:boolean</pre>
+        <p> Whether a string contains any of a sequence of strings
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$arg the string to test</li>
+          <li>$searchStrings the strings to look for</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <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>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="contains-case-insensitive-2">
+          <span class="no_underline"></span>contains-case-insensitive<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:contains-case-insensitive (
+            $arg as xs:string?,
+            $substring as xs:string
+) as xs:boolean?</pre>
+        <p> Whether one string contains another, without regard to case
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$arg the string to search</li>
+          <li>$substring the substring to find</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <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>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="contains-word-2">
+          <span class="no_underline"></span>contains-word<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:contains-word (
+            $arg as xs:string?,
+            $word as xs:string
+) as xs:boolean</pre>
+        <p> Whether one string contains another, as a separate word
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$arg the string to search</li>
+          <li>$word the word to find</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_contains-word.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_contains-word.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="copy-attributes-2">
+          <span class="no_underline"></span>copy-attributes<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:copy-attributes (
+            $copyTo as element(*),
+            $copyFrom as element(*)
+) as element(*)</pre>
+        <p> Copies attributes from one element to another
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$copyTo the element to copy attributes to</li>
+          <li>$copyFrom the element to copy attributes from</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_copy-attributes.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_copy-attributes.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="date-3">
+          <span class="no_underline"></span>date<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:date (
+            $year as xs:anyAtomicType,
+            $month as xs:anyAtomicType,
+            $day as xs:anyAtomicType
+) as xs:date</pre>
+        <p> Construct a date from a year, month and day
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$year the year</li>
+          <li>$month the month</li>
+          <li>$day the day</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_date.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_date.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="dateTime-6">
+          <span class="no_underline"></span>dateTime<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:dateTime (
+            $year as xs:anyAtomicType,
+            $month as xs:anyAtomicType,
+            $day as xs:anyAtomicType,
+            $hour as xs:anyAtomicType,
+            $minute as xs:anyAtomicType,
+            $second as xs:anyAtomicType
+) as xs:dateTime</pre>
+        <p> Construct a date/time from individual components
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$year the year</li>
+          <li>$month the month</li>
+          <li>$day the day</li>
+          <li>$hour the hour</li>
+          <li>$minute the minute</li>
+          <li>$second the second</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_datetime.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_datetime.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="day-in-year-1">
+          <span class="no_underline"></span>day-in-year<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:day-in-year (
+            $date as xs:anyAtomicType?
+) as xs:integer?</pre>
+        <p> The day of the year (a number between 1 and 366)
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$date the date</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <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>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="day-of-week-1">
+          <span class="no_underline"></span>day-of-week<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:day-of-week (
+            $date as xs:anyAtomicType?
+) as xs:integer?</pre>
+        <p> The day of the week, from a date
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$date the date</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <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>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="day-of-week-abbrev-en-1">
+          <span class="no_underline"></span>day-of-week-abbrev-en<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:day-of-week-abbrev-en (
+            $date as xs:anyAtomicType?
+) as xs:string?</pre>
+        <p> The abbreviated day of the week, from a date, in English
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$date the date</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <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>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="day-of-week-name-en-1">
+          <span class="no_underline"></span>day-of-week-name-en<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:day-of-week-name-en (
+            $date as xs:anyAtomicType?
+) as xs:string?</pre>
+        <p> The name of the day of the week, from a date, in English
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$date the date</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <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>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="dayTimeDuration-4">
+          <span class="no_underline"></span>dayTimeDuration<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:dayTimeDuration (
+            $days as xs:decimal?,
+            $hours as xs:decimal?,
+            $minutes as xs:decimal?,
+            $seconds as xs:decimal?
+) as xs:dayTimeDuration</pre>
+        <p> Construct a dayTimeDuration from a number of days, hours, etc.
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$days the number of days</li>
+          <li>$hours the number of hours</li>
+          <li>$minutes the number of minutes</li>
+          <li>$seconds the number of seconds</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_daytimeduration.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_daytimeduration.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="days-in-month-1">
+          <span class="no_underline"></span>days-in-month<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:days-in-month (
+            $date as xs:anyAtomicType?
+) as xs:integer?</pre>
+        <p> Number of days in the month
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$date the date</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <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>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="depth-of-node-1">
+          <span class="no_underline"></span>depth-of-node<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:depth-of-node (
+            $node as node()?
+) as xs:integer</pre>
+        <p> The depth (level) of a node in an XML tree
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$node the node to check</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <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>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="distinct-attribute-names-1">
+          <span class="no_underline"></span>distinct-attribute-names<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:distinct-attribute-names (
+            $nodes as node()*
+) as xs:string*</pre>
+        <p> The distinct names of all attributes in an XML fragment
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$nodes the root to start from</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <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>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="distinct-deep-1">
+          <span class="no_underline"></span>distinct-deep<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:distinct-deep (
+            $nodes as node()*
+) as node()*</pre>
+        <p> The XML nodes with distinct values, taking into account attributes and descendants
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$nodes the sequence of nodes to test</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_distinct-deep.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_distinct-deep.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="distinct-element-names-1">
+          <span class="no_underline"></span>distinct-element-names<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:distinct-element-names (
+            $nodes as node()*
+) as xs:string*</pre>
+        <p> The distinct names of all elements in an XML fragment
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$nodes the root(s) to start from</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <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>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="distinct-element-paths-1">
+          <span class="no_underline"></span>distinct-element-paths<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:distinct-element-paths (
+            $nodes as node()*
+) as xs:string*</pre>
+        <p> The distinct paths of all descendant elements in an XML fragment
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$nodes the root(s) to start from</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <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>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="distinct-nodes-1">
+          <span class="no_underline"></span>distinct-nodes<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:distinct-nodes (
+            $nodes as node()*
+) as node()*</pre>
+        <p> The distinct XML nodes in a sequence (by node identity)
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$nodes the node sequence</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_distinct-nodes.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_distinct-nodes.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="duration-from-timezone-1">
+          <span class="no_underline"></span>duration-from-timezone<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:duration-from-timezone (
+            $timezone as xs:string
+) as xs:dayTimeDuration</pre>
+        <p> Converts a timezone like "-05:00" or "Z" into xs:dayTimeDuration
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$timezone the time zone, in (+|-)HH:MM format</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <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>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="dynamic-path-2">
+          <span class="no_underline"></span>dynamic-path<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:dynamic-path (
+            $parent as node(),
+            $path as xs:string
+) as item()*</pre>
+        <p> Dynamically evaluates a simple XPath path
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$parent the root to start from</li>
+          <li>$path the path expression</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_dynamic-path.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_dynamic-path.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="escape-for-regex-1">
+          <span class="no_underline"></span>escape-for-regex<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:escape-for-regex (
+            $arg as xs:string?
+) as xs:string</pre>
+        <p> Escapes regex special characters
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$arg the string to escape</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <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>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="exclusive-or-2">
+          <span class="no_underline"></span>exclusive-or<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:exclusive-or (
+            $arg1 as xs:boolean?,
+            $arg2 as xs:boolean?
+) as xs:boolean?</pre>
+        <p> Whether one (and only one) of two boolean values is true
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$arg1 the first boolean value</li>
+          <li>$arg2 the second boolean value</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_exclusive-or.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_exclusive-or.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="first-day-of-month-1">
+          <span class="no_underline"></span>first-day-of-month<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:first-day-of-month (
+            $date as xs:anyAtomicType?
+) as xs:date?</pre>
+        <p> The first day of the month of a date
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$date the date</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <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>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="first-day-of-year-1">
+          <span class="no_underline"></span>first-day-of-year<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:first-day-of-year (
+            $date as xs:anyAtomicType?
+) as xs:date?</pre>
+        <p> The first day of the year of a date
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$date the date</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <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>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="first-node-1">
+          <span class="no_underline"></span>first-node<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:first-node (
+            $nodes as node()*
+) as node()?</pre>
+        <p> The XML node in a sequence that appears first in document order
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$nodes the sequence of nodes</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_first-node.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_first-node.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="follows-not-descendant-2">
+          <span class="no_underline"></span>follows-not-descendant<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:follows-not-descendant (
+            $a as node()?,
+            $b as node()?
+) as xs:boolean</pre>
+        <p> Whether an XML node follows another without being its descendant
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$a the first node</li>
+          <li>$b the second node</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">W3C XML Query Working Group</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <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>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="format-as-title-en-1">
+          <span class="no_underline"></span>format-as-title-en<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:format-as-title-en (
+            $titles as xs:string*
+) as xs:string*</pre>
+        <p> Moves title words like "the" and "a" to the end of strings
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$titles the titles to format</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <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>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="fragment-from-uri-1">
+          <span class="no_underline"></span>fragment-from-uri<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:fragment-from-uri (
+            $uri as xs:string?
+) as xs:string?</pre>
+        <p> Returns the fragment from a URI
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$uri the URI</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <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>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="get-matches-2">
+          <span class="no_underline"></span>get-matches<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:get-matches (
+            $string as xs:string?,
+            $regex as xs:string
+) as xs:string*</pre>
+        <p> Return the matching regions of a string
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$string the string to split</li>
+          <li>$regex the pattern</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_get-matches.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_get-matches.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="get-matches-and-non-matches-2">
+          <span class="no_underline"></span>get-matches-and-non-matches<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:get-matches-and-non-matches (
+            $string as xs:string?,
+            $regex as xs:string
+) as element(*)*</pre>
+        <p> Splits a string into matching and non-matching regions
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$string the string to split</li>
+          <li>$regex the pattern</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <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>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="has-element-only-content-1">
+          <span class="no_underline"></span>has-element-only-content<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:has-element-only-content (
+            $element as element(*)
+) as xs:boolean</pre>
+        <p> Whether an element has element-only content
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$element the XML element to test</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <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>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="has-empty-content-1">
+          <span class="no_underline"></span>has-empty-content<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:has-empty-content (
+            $element as element(*)
+) as xs:boolean</pre>
+        <p> Whether an element has empty content
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$element the XML element to test</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <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>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="has-mixed-content-1">
+          <span class="no_underline"></span>has-mixed-content<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:has-mixed-content (
+            $element as element(*)
+) as xs:boolean</pre>
+        <p> Whether an element has mixed content
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$element the XML element to test</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <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>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="has-simple-content-1">
+          <span class="no_underline"></span>has-simple-content<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:has-simple-content (
+            $element as element(*)
+) as xs:boolean</pre>
+        <p> Whether an element has simple content
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$element the XML element to test</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <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>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="id-from-element-1">
+          <span class="no_underline"></span>id-from-element<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:id-from-element (
+            $element as element(*)?
+) as xs:string?</pre>
+        <p> Gets the ID of an XML element
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$element the element</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <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>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="id-untyped-2">
+          <span class="no_underline"></span>id-untyped<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:id-untyped (
+            $node as node()*,
+            $id as xs:anyAtomicType
+) as element(*)*</pre>
+        <p> Gets XML element(s) that have an attribute with a particular value
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$node the root node(s) to start from</li>
+          <li>$id the "id" to find</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_id-untyped.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_id-untyped.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="if-absent-2">
+          <span class="no_underline"></span>if-absent<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:if-absent (
+            $arg as item()*,
+            $value as item()*
+) as item()*</pre>
+        <p> The first argument if it is not empty, otherwise the second argument
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$arg the item(s) that may be absent</li>
+          <li>$value the item(s) to use if the item is absent</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">W3C XML Query WG</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_if-absent.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_if-absent.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="if-empty-2">
+          <span class="no_underline"></span>if-empty<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:if-empty (
+            $arg as item()?,
+            $value as item()*
+) as item()*</pre>
+        <p> The first argument if it is not blank, otherwise the second argument
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$arg the node that may be empty</li>
+          <li>$value the item(s) to use if the node is empty</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_if-empty.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_if-empty.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="index-of-deep-equal-node-2">
+          <span class="no_underline"></span>index-of-deep-equal-node<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:index-of-deep-equal-node (
+            $nodes as node()*,
+            $nodeToFind as node()
+) as xs:integer*</pre>
+        <p> The position of a node in a sequence, based on contents and attributes
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$nodes the node sequence</li>
+          <li>$nodeToFind the node to find in the sequence</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <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>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="index-of-match-first-2">
+          <span class="no_underline"></span>index-of-match-first<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:index-of-match-first (
+            $arg as xs:string?,
+            $pattern as xs:string
+) as xs:integer?</pre>
+        <p> The first position of a matching substring
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$arg the string</li>
+          <li>$pattern the pattern to match</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <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>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="index-of-node-2">
+          <span class="no_underline"></span>index-of-node<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:index-of-node (
+            $nodes as node()*,
+            $nodeToFind as node()
+) as xs:integer*</pre>
+        <p> The position of a node in a sequence, based on node identity
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$nodes the node sequence</li>
+          <li>$nodeToFind the node to find in the sequence</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">W3C XML Query Working Group</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <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>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="index-of-string-2">
+          <span class="no_underline"></span>index-of-string<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:index-of-string (
+            $arg as xs:string?,
+            $substring as xs:string
+) as xs:integer*</pre>
+        <p> The position(s) of a substring
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$arg the string</li>
+          <li>$substring the substring to find</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <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>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="index-of-string-first-2">
+          <span class="no_underline"></span>index-of-string-first<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:index-of-string-first (
+            $arg as xs:string?,
+            $substring as xs:string
+) as xs:integer?</pre>
+        <p> The first position of a substring
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$arg the string</li>
+          <li>$substring the substring to find</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <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>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="index-of-string-last-2">
+          <span class="no_underline"></span>index-of-string-last<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:index-of-string-last (
+            $arg as xs:string?,
+            $substring as xs:string
+) as xs:integer?</pre>
+        <p> The last position of a substring
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$arg the string</li>
+          <li>$substring the substring to find</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <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>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="insert-string-3">
+          <span class="no_underline"></span>insert-string<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:insert-string (
+            $originalString as xs:string?,
+            $stringToInsert as xs:string?,
+            $pos as xs:integer
+) as xs:string</pre>
+        <p> Inserts a string at a specified position
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$originalString the original string to insert into</li>
+          <li>$stringToInsert the string to insert</li>
+          <li>$pos the position</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_insert-string.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_insert-string.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="is-a-number-1">
+          <span class="no_underline"></span>is-a-number<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:is-a-number (
+            $value as xs:anyAtomicType?
+) as xs:boolean</pre>
+        <p> Whether a value is numeric
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$value the value to test</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <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>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="is-absolute-uri-1">
+          <span class="no_underline"></span>is-absolute-uri<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:is-absolute-uri (
+            $uri as xs:string?
+) as xs:boolean</pre>
+        <p> Whether a URI is absolute
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$uri the URI to test</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <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>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="is-ancestor-2">
+          <span class="no_underline"></span>is-ancestor<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:is-ancestor (
+            $node1 as node(),
+            $node2 as node()
+) as xs:boolean</pre>
+        <p> Whether an XML node is an ancestor of another node
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$node1 the first node</li>
+          <li>$node2 the second node</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_is-ancestor.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_is-ancestor.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="is-descendant-2">
+          <span class="no_underline"></span>is-descendant<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:is-descendant (
+            $node1 as node(),
+            $node2 as node()
+) as xs:boolean</pre>
+        <p> Whether an XML node is a descendant of another node
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$node1 the first node</li>
+          <li>$node2 the second node</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_is-descendant.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_is-descendant.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="is-leap-year-1">
+          <span class="no_underline"></span>is-leap-year<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:is-leap-year (
+            $date as xs:anyAtomicType?
+) as xs:boolean</pre>
+        <p> Whether a date falls in a leap year
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$date the date or year</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <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>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="is-node-among-descendants-2">
+          <span class="no_underline"></span>is-node-among-descendants<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:is-node-among-descendants (
+            $node as node()?,
+            $seq as node()*
+) as xs:boolean</pre>
+        <p> Whether an XML node is among the descendants of a sequence, based on node identity
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$node the node to test</li>
+          <li>$seq the sequence of nodes to search</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <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>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="is-node-among-descendants-deep-equal-2">
+          <span class="no_underline"></span>is-node-among-descendants-deep-equal<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:is-node-among-descendants-deep-equal (
+            $node as node()?,
+            $seq as node()*
+) as xs:boolean</pre>
+        <p> Whether an XML node is among the descendants of a sequence, based on contents and attributes
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$node the node to test</li>
+          <li>$seq the sequence of nodes to search</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <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>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="is-node-in-sequence-2">
+          <span class="no_underline"></span>is-node-in-sequence<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:is-node-in-sequence (
+            $node as node()?,
+            $seq as node()*
+) as xs:boolean</pre>
+        <p> Whether an XML node is in a sequence, based on node identity
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$node the node to test</li>
+          <li>$seq the sequence of nodes to search</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <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>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="is-node-in-sequence-deep-equal-2">
+          <span class="no_underline"></span>is-node-in-sequence-deep-equal<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:is-node-in-sequence-deep-equal (
+            $node as node()?,
+            $seq as node()*
+) as xs:boolean</pre>
+        <p> Whether an XML node is in a sequence, based on contents and attributes
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$node the node to test</li>
+          <li>$seq the sequence of nodes to search</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <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>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="is-value-in-sequence-2">
+          <span class="no_underline"></span>is-value-in-sequence<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:is-value-in-sequence (
+            $value as xs:anyAtomicType?,
+            $seq as xs:anyAtomicType*
+) as xs:boolean</pre>
+        <p> Whether an atomic value appears in a sequence
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$value the atomic value to test</li>
+          <li>$seq the sequence of values to search</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <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>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="last-day-of-month-1">
+          <span class="no_underline"></span>last-day-of-month<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:last-day-of-month (
+            $date as xs:anyAtomicType?
+) as xs:date?</pre>
+        <p> The last day of the month of a date
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$date the date</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <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>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="last-day-of-year-1">
+          <span class="no_underline"></span>last-day-of-year<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:last-day-of-year (
+            $date as xs:anyAtomicType?
+) as xs:date?</pre>
+        <p> The last day of the month of a date
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$date the date</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <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>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="last-node-1">
+          <span class="no_underline"></span>last-node<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:last-node (
+            $nodes as node()*
+) as node()?</pre>
+        <p> The XML node in a sequence that is last in document order
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$nodes the sequence of nodes</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_last-node.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_last-node.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="leaf-elements-1">
+          <span class="no_underline"></span>leaf-elements<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:leaf-elements (
+            $root as node()?
+) as element(*)*</pre>
+        <p> All XML elements that don't have any child elements
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$root the root</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_leaf-elements.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_leaf-elements.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="left-trim-1">
+          <span class="no_underline"></span>left-trim<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:left-trim (
+            $arg as xs:string?
+) as xs:string</pre>
+        <p> Trims leading whitespace
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$arg the string to trim</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_left-trim.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_left-trim.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="line-count-1">
+          <span class="no_underline"></span>line-count<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:line-count (
+            $arg as xs:string?
+) as xs:integer</pre>
+        <p> The number of lines
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$arg the string to test</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_line-count.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_line-count.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="lines-1">
+          <span class="no_underline"></span>lines<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:lines (
+            $arg as xs:string?
+) as xs:string*</pre>
+        <p> Split a string into separate lines
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$arg the string to split</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_lines.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_lines.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="max-depth-1">
+          <span class="no_underline"></span>max-depth<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:max-depth (
+            $root as node()?
+) as xs:integer?</pre>
+        <p> The maximum depth of elements in an XML tree
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$root the root to start from</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_max-depth.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_max-depth.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="max-determine-type-1">
+          <span class="no_underline"></span>max-determine-type<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:max-determine-type (
+            $seq as xs:anyAtomicType*
+) as xs:anyAtomicType?</pre>
+        <p> The maximum value in a sequence, figuring out its type (numeric or string)
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$seq the sequence of values to test</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <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>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="max-line-length-1">
+          <span class="no_underline"></span>max-line-length<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:max-line-length (
+            $arg as xs:string?
+) as xs:integer</pre>
+        <p> The maximum line length
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$arg the string to test</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <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>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="max-node-1">
+          <span class="no_underline"></span>max-node<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:max-node (
+            $nodes as node()*
+) as node()*</pre>
+        <p> The XML node whose typed value is the maximum
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$nodes the sequence of nodes to test</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_max-node.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_max-node.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="max-string-1">
+          <span class="no_underline"></span>max-string<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:max-string (
+            $strings as xs:anyAtomicType*
+) as xs:string?</pre>
+        <p> The maximum of a sequence of values, treating them like strings
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$strings the sequence of values</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_max-string.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_max-string.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="min-determine-type-1">
+          <span class="no_underline"></span>min-determine-type<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:min-determine-type (
+            $seq as xs:anyAtomicType*
+) as xs:anyAtomicType?</pre>
+        <p> The minimum value in a sequence, figuring out its type (numeric or string)
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$seq the sequence of values to test</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <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>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="min-node-1">
+          <span class="no_underline"></span>min-node<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:min-node (
+            $nodes as node()*
+) as node()*</pre>
+        <p> The XML node whose typed value is the minimum
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$nodes the sequence of nodes to test</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_min-node.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_min-node.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="min-non-empty-string-1">
+          <span class="no_underline"></span>min-non-empty-string<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:min-non-empty-string (
+            $strings as xs:string*
+) as xs:string?</pre>
+        <p> The minimum of a sequence of strings, ignoring "empty" values
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$strings the sequence of strings to search</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <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>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="min-string-1">
+          <span class="no_underline"></span>min-string<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:min-string (
+            $strings as xs:anyAtomicType*
+) as xs:string?</pre>
+        <p> The minimum of a sequence of values, treating them like strings
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$strings the sequence of strings</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_min-string.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_min-string.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="mmddyyyy-to-date-1">
+          <span class="no_underline"></span>mmddyyyy-to-date<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:mmddyyyy-to-date (
+            $dateString as xs:string?
+) as xs:date?</pre>
+        <p> Converts a string with format MMDDYYYY (with any delimiters) to a date
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$dateString the MMDDYYYY string</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <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>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="month-abbrev-en-1">
+          <span class="no_underline"></span>month-abbrev-en<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:month-abbrev-en (
+            $date as xs:anyAtomicType?
+) as xs:string?</pre>
+        <p> The month of a date as an abbreviated word (Jan, Feb, etc.)
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$date the date</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_month-abbrev-en.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_month-abbrev-en.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="month-name-en-1">
+          <span class="no_underline"></span>month-name-en<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:month-name-en (
+            $date as xs:anyAtomicType?
+) as xs:string?</pre>
+        <p> The month of a date as a word (January, February, etc.)
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$date the date</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_month-name-en.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_month-name-en.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="name-test-2">
+          <span class="no_underline"></span>name-test<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:name-test (
+            $testname as xs:string?,
+            $names as xs:string*
+) as xs:boolean</pre>
+        <p> Whether a name matches a list of names or name wildcards
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$testname the name to test</li>
+          <li>$names the list of names or name wildcards</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_name-test.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_name-test.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="namespaces-in-use-1">
+          <span class="no_underline"></span>namespaces-in-use<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:namespaces-in-use (
+            $root as node()?
+) as xs:anyURI*</pre>
+        <p> A list of namespaces used in element/attribute names in an XML fragment
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$root the root node to start from</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_namespaces-in-use.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_namespaces-in-use.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="next-day-1">
+          <span class="no_underline"></span>next-day<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:next-day (
+            $date as xs:anyAtomicType?
+) as xs:date?</pre>
+        <p> The next day
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$date the date</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_next-day.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_next-day.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="node-kind-1">
+          <span class="no_underline"></span>node-kind<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:node-kind (
+            $nodes as node()*
+) as xs:string*</pre>
+        <p> The XML node kind (element, attribute, text, etc.)
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$nodes the node(s) whose kind you want to determine</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_node-kind.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_node-kind.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="non-distinct-values-1">
+          <span class="no_underline"></span>non-distinct-values<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:non-distinct-values (
+            $seq as xs:anyAtomicType*
+) as xs:anyAtomicType*</pre>
+        <p> Returns any values that appear more than once in a sequence
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$seq the sequence of values</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_non-distinct-values.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_non-distinct-values.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="number-of-matches-2">
+          <span class="no_underline"></span>number-of-matches<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:number-of-matches (
+            $arg as xs:string?,
+            $pattern as xs:string
+) as xs:integer</pre>
+        <p> The number of regions that match a pattern
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$arg the string to test</li>
+          <li>$pattern the regular expression</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_number-of-matches.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_number-of-matches.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="open-ref-document-1">
+          <span class="no_underline"></span>open-ref-document<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:open-ref-document (
+            $refNode as node()
+) as document()</pre>
+        <p> Resolves a relative URI and references it, returning an XML document
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$refNode a node whose value is a relative URI reference</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_open-ref-document.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_open-ref-document.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="ordinal-number-en-1">
+          <span class="no_underline"></span>ordinal-number-en<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:ordinal-number-en (
+            $num as xs:integer?
+) as xs:string</pre>
+        <p> Reformats a number as an ordinal number, e.g. 1st, 2nd, 3rd.
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$num the number</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_ordinal-number-en.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_ordinal-number-en.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="pad-integer-to-length-2">
+          <span class="no_underline"></span>pad-integer-to-length<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:pad-integer-to-length (
+            $integerToPad as xs:anyAtomicType?,
+            $length as xs:integer
+) as xs:string</pre>
+        <p> Pads an integer to a desired length by adding leading zeros
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$integerToPad the integer to pad</li>
+          <li>$length the desired length</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_pad-integer-to-length.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_pad-integer-to-length.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="pad-string-to-length-3">
+          <span class="no_underline"></span>pad-string-to-length<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:pad-string-to-length (
+            $stringToPad as xs:string?,
+            $padChar as xs:string,
+            $length as xs:integer
+) as xs:string</pre>
+        <p> Pads a string to a desired length
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$stringToPad the string to pad</li>
+          <li>$padChar the character(s) to use as padding</li>
+          <li>$length the desired length</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_pad-string-to-length.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_pad-string-to-length.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="path-to-node-1">
+          <span class="no_underline"></span>path-to-node<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:path-to-node (
+            $nodes as node()*
+) as xs:string*</pre>
+        <p> A path to an XML node (or sequence of nodes)
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$nodes the node sequence</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_path-to-node.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_path-to-node.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="path-to-node-with-pos-1">
+          <span class="no_underline"></span>path-to-node-with-pos<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:path-to-node-with-pos (
+            $node as node()?
+) as xs:string</pre>
+        <p> A unique path to an XML node (or sequence of nodes)
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$node the node sequence</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_path-to-node-with-pos.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_path-to-node-with-pos.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="precedes-not-ancestor-2">
+          <span class="no_underline"></span>precedes-not-ancestor<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:precedes-not-ancestor (
+            $a as node()?,
+            $b as node()?
+) as xs:boolean</pre>
+        <p> Whether an XML node precedes another without being its ancestor
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$a the first node</li>
+          <li>$b the second node</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">W3C XML Query Working Group</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_precedes-not-ancestor.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_precedes-not-ancestor.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="previous-day-1">
+          <span class="no_underline"></span>previous-day<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:previous-day (
+            $date as xs:anyAtomicType?
+) as xs:date?</pre>
+        <p> The previous day
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$date the date</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_previous-day.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_previous-day.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="remove-attributes-2">
+          <span class="no_underline"></span>remove-attributes<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:remove-attributes (
+            $elements as element(*)*,
+            $names as xs:string*
+) as element(*)</pre>
+        <p> Removes attributes from an XML element, based on name
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$elements the element(s) from which to remove the attributes</li>
+          <li>$names the names of the attributes to remove, or * for all attributes</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_remove-attributes.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_remove-attributes.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="remove-attributes-deep-2">
+          <span class="no_underline"></span>remove-attributes-deep<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:remove-attributes-deep (
+            $nodes as node()*,
+            $names as xs:string*
+) as node()*</pre>
+        <p> Removes attributes from an XML fragment, based on name
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$nodes the root(s) to start from</li>
+          <li>$names the names of the attributes to remove, or * for all attributes</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_remove-attributes-deep.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_remove-attributes-deep.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="remove-elements-2">
+          <span class="no_underline"></span>remove-elements<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:remove-elements (
+            $elements as element(*)*,
+            $names as xs:string*
+) as element(*)*</pre>
+        <p> Removes child elements from an XML node, based on name
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$elements the element(s) from which you wish to remove the children</li>
+          <li>$names the names of the child elements to remove</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_remove-elements.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_remove-elements.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="remove-elements-deep-2">
+          <span class="no_underline"></span>remove-elements-deep<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:remove-elements-deep (
+            $nodes as node()*,
+            $names as xs:string*
+) as node()*</pre>
+        <p> Removes descendant elements from an XML node, based on name
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$nodes root(s) to start from</li>
+          <li>$names the names of the elements to remove</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_remove-elements-deep.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_remove-elements-deep.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="remove-elements-not-contents-2">
+          <span class="no_underline"></span>remove-elements-not-contents<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:remove-elements-not-contents (
+            $nodes as node()*,
+            $names as xs:string*
+) as node()*</pre>
+        <p> Removes descendant XML elements but keeps their content
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$nodes the root(s) to start from</li>
+          <li>$names the names of the elements to remove</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_remove-elements-not-contents.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_remove-elements-not-contents.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="repeat-string-2">
+          <span class="no_underline"></span>repeat-string<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:repeat-string (
+            $stringToRepeat as xs:string?,
+            $count as xs:integer
+) as xs:string</pre>
+        <p> Repeats a string a given number of times
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$stringToRepeat the string to repeat</li>
+          <li>$count the desired number of copies</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_repeat-string.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_repeat-string.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="replace-beginning-3">
+          <span class="no_underline"></span>replace-beginning<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:replace-beginning (
+            $arg as xs:string?,
+            $pattern as xs:string,
+            $replacement as xs:string
+) as xs:string</pre>
+        <p> Replaces the beginning of a string, up to a matched pattern
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$arg the entire string to change</li>
+          <li>$pattern the pattern of characters to replace up to</li>
+          <li>$replacement the replacement string</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_replace-beginning.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_replace-beginning.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="replace-element-values-2">
+          <span class="no_underline"></span>replace-element-values<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:replace-element-values (
+            $elements as element(*)*,
+            $values as xs:anyAtomicType*
+) as element(*)*</pre>
+        <p> Updates the content of one or more elements
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$elements the elements whose content you wish to replace</li>
+          <li>$values the replacement values</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_replace-element-values.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_replace-element-values.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="replace-first-3">
+          <span class="no_underline"></span>replace-first<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:replace-first (
+            $arg as xs:string?,
+            $pattern as xs:string,
+            $replacement as xs:string
+) as xs:string</pre>
+        <p> Replaces the first match of a pattern
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$arg the entire string to change</li>
+          <li>$pattern the pattern of characters to replace</li>
+          <li>$replacement the replacement string</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_replace-first.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_replace-first.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="replace-multi-3">
+          <span class="no_underline"></span>replace-multi<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:replace-multi (
+            $arg as xs:string?,
+            $changeFrom as xs:string*,
+            $changeTo as xs:string*
+) as xs:string?</pre>
+        <p> Performs multiple replacements, using pairs of replace parameters
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$arg the string to manipulate</li>
+          <li>$changeFrom the sequence of strings or patterns to change from</li>
+          <li>$changeTo the sequence of strings to change to</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_replace-multi.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_replace-multi.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="reverse-string-1">
+          <span class="no_underline"></span>reverse-string<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:reverse-string (
+            $arg as xs:string?
+) as xs:string</pre>
+        <p> Reverses the order of characters
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$arg the string to reverse</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_reverse-string.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_reverse-string.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="right-trim-1">
+          <span class="no_underline"></span>right-trim<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:right-trim (
+            $arg as xs:string?
+) as xs:string</pre>
+        <p> Trims trailing whitespace
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$arg the string to trim</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_right-trim.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_right-trim.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="scheme-from-uri-1">
+          <span class="no_underline"></span>scheme-from-uri<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:scheme-from-uri (
+            $uri as xs:string?
+) as xs:string?</pre>
+        <p> Returns the scheme from a URI
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$uri the URI</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_scheme-from-uri.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_scheme-from-uri.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="sequence-deep-equal-2">
+          <span class="no_underline"></span>sequence-deep-equal<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:sequence-deep-equal (
+            $seq1 as item()*,
+            $seq2 as item()*
+) as xs:boolean</pre>
+        <p> Whether two sequences have the same XML node content and/or values
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$seq1 the first sequence</li>
+          <li>$seq2 the second sequence</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_sequence-deep-equal.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_sequence-deep-equal.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="sequence-node-equal-2">
+          <span class="no_underline"></span>sequence-node-equal<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:sequence-node-equal (
+            $seq1 as node()*,
+            $seq2 as node()*
+) as xs:boolean</pre>
+        <p> Whether two sequences contain the same XML nodes, in the same order
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$seq1 the first sequence of nodes</li>
+          <li>$seq2 the second sequence of nodes</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_sequence-node-equal.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_sequence-node-equal.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="sequence-node-equal-any-order-2">
+          <span class="no_underline"></span>sequence-node-equal-any-order<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:sequence-node-equal-any-order (
+            $seq1 as node()*,
+            $seq2 as node()*
+) as xs:boolean</pre>
+        <p> Whether two sequences contain the same XML nodes, regardless of order
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$seq1 the first sequence of nodes</li>
+          <li>$seq2 the second sequence of nodes</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_sequence-node-equal-any-order.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_sequence-node-equal-any-order.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="sequence-type-1">
+          <span class="no_underline"></span>sequence-type<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:sequence-type (
+            $items as item()*
+) as xs:string</pre>
+        <p> The sequence type that represents a sequence of nodes or values
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$items the items whose sequence type you want to determine</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_sequence-type.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_sequence-type.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="siblings-1">
+          <span class="no_underline"></span>siblings<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:siblings (
+            $node as node()?
+) as node()*</pre>
+        <p> The siblings of an XML node
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$node the node</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_siblings.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_siblings.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="siblings-same-name-1">
+          <span class="no_underline"></span>siblings-same-name<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:siblings-same-name (
+            $element as element(*)?
+) as element(*)*</pre>
+        <p> The siblings of an XML element that have the same name
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$element the node</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_siblings-same-name.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_siblings-same-name.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="sort-1">
+          <span class="no_underline"></span>sort<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:sort (
+            $seq as item()*
+) as item()*</pre>
+        <p> Sorts a sequence of values or nodes
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$seq the sequence to sort</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_sort.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_sort.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="sort-as-numeric-1">
+          <span class="no_underline"></span>sort-as-numeric<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:sort-as-numeric (
+            $seq as item()*
+) as item()*</pre>
+        <p> Sorts a sequence of numeric values or nodes
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$seq the sequence to sort</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_sort-as-numeric.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_sort-as-numeric.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="sort-case-insensitive-1">
+          <span class="no_underline"></span>sort-case-insensitive<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:sort-case-insensitive (
+            $seq as item()*
+) as item()*</pre>
+        <p> Sorts a sequence of values or nodes regardless of capitalization
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$seq the sequence to sort</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_sort-case-insensitive.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_sort-case-insensitive.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="sort-document-order-1">
+          <span class="no_underline"></span>sort-document-order<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:sort-document-order (
+            $seq as node()*
+) as node()*</pre>
+        <p> Sorts a sequence of nodes in document order
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$seq the sequence to sort</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_sort-document-order.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_sort-document-order.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="substring-after-if-contains-2">
+          <span class="no_underline"></span>substring-after-if-contains<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:substring-after-if-contains (
+            $arg as xs:string?,
+            $delim as xs:string
+) as xs:string?</pre>
+        <p> Performs substring-after, returning the entire string if it does not contain the delimiter
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$arg the string to substring</li>
+          <li>$delim the delimiter</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_substring-after-if-contains.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_substring-after-if-contains.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="substring-after-last-2">
+          <span class="no_underline"></span>substring-after-last<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:substring-after-last (
+            $arg as xs:string?,
+            $delim as xs:string
+) as xs:string</pre>
+        <p> The substring after the last occurrence of a delimiter
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$arg the string to substring</li>
+          <li>$delim the delimiter</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_substring-after-last.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_substring-after-last.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="substring-after-last-match-2">
+          <span class="no_underline"></span>substring-after-last-match<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:substring-after-last-match (
+            $arg as xs:string?,
+            $regex as xs:string
+) as xs:string</pre>
+        <p> The substring after the last text that matches a regex
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$arg the string to substring</li>
+          <li>$regex the regular expression</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_substring-after-last-match.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_substring-after-last-match.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="substring-after-match-2">
+          <span class="no_underline"></span>substring-after-match<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:substring-after-match (
+            $arg as xs:string?,
+            $regex as xs:string
+) as xs:string?</pre>
+        <p> The substring after the first text that matches a regex
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$arg the string to substring</li>
+          <li>$regex the regular expression</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_substring-after-match.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_substring-after-match.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="substring-before-if-contains-2">
+          <span class="no_underline"></span>substring-before-if-contains<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:substring-before-if-contains (
+            $arg as xs:string?,
+            $delim as xs:string
+) as xs:string?</pre>
+        <p> Performs substring-before, returning the entire string if it does not contain the delimiter
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$arg the string to substring</li>
+          <li>$delim the delimiter</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_substring-before-if-contains.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_substring-before-if-contains.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="substring-before-last-2">
+          <span class="no_underline"></span>substring-before-last<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:substring-before-last (
+            $arg as xs:string?,
+            $delim as xs:string
+) as xs:string</pre>
+        <p> The substring before the last occurrence of a delimiter
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$arg the string to substring</li>
+          <li>$delim the delimiter</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_substring-before-last.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_substring-before-last.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="substring-before-last-match-2">
+          <span class="no_underline"></span>substring-before-last-match<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:substring-before-last-match (
+            $arg as xs:string?,
+            $regex as xs:string
+) as xs:string?</pre>
+        <p> The substring after the first text that matches a regex
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$arg the string to substring</li>
+          <li>$regex the regular expression</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_substring-before-last-match.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_substring-before-last-match.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="substring-before-match-2">
+          <span class="no_underline"></span>substring-before-match<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:substring-before-match (
+            $arg as xs:string?,
+            $regex as xs:string
+) as xs:string</pre>
+        <p> The substring before the last text that matches a regex
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$arg the string to substring</li>
+          <li>$regex the regular expression</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_substring-before-match.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_substring-before-match.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="time-3">
+          <span class="no_underline"></span>time<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:time (
+            $hour as xs:anyAtomicType,
+            $minute as xs:anyAtomicType,
+            $second as xs:anyAtomicType
+) as xs:time</pre>
+        <p> Construct a time from an hour, minute and second
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$hour the hour</li>
+          <li>$minute the minute</li>
+          <li>$second the second</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_time.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_time.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="timezone-from-duration-1">
+          <span class="no_underline"></span>timezone-from-duration<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:timezone-from-duration (
+            $duration as xs:dayTimeDuration
+) as xs:string</pre>
+        <p> Converts an xs:dayTimeDuration into a timezone like "-05:00" or "Z"
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$duration the duration</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_timezone-from-duration.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_timezone-from-duration.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="total-days-from-duration-1">
+          <span class="no_underline"></span>total-days-from-duration<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:total-days-from-duration (
+            $duration as xs:dayTimeDuration?
+) as xs:decimal?</pre>
+        <p> The total number of days in a dayTimeDuration
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$duration the duration</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_total-days-from-duration.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_total-days-from-duration.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="total-hours-from-duration-1">
+          <span class="no_underline"></span>total-hours-from-duration<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:total-hours-from-duration (
+            $duration as xs:dayTimeDuration?
+) as xs:decimal?</pre>
+        <p> The total number of hours in a dayTimeDuration
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$duration the duration</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_total-hours-from-duration.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_total-hours-from-duration.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="total-minutes-from-duration-1">
+          <span class="no_underline"></span>total-minutes-from-duration<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:total-minutes-from-duration (
+            $duration as xs:dayTimeDuration?
+) as xs:decimal?</pre>
+        <p> The total number of minutes in a dayTimeDuration
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$duration the duration</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_total-minutes-from-duration.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_total-minutes-from-duration.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="total-months-from-duration-1">
+          <span class="no_underline"></span>total-months-from-duration<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:total-months-from-duration (
+            $duration as xs:yearMonthDuration?
+) as xs:decimal?</pre>
+        <p> The total number of months in a yearMonthDuration
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$duration the duration</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_total-months-from-duration.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_total-months-from-duration.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="total-seconds-from-duration-1">
+          <span class="no_underline"></span>total-seconds-from-duration<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:total-seconds-from-duration (
+            $duration as xs:dayTimeDuration?
+) as xs:decimal?</pre>
+        <p> The total number of seconds in a dayTimeDuration
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$duration the duration</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_total-seconds-from-duration.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_total-seconds-from-duration.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="total-years-from-duration-1">
+          <span class="no_underline"></span>total-years-from-duration<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:total-years-from-duration (
+            $duration as xs:yearMonthDuration?
+) as xs:decimal?</pre>
+        <p> The total number of years in a yearMonthDuration
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$duration the duration</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_total-years-from-duration.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_total-years-from-duration.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="trim-1">
+          <span class="no_underline"></span>trim<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:trim (
+            $arg as xs:string?
+) as xs:string</pre>
+        <p> Trims leading and trailing whitespace
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$arg the string to trim</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_trim.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_trim.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="update-attributes-3">
+          <span class="no_underline"></span>update-attributes<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:update-attributes (
+            $elements as element(*)*,
+            $attrNames as xs:QName*,
+            $attrValues as xs:anyAtomicType*
+) as element(*)?</pre>
+        <p> Updates the attribute value of an XML element
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$elements the element(s) for which you wish to update the attribute</li>
+          <li>$attrNames the name(s) of the attribute(s) to add</li>
+          <li>$attrValues the value(s) of the attribute(s) to add</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_update-attributes.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_update-attributes.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="value-except-2">
+          <span class="no_underline"></span>value-except<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:value-except (
+            $arg1 as xs:anyAtomicType*,
+            $arg2 as xs:anyAtomicType*
+) as xs:anyAtomicType*</pre>
+        <p> The values in one sequence that aren't in another sequence
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$arg1 the first sequence</li>
+          <li>$arg2 the second sequence</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">W3C XML Query Working Group</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_value-except.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_value-except.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="value-intersect-2">
+          <span class="no_underline"></span>value-intersect<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:value-intersect (
+            $arg1 as xs:anyAtomicType*,
+            $arg2 as xs:anyAtomicType*
+) as xs:anyAtomicType*</pre>
+        <p> The intersection of two sequences of values
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$arg1 the first sequence</li>
+          <li>$arg2 the second sequence</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">W3C XML Query Working Group</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_value-intersect.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_value-intersect.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="value-union-2">
+          <span class="no_underline"></span>value-union<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:value-union (
+            $arg1 as xs:anyAtomicType*,
+            $arg2 as xs:anyAtomicType*
+) as xs:anyAtomicType*</pre>
+        <p> The union of two sequences of values
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$arg1 the first sequence</li>
+          <li>$arg2 the second sequence</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">W3C XML Query Working Group</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_value-union.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_value-union.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="word-count-1">
+          <span class="no_underline"></span>word-count<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:word-count (
+            $arg as xs:string?
+) as xs:integer</pre>
+        <p> The number of words
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$arg the string to measure</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_word-count.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_word-count.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="words-to-camel-case-1">
+          <span class="no_underline"></span>words-to-camel-case<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:words-to-camel-case (
+            $arg as xs:string?
+) as xs:string</pre>
+        <p> Turns a string of words into camelCase
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$arg the string to modify</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_words-to-camel-case.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_words-to-camel-case.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="wrap-values-in-elements-2">
+          <span class="no_underline"></span>wrap-values-in-elements<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:wrap-values-in-elements (
+            $values as xs:anyAtomicType*,
+            $elementName as xs:QName
+) as element(*)*</pre>
+        <p> Wraps a sequence of atomic values in XML elements
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$values the values to wrap in elements</li>
+          <li>$elementName the name of the elements to construct</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_wrap-values-in-elements.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_wrap-values-in-elements.html</a>
+          </li>
+        </ul>
+        <hr />
+        <div class="subsection" id="yearMonthDuration-2">
+          <span class="no_underline"></span>yearMonthDuration<a href="#function_summary">
+            <img class="floatright" src="images/up.gif" alt="back to 'Function Summary'" title="back to 'Function Summary'" />
+          </a>
+        </div>
+        <pre class="signature">declare function functx:yearMonthDuration (
+            $years as xs:decimal?,
+            $months as xs:integer?
+) as xs:yearMonthDuration</pre>
+        <p> Construct a yearMonthDuration from a number of years and months
+</p>
+        <div class="subsubsection">Parameters:</div>
+        <ul>
+          <li>$years the number of years</li>
+          <li>$months the number of months</li>
+        </ul>
+        <div class="subsubsection">Version:</div>
+        <p class="annotationText">1.0</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">Priscilla Walmsley, Datypic</p>
+        <div class="subsubsection">See:</div>
+        <ul>
+          <li>
+            <a href="http://www.xqueryfunctions.com/xq/functx_yearmonthduration.html"; target="_blank">http://www.xqueryfunctions.com/xq/functx_yearmonthduration.html</a>
+          </li>
+        </ul>
+        <hr />
+      </div>
+    </div>
+    <div style="clear:both;">
+      <div id="footer">
+	<div id="innerfooter">
+          <p>Zorba is supported by the 
+            <a href="http://flworfound.org/"; target="_blank">FLWOR Foundation</a> 
+            and distributed under
+            <a href="http://www.apache.org/licenses/LICENSE-2.0.html"; target="_blank">Apache Licence, Version 2.0</a>.</p>
+	</div>
+      </div>
+    </div>
+  </body>
+</html>

=== added file 'doc/zorba/xqdoc/templates/www.w3.org_2005_xpath-functions.html.OTHER'
--- doc/zorba/xqdoc/templates/www.w3.org_2005_xpath-functions.html.OTHER	1970-01-01 00:00:00 +0000
+++ doc/zorba/xqdoc/templates/www.w3.org_2005_xpath-functions.html.OTHER	2013-06-25 17:46:30 +0000
@@ -0,0 +1,8949 @@
+<html>
+  <head>
+    <title>Documentation for http://www.w3.org/2005/xpath-functions</title>
+    <meta content="text/html; charset=utf-8" http-equiv="content-type" />
+    <meta content="public" http-equiv="CACHE-CONTROL" />
+    <meta content="-1" http-equiv="Expires" />
+    <link rel="stylesheet" type="text/css" href="styles/main.css" />
+    <link rel="stylesheet" href="styles/jquery.treeview.css" type="text/css" />
+    <script type="text/javascript" src="lib/jquery.js"></script>
+    <script type="text/javascript" src="lib/jquery.cookie.js"></script>
+    <script type="text/javascript" src="lib/jquery.treeview.js"></script>
+    <script type="text/javascript" src="lib/jquery.treeview.min.js"></script>
+    <script type="text/javascript" src="lib/shCore.js"></script>
+    <script type="text/javascript" src="lib/shBrushXQuery.js"></script>
+    <script type="text/javascript" src="lib/shBrushXml.js"></script>
+    <link type="text/css" rel="stylesheet" href="styles/shCore.css" />
+    <link type="text/css" rel="stylesheet" href="styles/shThemeDefault.css" />
+    <link type="text/css" rel="stylesheet" href="styles/shThemeXQuery.css" />
+    <script type="text/javascript">
+//
+SyntaxHighlighter.all()
+//
+</script>
+    <script type="text/javascript">
+//
+jQuery(document).ready(function() {
+$("#documentation").treeview({
+control: "#treecontrol",
+animated: "fast",
+collapsed: true,
+unique: false,
+persist: "cookie"
+});
+});
+//
+</script>
+    <script type="text/javascript" src="http://www.google.com/js/gweb/analytics/autotrack.js";></script>
+    <script type="text/javascript">
+//
+new gweb.analytics.AutoTrack({profile: 'UA-4281090-1'});
+//
+</script>
+    <style type="text/css">
+/**/
+ div.c2 {clear:both;}
+ li.c1 {width:102px !important;}
+/**/
+</style>
+  </head>
+  <body>
+    <div id="header">
+      <div class="innerheader text-left">
+        <div id="logo_container">
+          <a href="../../../../../html/index.html">
+            <img src="images/zorba_logo.png" alt="Zorba C++ XQuery Processor" />
+          </a>
+          <h1>
+            <a href="../../../../../html/index.html">Zorba</a>
+          </h1>
+          <p>
+            <a href="../../../../../html/index.html">The XQuery Processor</a>
+          </p>
+        </div>
+        <div id="innermenu" class="box">
+          <ul>
+            <li style="width:102px !important;">
+              <a href="../../../zorba/html/index.html" class="documentation">Documentation</a>
+            </li>
+            <li>
+              <a href="http://try.zorba-xquery.com"; target="_blank" class="tryzorba">Live Demo</a>
+            </li>
+            <li>
+              <a href="../../../../../html/modules.html" class="modules">Modules</a>
+            </li>
+            <li>
+              <a href="../../../../../html/downloads.html" class="download">Download</a>
+            </li>
+            <li>
+              <a href="../../../../../html/tools.html" class="tools">Tools</a>
+            </li>
+            <li>
+              <a href="../../../../../html/blog.html" class="blog">Blog</a>
+            </li>
+            <li>
+              <a href="../../../../../html/code.html" class="open">Code</a>
+            </li>
+          </ul>
+        </div>
+      </div>
+    </div>
+    <div id="main">
+      <div id="leftMenu">
+        <div id="treecontrol">
+          <a title="Collapse the entire tree below" href="#">
+            <img src="images/minus.gif" alt="minus" /> Collapse All</a>
+          <a title="Expand the entire tree below" href="#">
+            <img src="images/plus.gif" alt="plus" /> Expand All</a>
+        </div>
+        <ul id="documentation" class="treeview">
+          <ul>
+            <li>
+              <a href="index.html">All Modules</a>
+            </li>
+            <li>
+              <a href="function_index.html">All Functions</a>
+            </li>
+            <li>
+              <span>www.w3.org</span>
+              <ul>
+                <li>
+                  <span>2005</span>
+                  <ul>
+                    <li>
+                      <a href="www.w3.org_2005_xpath-functions_math.html" title="http://www.w3.org/2005/xpath-functions/math";>math</a>
+                      <sup>
+                        <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                      </sup>
+                      <sup>
+                        <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                      </sup>
+                    </li>
+                    <li>
+                      <a href="www.w3.org_2005_xpath-functions.html" title="http://www.w3.org/2005/xpath-functions";>xpath-functions</a>
+                      <sup>
+                        <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                      </sup>
+                      <sup>
+                        <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                      </sup>
+                    </li>
+                  </ul>
+                </li>
+              </ul>
+            </li>
+            <li>
+              <span>XDM</span>
+              <ul>
+                <li>
+                  <span>atomic</span>
+                  <ul>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_datetime.html" title="http://www.zorba-xquery.com/modules/datetime";>datetime</a>
+                      <sup>
+                        <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                      </sup>
+                      <sup>
+                        <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                      </sup>
+                    </li>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_math.html" title="http://www.zorba-xquery.com/modules/math";>math</a>
+                      <sup>
+                        <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                      </sup>
+                      <sup>
+                        <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                      </sup>
+                    </li>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_random.html" title="http://www.zorba-xquery.com/modules/random";>random</a>
+                      <sup>
+                        <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                      </sup>
+                      <sup>
+                        <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                      </sup>
+                    </li>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_string.html" title="http://zorba.io/modules/string";>string</a>
+                      <sup>
+                        <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                      </sup>
+                      <sup>
+                        <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                      </sup>
+                    </li>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_uri.html" title="http://www.zorba-xquery.com/modules/uri";>uri</a>
+                      <sup>
+                        <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                      </sup>
+                      <sup>
+                        <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                      </sup>
+                    </li>
+                  </ul>
+                </li>
+                <li>
+                  <span>item</span>
+                  <ul>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_schema.html" title="http://www.zorba-xquery.com/modules/schema";>schema</a>
+                      <sup>
+                        <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                      </sup>
+                      <sup>
+                        <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                      </sup>
+                    </li>
+                  </ul>
+                </li>
+                <li>
+                  <span>node</span>
+                  <ul>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_node.html" title="http://www.zorba-xquery.com/modules/node";>node</a>
+                      <sup>
+                        <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                      </sup>
+                      <sup>
+                        <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                      </sup>
+                    </li>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_node-position.html" title="http://www.zorba-xquery.com/modules/node-position";>node-position</a>
+                      <sup>
+                        <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                      </sup>
+                      <sup>
+                        <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                      </sup>
+                    </li>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_node-reference.html" title="http://www.zorba-xquery.com/modules/node-reference";>node-reference</a>
+                      <sup>
+                        <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                      </sup>
+                      <sup>
+                        <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                      </sup>
+                    </li>
+                  </ul>
+                </li>
+              </ul>
+            </li>
+            <li>
+              <span>store</span>
+              <ul>
+                <li>
+                  <span>collections</span>
+                  <ul>
+                    <li>
+                      <span>dynamic</span>
+                      <ul>
+                        <li>
+                          <a href="www.zorba-xquery.com_modules_store_dynamic_collections_ddl.html" title="http://www.zorba-xquery.com/modules/store/dynamic/collections/ddl";>ddl</a>
+                          <sup>
+                            <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                          </sup>
+                          <sup>
+                            <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                          </sup>
+                        </li>
+                        <li>
+                          <a href="www.zorba-xquery.com_modules_store_dynamic_collections_dml.html" title="http://www.zorba-xquery.com/modules/store/dynamic/collections/dml";>dml</a>
+                          <sup>
+                            <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                          </sup>
+                          <sup>
+                            <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                          </sup>
+                        </li>
+                      </ul>
+                    </li>
+                    <li>
+                      <span>static</span>
+                      <ul>
+                        <li>
+                          <a href="www.zorba-xquery.com_modules_store_static_collections_ddl.html" title="http://www.zorba-xquery.com/modules/store/static/collections/ddl";>ddl</a>
+                          <sup>
+                            <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                          </sup>
+                          <sup>
+                            <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                          </sup>
+                        </li>
+                        <li>
+                          <a href="www.zorba-xquery.com_modules_store_static_collections_dml.html" title="http://www.zorba-xquery.com/modules/store/static/collections/dml";>dml</a>
+                          <sup>
+                            <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                          </sup>
+                          <sup>
+                            <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                          </sup>
+                        </li>
+                      </ul>
+                    </li>
+                    <li>
+                      <span>w3c</span>
+                      <ul>
+                        <li>
+                          <a href="www.zorba-xquery.com_modules_store_dynamic_collections_w3c_dml.html" title="http://www.zorba-xquery.com/modules/store/dynamic/collections/w3c/dml";>dml</a>
+                          <sup>
+                            <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                          </sup>
+                        </li>
+                        <li>
+                          <a href="www.zorba-xquery.com_modules_store_dynamic_collections_w3c_ddl.html" title="http://www.zorba-xquery.com/modules/store/dynamic/collections/w3c/ddl";>ddl</a>
+                          <sup>
+                            <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                          </sup>
+                        </li>
+                      </ul>
+                    </li>
+                  </ul>
+                </li>
+                <li>
+                  <span>data structures</span>
+                  <ul>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_store_data-structures_stack.html" title="http://www.zorba-xquery.com/modules/store/data-structures/stack";>stack</a>
+                    </li>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_store_data-structures_unordered-map.html" title="http://www.zorba-xquery.com/modules/store/data-structures/unordered-map";>unordered-map</a>
+                      <sup>
+                        <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                      </sup>
+                      <sup>
+                        <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                      </sup>
+                    </li>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_store_data-structures_queue.html" title="http://www.zorba-xquery.com/modules/store/data-structures/queue";>queue</a>
+                    </li>
+                  </ul>
+                </li>
+                <li>
+                  <span>documents</span>
+                  <ul>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_store_dynamic_documents.html" title="http://www.zorba-xquery.com/modules/store/dynamic/documents";>documents</a>
+                      <sup>
+                        <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                      </sup>
+                      <sup>
+                        <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                      </sup>
+                    </li>
+                  </ul>
+                </li>
+                <li>
+                  <span>indexes</span>
+                  <ul>
+                    <li>
+                      <span>static</span>
+                      <ul>
+                        <li>
+                          <a href="www.zorba-xquery.com_modules_store_static_indexes_ddl.html" title="http://www.zorba-xquery.com/modules/store/static/indexes/ddl";>ddl</a>
+                          <sup>
+                            <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                          </sup>
+                          <sup>
+                            <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                          </sup>
+                        </li>
+                        <li>
+                          <a href="www.zorba-xquery.com_modules_store_static_indexes_dml.html" title="http://www.zorba-xquery.com/modules/store/static/indexes/dml";>dml</a>
+                          <sup>
+                            <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                          </sup>
+                          <sup>
+                            <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                          </sup>
+                        </li>
+                      </ul>
+                    </li>
+                  </ul>
+                </li>
+                <li>
+                  <span>integrity constraints</span>
+                  <ul>
+                    <li>
+                      <span>static</span>
+                      <ul>
+                        <li>
+                          <a href="www.zorba-xquery.com_modules_store_static_integrity_constraints_ddl.html" title="http://www.zorba-xquery.com/modules/store/static/integrity_constraints/ddl";>ddl</a>
+                          <sup>
+                            <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                          </sup>
+                          <sup>
+                            <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                          </sup>
+                        </li>
+                        <li>
+                          <a href="www.zorba-xquery.com_modules_store_static_integrity_constraints_dml.html" title="http://www.zorba-xquery.com/modules/store/static/integrity_constraints/dml";>dml</a>
+                          <sup>
+                            <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                          </sup>
+                          <sup>
+                            <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                          </sup>
+                        </li>
+                      </ul>
+                    </li>
+                  </ul>
+                </li>
+              </ul>
+            </li>
+            <li>
+              <span>introspection</span>
+              <ul>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_introspection_sctx.html" title="http://www.zorba-xquery.com/modules/introspection/sctx";>sctx</a>
+                  <sup>
+                    <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                  </sup>
+                  <sup>
+                    <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                  </sup>
+                </li>
+              </ul>
+            </li>
+            <li>
+              <span>reflection</span>
+              <ul>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_reflection.html" title="http://www.zorba-xquery.com/modules/reflection";>reflection</a>
+                  <sup>
+                    <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                  </sup>
+                  <sup>
+                    <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                  </sup>
+                </li>
+              </ul>
+            </li>
+            <li>
+              <span>external</span>
+              <ul>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_fetch.html" title="http://www.zorba-xquery.com/modules/fetch";>fetch</a>
+                  <sup>
+                    <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                  </sup>
+                  <sup>
+                    <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                  </sup>
+                </li>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_http-client.html" title="http://www.zorba-xquery.com/modules/http-client";>http-client</a>
+                  <sup>
+                    <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                  </sup>
+                  <sup>
+                    <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                  </sup>
+                </li>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_process.html" title="http://www.zorba-xquery.com/modules/process";>process</a>
+                  <sup>
+                    <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                  </sup>
+                </li>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_system.html" title="http://www.zorba-xquery.com/modules/system";>system</a>
+                  <sup>
+                    <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                  </sup>
+                </li>
+              </ul>
+            </li>
+            <li>
+              <span>xqdoc</span>
+              <ul>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_xqdoc.html" title="http://www.zorba-xquery.com/modules/xqdoc";>xqdoc</a>
+                  <sup>
+                    <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                  </sup>
+                  <sup>
+                    <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                  </sup>
+                </li>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_project_xqdoc.html" title="http://www.zorba-xquery.com/modules/project_xqdoc";>project_xqdoc</a>
+                  <sup>
+                    <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                  </sup>
+                </li>
+                <li>
+                  <span>xqdoc2xhtml</span>
+                  <ul>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_xqdoc2xhtml_index.html" title="http://www.zorba-xquery.com/modules/xqdoc2xhtml/";>xqdoc2xhtml</a>
+                      <sup>
+                        <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                      </sup>
+                    </li>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_xqdoc2xhtml_error.html" title="http://www.zorba-xquery.com/modules/xqdoc2xhtml/error";>error</a>
+                      <sup>
+                        <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                      </sup>
+                    </li>
+                  </ul>
+                </li>
+              </ul>
+            </li>
+            <li>
+              <span>data processing</span>
+              <ul>
+                <li>
+                  <span>data cleaning</span>
+                  <ul>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_data-cleaning_character-based-string-similarity.html" title="http://www.zorba-xquery.com/modules/data-cleaning/character-based-string-similarity";>character-based-string-similarity</a>
+                    </li>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_data-cleaning_consolidation.html" title="http://www.zorba-xquery.com/modules/data-cleaning/consolidation";>consolidation</a>
+                    </li>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_data-cleaning_conversion.html" title="http://www.zorba-xquery.com/modules/data-cleaning/conversion";>conversion</a>
+                    </li>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_data-cleaning_hybrid-string-similarity.html" title="http://www.zorba-xquery.com/modules/data-cleaning/hybrid-string-similarity";>hybrid-string-similarity</a>
+                    </li>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_data-cleaning_normalization.html" title="http://www.zorba-xquery.com/modules/data-cleaning/normalization";>normalization</a>
+                    </li>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_data-cleaning_phonetic-string-similarity.html" title="http://www.zorba-xquery.com/modules/data-cleaning/phonetic-string-similarity";>phonetic-string-similarity</a>
+                    </li>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_data-cleaning_set-similarity.html" title="http://www.zorba-xquery.com/modules/data-cleaning/set-similarity";>set-similarity</a>
+                    </li>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_data-cleaning_token-based-string-similarity.html" title="http://www.zorba-xquery.com/modules/data-cleaning/token-based-string-similarity";>token-based-string-similarity</a>
+                    </li>
+                  </ul>
+                </li>
+                <li>
+                  <span>data converters</span>
+                  <ul>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_converters_base64.html" title="http://www.zorba-xquery.com/modules/converters/base64";>base64</a>
+                      <sup>
+                        <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                      </sup>
+                      <sup>
+                        <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                      </sup>
+                    </li>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_converters_json.html" title="http://www.zorba-xquery.com/modules/converters/json";>json</a>
+                      <sup>
+                        <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                      </sup>
+                      <sup>
+                        <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                      </sup>
+                    </li>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_xml.html" title="http://www.zorba-xquery.com/modules/xml";>xml</a>
+                      <sup>
+                        <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                      </sup>
+                      <sup>
+                        <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                      </sup>
+                    </li>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_converters_csv.html" title="http://www.zorba-xquery.com/modules/converters/csv";>csv</a>
+                      <sup>
+                        <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                      </sup>
+                    </li>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_converters_html.html" title="http://www.zorba-xquery.com/modules/converters/html";>html</a>
+                      <sup>
+                        <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                      </sup>
+                    </li>
+                  </ul>
+                </li>
+              </ul>
+            </li>
+            <li>
+              <span>programming languages</span>
+              <ul>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_languages_xslt.html" title="http://www.zorba-xquery.com/modules/languages/xslt";>xslt</a>
+                  <sup>
+                    <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                  </sup>
+                </li>
+                <li>
+                  <span>xquery</span>
+                  <ul>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_xqxq.html" title="http://www.zorba-xquery.com/modules/xqxq";>xqxq</a>
+                      <sup>
+                        <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                      </sup>
+                    </li>
+                  </ul>
+                </li>
+              </ul>
+            </li>
+            <li>
+              <span>excel</span>
+              <ul>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_excel_information.html" title="http://www.zorba-xquery.com/modules/excel/information";>information</a>
+                </li>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_excel_text.html" title="http://www.zorba-xquery.com/modules/excel/text";>text</a>
+                </li>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_excel_statistical-zorba.html" title="http://www.zorba-xquery.com/modules/excel/statistical-zorba";>statistical-zorba</a>
+                </li>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_excel_statistical.html" title="http://www.zorba-xquery.com/modules/excel/statistical";>statistical</a>
+                </li>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_excel_math-sumproduct.html" title="http://www.zorba-xquery.com/modules/excel/math-sumproduct";>math-sumproduct</a>
+                </li>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_excel_math.html" title="http://www.zorba-xquery.com/modules/excel/math";>math</a>
+                </li>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_excel_lookup.html" title="http://www.zorba-xquery.com/modules/excel/lookup";>lookup</a>
+                </li>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_excel_logical.html" title="http://www.zorba-xquery.com/modules/excel/logical";>logical</a>
+                </li>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_excel_engineering.html" title="http://www.zorba-xquery.com/modules/excel/engineering";>engineering</a>
+                </li>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_excel_datetime.html" title="http://www.zorba-xquery.com/modules/excel/datetime";>datetime</a>
+                </li>
+              </ul>
+            </li>
+            <li>
+              <span>cryptography</span>
+              <ul>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_cryptography_hash.html" title="http://www.zorba-xquery.com/modules/cryptography/hash";>hash</a>
+                  <sup>
+                    <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                  </sup>
+                </li>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_cryptography_hmac.html" title="http://www.zorba-xquery.com/modules/cryptography/hmac";>hmac</a>
+                  <sup>
+                    <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                  </sup>
+                </li>
+              </ul>
+            </li>
+            <li>
+              <span>geo</span>
+              <ul>
+                <li>
+                  <a href="expath.org_ns_geo.html" title="http://expath.org/ns/geo";>geo</a>
+                  <sup>
+                    <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                  </sup>
+                </li>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_geoproj.html" title="http://www.zorba-xquery.com/modules/geoproj";>geoproj</a>
+                </li>
+              </ul>
+            </li>
+            <li>
+              <span>image</span>
+              <ul>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_image_paint.html" title="http://www.zorba-xquery.com/modules/image/paint";>paint</a>
+                  <sup>
+                    <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                  </sup>
+                </li>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_image_manipulation.html" title="http://www.zorba-xquery.com/modules/image/manipulation";>manipulation</a>
+                  <sup>
+                    <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                  </sup>
+                </li>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_image_graphviz.html" title="http://www.zorba-xquery.com/modules/image/graphviz";>graphviz</a>
+                  <sup>
+                    <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                  </sup>
+                </li>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_image_basic.html" title="http://www.zorba-xquery.com/modules/image/basic";>basic</a>
+                  <sup>
+                    <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                  </sup>
+                </li>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_image_animation.html" title="http://www.zorba-xquery.com/modules/image/animation";>animation</a>
+                  <sup>
+                    <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                  </sup>
+                </li>
+              </ul>
+            </li>
+            <li>
+              <span>OAuth</span>
+              <ul>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_oauth_error.html" title="http://www.zorba-xquery.com/modules/oauth/error";>error</a>
+                </li>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_oauth_client.html" title="http://www.zorba-xquery.com/modules/oauth/client";>client</a>
+                </li>
+              </ul>
+            </li>
+            <li>
+              <span>expath.org</span>
+              <ul>
+                <li>
+                  <a href="expath.org_ns_http-client.html" title="http://expath.org/ns/http-client";>http-client</a>
+                </li>
+                <li>
+                  <a href="expath.org_ns_error.html" title="http://expath.org/ns/error";>error</a>
+                  <sup>
+                    <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                  </sup>
+                </li>
+                <li>
+                  <span>ns</span>
+                  <ul>
+                    <li>
+                      <a href="expath.org_ns_file.html" title="http://expath.org/ns/file";>file</a>
+                      <sup>
+                        <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                      </sup>
+                      <sup>
+                        <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                      </sup>
+                    </li>
+                  </ul>
+                </li>
+              </ul>
+            </li>
+            <li>
+              <span>www.functx.com</span>
+              <ul>
+                <li>
+                  <a href="www.functx.com_index.html" title="http://www.functx.com/";>www.functx.com</a>
+                  <sup>
+                    <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                  </sup>
+                </li>
+              </ul>
+            </li>
+            <li>
+              <span>debugger</span>
+              <ul>
+                <li>
+                  <a href="www.zorba-xquery.com_modules_debugger_dbgp-message-handler.html" title="http://www.zorba-xquery.com/modules/debugger/dbgp-message-handler";>dbgp-message-handler</a>
+                  <sup>
+                    <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                  </sup>
+                </li>
+              </ul>
+            </li>
+            <li>
+              <span>error</span>
+              <ul>
+                <li>
+                  <a href="jsoniq.org_errors.html" title="http://jsoniq.org/errors";>errors</a>
+                  <sup>
+                    <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                  </sup>
+                </li>
+                <li>
+                  <a href="www.w3.org_2005_xqt-errors.html" title="http://www.w3.org/2005/xqt-errors";>xqt-errors</a>
+                  <sup>
+                    <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                  </sup>
+                </li>
+                <li>
+                  <a href="www.zorba-xquery.com_errors.html" title="http://www.zorba-xquery.com/errors";>errors</a>
+                  <sup>
+                    <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                  </sup>
+                </li>
+                <li>
+                  <a href="www.zorba-xquery.com_warnings.html" title="http://www.zorba-xquery.com/warnings";>warnings</a>
+                  <sup>
+                    <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                  </sup>
+                </li>
+              </ul>
+            </li>
+            <li>
+              <span>utils</span>
+              <ul>
+                <li>
+                  <span>util jvm</span>
+                  <ul>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_util-jvm.html" title="http://www.zorba-xquery.com/modules/util-jvm";>util-jvm</a>
+                    </li>
+                  </ul>
+                </li>
+              </ul>
+            </li>
+            <li>
+              <span>jsoniq.org</span>
+              <ul>
+                <li>
+                  <a href="jsoniq.org_functions.html" title="http://jsoniq.org/functions";>functions</a>
+                  <sup>
+                    <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                  </sup>
+                  <sup>
+                    <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                  </sup>
+                </li>
+              </ul>
+            </li>
+            <li>
+              <span>www.zorba-xquery.com</span>
+              <ul>
+                <li>
+                  <span>modules</span>
+                  <ul>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_archive.html" title="http://www.zorba-xquery.com/modules/archive";>archive</a>
+                      <sup>
+                        <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                      </sup>
+                    </li>
+                    <li>
+                      <a href="www.zorba-xquery.com_modules_full-text.html" title="http://www.zorba-xquery.com/modules/full-text";>full-text</a>
+                      <sup>
+                        <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
+                      </sup>
+                      <sup>
+                        <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+                      </sup>
+                    </li>
+                  </ul>
+                </li>
+              </ul>
+            </li>
+          </ul>
+        </ul>
+      </div>
+      <div id="rightcontent">
+        <h1>http://www.w3.org/2005/xpath-functions<sup>
+            <img src="images/ZCsmall.gif" alt="ZC" title="This module is part of Zorba core." />
+          </sup>
+        </h1>
+        <div class="section">
+          <span id="module_description">Module Description</span>
+        </div>
+        <span>Before using any of the functions below please remember to import the module namespace:
+      <pre class="brush: xquery;">import module namespace fn = "http://www.w3.org/2005/xpath-functions";;</pre>
+        </span>
+        <p> This module contains all the functions specified in the
+ W3C XPath and XQuery Functions and Operators 3.0.
+</p>
+        <div class="subsubsection">Author:</div>
+        <p class="annotationText">www.w3c.org</p>
+        <div class="section">
+          <span id="module_resources">Module Resources</span>
+        </div>
+        <ul>
+          <li>the XQuery module can be found <a href="modules/www.w3.org_2005_xpath-functions.html" target="_blank">here</a>.</li>
+        </ul>
+        <div class="section">
+          <span id="external_specifications">Related Documentation</span>
+        </div>
+        <p>For more details please also see:<ul>
+            <li>
+              <a href="http://www.w3.org/TR/xpath-functions-30/"; target="_blank">http://www.w3.org/TR/xpath-functions-30/</a>
+            </li>
+          </ul>
+        </p>
+        <div class="section">
+          <span id="function_summary">Function Summary</span>
+        </div>
+        <table class="funclist">
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#QName-2" title=".">QName</a>
+                </span> (
+            $paramURI as xs:string?,
+            $paramQName as xs:string
+) as xs:QName<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#abs-1" title=".">abs</a>
+                </span> (
+            $arg as numeric?
+) as numeric?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#adjust-date-to-timezone-1" title=".">adjust-date-to-timezone</a>
+                </span> (
+            $arg as xs:date?
+) as xs:date?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#adjust-date-to-timezone-2" title=".">adjust-date-to-timezone</a>
+                </span> (
+            $arg as xs:date?,
+            $timezone as xs:dayTimeDuration?
+) as xs:date?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#adjust-dateTime-to-timezone-1" title=".">adjust-dateTime-to-timezone</a>
+                </span> (
+            $arg as xs:dateTime?
+) as xs:dateTime<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#adjust-dateTime-to-timezone-2" title=".">adjust-dateTime-to-timezone</a>
+                </span> (
+            $arg as xs:dateTime?,
+            $timezone as xs:dayTimeDuration?
+) as xs:dateTime<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#adjust-time-to-timezone-1" title=".">adjust-time-to-timezone</a>
+                </span> (
+            $arg as xs:time?
+) as xs:time?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#adjust-time-to-timezone-2" title=".">adjust-time-to-timezone</a>
+                </span> (
+            $arg as xs:time?,
+            $timezone as xs:dayTimeDuration?
+) as xs:time?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#analyze-string-2" title=".">analyze-string</a>
+                </span> (
+            $input as xs:string?,
+            $pattern as xs:string
+) as element(fn:analyze-string-result)<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#analyze-string-3" title=".">analyze-string</a>
+                </span> (
+            $input as xs:string?,
+            $pattern as xs:string,
+            $flags as xs:string
+) as element(fn:analyze-string-result)<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#available-environment-variables-0" title=".">available-environment-variables</a>
+                </span> (
+
+) as xs:string*<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#available-environment-variables-0" title=".">available-environment-variables</a>
+                </span> (
+
+) as xs:string*<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#avg-1" title=".">avg</a>
+                </span> (
+            $arg as xs:anyAtomicType*
+) as xs:anyAtomicType?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#base-uri-0" title=".">base-uri</a>
+                </span> (
+
+) as xs:anyURI?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#base-uri-1" title=".">base-uri</a>
+                </span> (
+            $arg as node()?
+) as xs:anyURI?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#boolean-1" title=".">boolean</a>
+                </span> (
+            $arg as item()*
+) as xs:boolean<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#ceiling-1" title=".">ceiling</a>
+                </span> (
+            $arg as numeric?
+) as numeric?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#codepoint-equal-2" title=".">codepoint-equal</a>
+                </span> (
+            $comparand1 as xs:string?,
+            $comparand2 as xs:string?
+) as xs:boolean?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#codepoints-to-string-1" title=".">codepoints-to-string</a>
+                </span> (
+            $arg as xs:integer*
+) as xs:string<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#codepoints-to-string-1" title=".">codepoints-to-string</a>
+                </span> (
+            $arg as xs:integer*
+) as xs:string<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#collection-0" title=".">collection</a>
+                </span> (
+
+) as node()*<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#collection-1" title=".">collection</a>
+                </span> (
+            $arg as xs:string?
+) as node()*<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#compare-2" title=".">compare</a>
+                </span> (
+            $comparand1 as xs:string?,
+            $comparand2 as xs:string?
+) as xs:integer?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#compare-3" title=".">compare</a>
+                </span> (
+            $comparand1 as xs:string?,
+            $comparand2 as xs:string?,
+            $collation as xs:string
+) as xs:integer?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#concat-2" title=".">concat</a>
+                </span> (
+            $arg1 as xs:anyAtomicType?,
+            $arg2 as xs:anyAtomicType?
+) as xs:string<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#contains-2" title=".">contains</a>
+                </span> (
+            $arg1 as xs:string?,
+            $arg2 as xs:string?
+) as xs:boolean<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#contains-3" title=".">contains</a>
+                </span> (
+            $arg1 as xs:string?,
+            $arg2 as xs:string?,
+            $collation as xs:string
+) as xs:boolean<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#count-1" title=".">count</a>
+                </span> (
+            $arg as item()*
+) as xs:integer<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#current-date-0" title=".">current-date</a>
+                </span> (
+
+) as xs:date<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#current-dateTime-0" title=".">current-dateTime</a>
+                </span> (
+
+) as xs:dateTimeStamp<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#current-time-0" title=".">current-time</a>
+                </span> (
+
+) as xs:time<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#data-0" title=".">data</a>
+                </span> (
+
+) as xs:anyAtomicType*<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#data-1" title=".">data</a>
+                </span> (
+            $arg as item()*
+) as xs:anyAtomicType*<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#dateTime-2" title=".">dateTime</a>
+                </span> (
+            $arg1 as xs:date?,
+            $arg2 as xs:time?
+) as xs:dateTime?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#day-from-date-1" title=".">day-from-date</a>
+                </span> (
+            $arg as xs:date?
+) as xs:integer?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#days-from-duration-1" title=".">days-from-duration</a>
+                </span> (
+            $arg as xs:duration?
+) as xs:integer?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#deep-equal-2" title=".">deep-equal</a>
+                </span> (
+            $parameter1 as item()*,
+            $parameter2 as item()*
+) as xs:boolean<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#deep-equal-3" title=".">deep-equal</a>
+                </span> (
+            $parameter1 as item()*,
+            $parameter2 as item()*,
+            $collation as xs:string
+) as xs:boolean<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#default-collation-0" title=".">default-collation</a>
+                </span> (
+
+) as xs:string<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#distinct-values-1" title=".">distinct-values</a>
+                </span> (
+            $arg as xs:anyAtomicType*
+) as xs:anyAtomicType*<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#distinct-values-2" title=".">distinct-values</a>
+                </span> (
+            $arg as xs:anyAtomicType*,
+            $collation as xs:string
+) as xs:anyAtomicType*<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#doc-1" title=".">doc</a>
+                </span> (
+            $uri as xs:string?
+) as document()?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#doc-available-1" title=".">doc-available</a>
+                </span> (
+            $uri as xs:string?
+) as xs:boolean<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#document-uri-0" title=".">document-uri</a>
+                </span> (
+
+) as xs:anyURI?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#document-uri-1" title=".">document-uri</a>
+                </span> (
+            $arg as node()?
+) as xs:anyURI?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#element-with-id-1" title=".">element-with-id</a>
+                </span> (
+            $arg as xs:string*
+) as element(*)*<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#element-with-id-2" title=".">element-with-id</a>
+                </span> (
+            $arg as xs:string*,
+            $node as node()
+) as element(*)*<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#empty-1" title=".">empty</a>
+                </span> (
+            $arg as item()*
+) as xs:boolean<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#encode-for-uri-1" title=".">encode-for-uri</a>
+                </span> (
+            $uri-part as xs:string?
+) as xs:string<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#ends-with-2" title=".">ends-with</a>
+                </span> (
+            $arg1 as xs:string?,
+            $arg2 as xs:string?
+) as xs:boolean<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#ends-with-3" title=".">ends-with</a>
+                </span> (
+            $arg1 as xs:string?,
+            $arg2 as xs:string?,
+            $collation as xs:string
+) as xs:boolean<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#environment-variable-1" title=".">environment-variable</a>
+                </span> (
+            $arg as xs:string
+) as xs:string?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#environment-variable-1" title=".">environment-variable</a>
+                </span> (
+            $name as xs:string
+) as xs:string?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#error-0" title=".">error</a>
+                </span> (
+
+) as none<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#error-1" title=".">error</a>
+                </span> (
+            $code as xs:QName
+) as none<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#error-2" title=".">error</a>
+                </span> (
+            $code as xs:QName?,
+            $description as xs:string
+) as none<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#error-3" title=".">error</a>
+                </span> (
+            $code as xs:QName?,
+            $description as xs:string,
+            $error-object as item()*
+) as none<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#escape-html-uri-1" title=".">escape-html-uri</a>
+                </span> (
+            $uri as xs:string?
+) as xs:string<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#exactly-one-1" title=".">exactly-one</a>
+                </span> (
+            $arg as item()*
+) as item()<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#exists-1" title=".">exists</a>
+                </span> (
+            $arg as item()*
+) as xs:boolean<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#false-0" title=".">false</a>
+                </span> (
+
+) as xs:boolean<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#filter-2" title=".">filter</a>
+                </span> (
+            $f as function (item()) as xs:boolean,
+            $seq as item()*
+) as item()*<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#floor-1" title=".">floor</a>
+                </span> (
+            $arg as numeric?
+) as numeric?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#fold-left-3" title=".">fold-left</a>
+                </span> (
+            $f as function (item()*, item()) as item()*,
+            $zero as item()*,
+            $seq as item()*
+) as item()*<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#fold-right-3" title=".">fold-right</a>
+                </span> (
+            $f as function (item(), item()*) as item()*,
+            $zero as item()*,
+            $seq as item()*
+) as item()*<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#format-date-2" title=".">format-date</a>
+                </span> (
+            $value as xs:date?,
+            $picture as xs:string
+) as xs:string?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#format-date-5" title=".">format-date</a>
+                </span> (
+            $value as xs:date?,
+            $picture as xs:string,
+            $language as xs:string?,
+            $calendar as xs:string?,
+            $place as xs:string?
+) as xs:string?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#format-dateTime-2" title=".">format-dateTime</a>
+                </span> (
+            $value as xs:dateTime?,
+            $picture as xs:string
+) as xs:string?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#format-dateTime-5" title=".">format-dateTime</a>
+                </span> (
+            $value as xs:dateTime?,
+            $picture as xs:string,
+            $language as xs:string?,
+            $calendar as xs:string?,
+            $place as xs:string?
+) as xs:string?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#format-integer-2" title=".">format-integer</a>
+                </span> (
+            $value as xs:integer?,
+            $picture as xs:string
+) as xs:string<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#format-integer-3" title=".">format-integer</a>
+                </span> (
+            $value as xs:integer?,
+            $picture as xs:string,
+            $language as xs:string
+) as xs:string<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#format-number-2" title=".">format-number</a>
+                </span> (
+            $value as numeric?,
+            $picture as xs:string
+) as xs:string<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#format-number-3" title=".">format-number</a>
+                </span> (
+            $value as numeric?,
+            $picture as xs:string,
+            $decimal-format-name as xs:string
+) as xs:string<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#format-time-2" title=".">format-time</a>
+                </span> (
+            $value as xs:time?,
+            $picture as xs:string
+) as xs:string?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#format-time-5" title=".">format-time</a>
+                </span> (
+            $value as xs:time?,
+            $picture as xs:string,
+            $language as xs:string?,
+            $calendar as xs:string?,
+            $place as xs:string?
+) as xs:string?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#function-arity-1" title=".">function-arity</a>
+                </span> (
+            $func as function (*)
+) as xs:integer<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#generate-id-0" title=".">generate-id</a>
+                </span> (
+
+) as xs:string<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#generate-id-1" title=".">generate-id</a>
+                </span> (
+            $arg as node()?
+) as xs:string<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#has-children-0" title=".">has-children</a>
+                </span> (
+
+) as xs:boolean<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#has-children-1" title=".">has-children</a>
+                </span> (
+            $node as node()?
+) as xs:boolean<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#head-1" title=".">head</a>
+                </span> (
+            $arg as item()*
+) as item()?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#hours-from-duration-1" title=".">hours-from-duration</a>
+                </span> (
+            $arg as xs:duration?
+) as xs:integer?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#hours-from-time-1" title=".">hours-from-time</a>
+                </span> (
+            $arg as xs:time?
+) as xs:integer?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#id-1" title=".">id</a>
+                </span> (
+            $arg as xs:string*
+) as element(*)*<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#id-2" title=".">id</a>
+                </span> (
+            $arg as xs:string*,
+            $node as node()
+) as element(*)*<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#idref-1" title=".">idref</a>
+                </span> (
+            $arg as xs:string*
+) as node()*<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#idref-2" title=".">idref</a>
+                </span> (
+            $arg as xs:string*,
+            $node as node()
+) as node()*<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#implicit-timezone-0" title=".">implicit-timezone</a>
+                </span> (
+
+) as xs:dayTimeDuration<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#in-scope-prefixes-1" title=".">in-scope-prefixes</a>
+                </span> (
+            $element as element(*)
+) as xs:string*<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#index-of-2" title=".">index-of</a>
+                </span> (
+            $seq as xs:anyAtomicType*,
+            $search as xs:anyAtomicType
+) as xs:integer*<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#index-of-3" title=".">index-of</a>
+                </span> (
+            $seq as xs:anyAtomicType*,
+            $search as xs:anyAtomicType,
+            $collation as xs:string
+) as xs:integer*<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#innermost-1" title=".">innermost</a>
+                </span> (
+            $nodes as node()*
+) as node()*<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#insert-before-3" title=".">insert-before</a>
+                </span> (
+            $target as item()*,
+            $position as xs:integer,
+            $inserts as item()*
+) as item()*<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#iri-to-uri-1" title=".">iri-to-uri</a>
+                </span> (
+            $iri as xs:string?
+) as xs:string<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#lang-1" title=".">lang</a>
+                </span> (
+            $testlang as xs:string?
+) as xs:boolean<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#lang-2" title=".">lang</a>
+                </span> (
+            $testlang as xs:string?,
+            $node as node()
+) as xs:boolean<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#last-0" title=".">last</a>
+                </span> (
+
+) as xs:integer<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#local-name-0" title=".">local-name</a>
+                </span> (
+
+) as xs:string<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#local-name-1" title=".">local-name</a>
+                </span> (
+            $arg as node()?
+) as xs:string<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#local-name-from-QName-1" title=".">local-name-from-QName</a>
+                </span> (
+            $arg as xs:QName?
+) as xs:NCName?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#lower-case-1" title=".">lower-case</a>
+                </span> (
+            $arg as xs:string?
+) as xs:string<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#map-2" title=".">map</a>
+                </span> (
+            $f as function (item()) as item()*,
+            $seq as item()*
+) as item()*<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#map-pairs-3" title=".">map-pairs</a>
+                </span> (
+            $f as function (item(), item()) as item()*,
+            $seq1 as item()*,
+            $seq2 as item()*
+) as item()*<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#matches-2" title=".">matches</a>
+                </span> (
+            $input as xs:string?,
+            $pattern as xs:string
+) as xs:boolean<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#matches-3" title=".">matches</a>
+                </span> (
+            $input as xs:string?,
+            $pattern as xs:string,
+            $flags as xs:string
+) as xs:boolean<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#max-1" title=".">max</a>
+                </span> (
+            $arg as xs:anyAtomicType*
+) as xs:anyAtomicType?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#max-2" title=".">max</a>
+                </span> (
+            $arg as xs:anyAtomicType*,
+            $collation as xs:string
+) as xs:anyAtomicType?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#min-1" title=".">min</a>
+                </span> (
+            $arg as xs:anyAtomicType*
+) as xs:anyAtomicType?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#min-2" title=".">min</a>
+                </span> (
+            $arg as xs:anyAtomicType*,
+            $collation as xs:string
+) as xs:anyAtomicType?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#minutes-from-dateTime-1" title=".">minutes-from-dateTime</a>
+                </span> (
+            $arg as xs:dateTime?
+) as xs:integer?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#minutes-from-duration-1" title=".">minutes-from-duration</a>
+                </span> (
+            $arg as xs:duration?
+) as xs:integer?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#minutes-from-time-1" title=".">minutes-from-time</a>
+                </span> (
+            $arg as xs:time?
+) as xs:integer?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#month-from-date-1" title=".">month-from-date</a>
+                </span> (
+            $arg as xs:date?
+) as xs:integer?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#months-from-duration-1" title=".">months-from-duration</a>
+                </span> (
+            $arg as xs:duration?
+) as xs:integer?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#name-0" title=".">name</a>
+                </span> (
+
+) as xs:string<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#name-1" title=".">name</a>
+                </span> (
+            $arg as node()?
+) as xs:string<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#namespace-uri-0" title=".">namespace-uri</a>
+                </span> (
+
+) as xs:anyURI<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#namespace-uri-1" title=".">namespace-uri</a>
+                </span> (
+            $arg as node()?
+) as xs:anyURI<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#namespace-uri-for-prefix-2" title=".">namespace-uri-for-prefix</a>
+                </span> (
+            $prefix as xs:string?,
+            $element as element(*)
+) as xs:anyURI?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#namespace-uri-from-QName-1" title=".">namespace-uri-from-QName</a>
+                </span> (
+            $arg as xs:QName?
+) as xs:anyURI?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#nilled-0" title=".">nilled</a>
+                </span> (
+
+) as xs:boolean<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#nilled-1" title=".">nilled</a>
+                </span> (
+            $arg as node()?
+) as xs:boolean?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#node-name-0" title=".">node-name</a>
+                </span> (
+
+) as xs:QName?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#node-name-1" title=".">node-name</a>
+                </span> (
+            $arg as node()?
+) as xs:QName?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#normalize-space-0" title=".">normalize-space</a>
+                </span> (
+
+) as xs:string<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#normalize-space-1" title=".">normalize-space</a>
+                </span> (
+            $arg as xs:string?
+) as xs:string<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#normalize-unicode-1" title=".">normalize-unicode</a>
+                </span> (
+            $arg as xs:string?
+) as xs:string<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#normalize-unicode-2" title=".">normalize-unicode</a>
+                </span> (
+            $arg as xs:string?,
+            $normalizationForm as xs:string
+) as xs:string<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#not-1" title=".">not</a>
+                </span> (
+            $arg as item()*
+) as xs:boolean<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#number-0" title=".">number</a>
+                </span> (
+
+) as xs:double<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#number-1" title=".">number</a>
+                </span> (
+            $arg as xs:anyAtomicType?
+) as xs:double<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#one-or-more-1" title=".">one-or-more</a>
+                </span> (
+            $arg as item()*
+) as item()+<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#outermost-1" title=".">outermost</a>
+                </span> (
+            $nodes as node()*
+) as node()*<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#parse-xml-1" title=".">parse-xml</a>
+                </span> (
+            $arg as xs:string?
+) as document(element(*,xs:untyped))<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#parse-xml-2" title=".">parse-xml</a>
+                </span> (
+            $arg as xs:string?,
+            $baseURI as xs:string
+) as document(element(*,xs:untyped))<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#parse-xml-fragment-1" title=".">parse-xml-fragment</a>
+                </span> (
+            $arg as xs:string?
+) as document(element(*,xs:untyped))<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#position-0" title=".">position</a>
+                </span> (
+
+) as xs:integer<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#prefix-from-QName-1" title=".">prefix-from-QName</a>
+                </span> (
+            $arg as xs:QName?
+) as xs:NCName?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#remove-2" title=".">remove</a>
+                </span> (
+            $target as item()*,
+            $position as xs:integer
+) as item()*<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#replace-3" title=".">replace</a>
+                </span> (
+            $input as xs:string?,
+            $pattern as xs:string,
+            $replacement as xs:string
+) as xs:string<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#replace-4" title=".">replace</a>
+                </span> (
+            $input as xs:string?,
+            $pattern as xs:string,
+            $replacement as xs:string,
+            $flags as xs:string
+) as xs:string<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#resolve-QName-2" title=".">resolve-QName</a>
+                </span> (
+            $qname as xs:string?,
+            $element as element(*)
+) as xs:QName?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#resolve-uri-1" title=".">resolve-uri</a>
+                </span> (
+            $relative as xs:string?
+) as xs:anyURI?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#resolve-uri-2" title=".">resolve-uri</a>
+                </span> (
+            $relative as xs:string?,
+            $base as xs:string
+) as xs:anyURI?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#reverse-1" title=".">reverse</a>
+                </span> (
+            $arg as item()*
+) as item()*<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#root-0" title=".">root</a>
+                </span> (
+
+) as node()<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#root-1" title=".">root</a>
+                </span> (
+            $arg as node()?
+) as node()?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#round-1" title=".">round</a>
+                </span> (
+            $arg as numeric?
+) as numeric?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#round-2" title=".">round</a>
+                </span> (
+            $arg as numeric?,
+            $precision as xs:integer
+) as numeric?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#round-half-to-even-1" title=".">round-half-to-even</a>
+                </span> (
+            $arg as numeric?
+) as numeric?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#round-half-to-even-2" title=".">round-half-to-even</a>
+                </span> (
+            $arg as numeric?,
+            $precision as xs:integer
+) as numeric?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#seconds-from-dateTime-1" title=".">seconds-from-dateTime</a>
+                </span> (
+            $arg as xs:dateTime?
+) as xs:decimal?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#seconds-from-duration-1" title=".">seconds-from-duration</a>
+                </span> (
+            $arg as xs:duration?
+) as xs:decimal?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#seconds-from-time-1" title=".">seconds-from-time</a>
+                </span> (
+            $arg as xs:time?
+) as xs:decimal?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#serialize-1" title=".">serialize</a>
+                </span> (
+            $arg as item()*
+) as xs:string<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#serialize-2" title=".">serialize</a>
+                </span> (
+            $arg as item()*,
+            $params as element(output:serialization-parameters)?
+) as xs:string<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#starts-with-2" title=".">starts-with</a>
+                </span> (
+            $arg1 as xs:string?,
+            $arg2 as xs:string?
+) as xs:boolean<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#starts-with-3" title=".">starts-with</a>
+                </span> (
+            $arg1 as xs:string?,
+            $arg2 as xs:string?,
+            $collation as xs:string
+) as xs:boolean<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#static-base-uri-0" title=".">static-base-uri</a>
+                </span> (
+
+) as xs:anyURI?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#string-0" title=".">string</a>
+                </span> (
+
+) as xs:string<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#string-1" title=".">string</a>
+                </span> (
+            $arg as item()?
+) as xs:string<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#string-join-1" title=".">string-join</a>
+                </span> (
+            $arg1 as xs:string*
+) as xs:string<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#string-join-2" title=".">string-join</a>
+                </span> (
+            $arg1 as xs:string*,
+            $arg2 as xs:string
+) as xs:string<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#string-length-0" title=".">string-length</a>
+                </span> (
+
+) as xs:integer<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#string-length-1" title=".">string-length</a>
+                </span> (
+            $arg as xs:string?
+) as xs:integer<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#string-to-codepoints-1" title=".">string-to-codepoints</a>
+                </span> (
+            $arg as xs:string?
+) as xs:integer*<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#string-to-codepoints-1" title=".">string-to-codepoints</a>
+                </span> (
+            $arg as xs:string?
+) as xs:integer*<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#subsequence-2" title=".">subsequence</a>
+                </span> (
+            $sourceSeq as item()*,
+            $startingLoc as xs:double
+) as item()*<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#subsequence-3" title=".">subsequence</a>
+                </span> (
+            $sourceSeq as item()*,
+            $startingLoc as xs:double,
+            $length as xs:double
+) as item()*<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#substring-2" title=".">substring</a>
+                </span> (
+            $sourceString as xs:string?,
+            $start as xs:double
+) as xs:string<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#substring-3" title=".">substring</a>
+                </span> (
+            $sourceString as xs:string?,
+            $start as xs:double,
+            $length as xs:double
+) as xs:string<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#substring-after-2" title=".">substring-after</a>
+                </span> (
+            $arg1 as xs:string?,
+            $arg2 as xs:string?
+) as xs:string<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#substring-after-3" title=".">substring-after</a>
+                </span> (
+            $arg1 as xs:string?,
+            $arg2 as xs:string?,
+            $collation as xs:string
+) as xs:string<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#substring-before-2" title=".">substring-before</a>
+                </span> (
+            $arg1 as xs:string?,
+            $arg2 as xs:string?
+) as xs:string<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#substring-before-3" title=".">substring-before</a>
+                </span> (
+            $arg1 as xs:string?,
+            $arg2 as xs:string?,
+            $collation as xs:string
+) as xs:string<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#sum-1" title=".">sum</a>
+                </span> (
+            $arg as xs:anyAtomicType*
+) as xs:anyAtomicType<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#sum-2" title=".">sum</a>
+                </span> (
+            $arg as xs:anyAtomicType*,
+            $zero as xs:anyAtomicType?
+) as xs:anyAtomicType?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#tail-1" title=".">tail</a>
+                </span> (
+            $arg as item()*
+) as item()*<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#timezone-from-date-1" title=".">timezone-from-date</a>
+                </span> (
+            $arg as xs:date?
+) as xs:dayTimeDuration?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#timezone-from-dateTime-1" title=".">timezone-from-dateTime</a>
+                </span> (
+            $arg as xs:dateTime?
+) as xs:dayTimeDuration?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#timezone-from-time-1" title=".">timezone-from-time</a>
+                </span> (
+            $arg as xs:time?
+) as xs:dayTimeDuration?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#tokenize-2" title=".">tokenize</a>
+                </span> (
+            $input as xs:string?,
+            $pattern as xs:string
+) as xs:string*<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#tokenize-3" title=".">tokenize</a>
+                </span> (
+            $input as xs:string?,
+            $pattern as xs:string,
+            $flags as xs:string
+) as xs:string*<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#trace-2" title=".">trace</a>
+                </span> (
+            $value as item()*,
+            $label as xs:string
+) as item()*<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#translate-3" title=".">translate</a>
+                </span> (
+            $arg as xs:string?,
+            $mapString as xs:string,
+            $transString as xs:string
+) as xs:string<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#true-0" title=".">true</a>
+                </span> (
+
+) as xs:boolean<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#unordered-1" title=".">unordered</a>
+                </span> (
+            $sourceSeq as item()*
+) as item()*<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#unparsed-text-1" title=".">unparsed-text</a>
+                </span> (
+            $href as xs:string?
+) as xs:string?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#unparsed-text-1" title=".">unparsed-text</a>
+                </span> (
+            $href as xs:string?
+) as xs:string?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#unparsed-text-2" title=".">unparsed-text</a>
+                </span> (
+            $href as xs:string?,
+            $encoding as xs:string
+) as xs:string?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#unparsed-text-2" title=".">unparsed-text</a>
+                </span> (
+            $href as xs:string?,
+            $encoding as xs:string
+) as xs:string?<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#unparsed-text-available-1" title=".">unparsed-text-available</a>
+                </span> (
+            $href as xs:string?
+) as xs:boolean<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#unparsed-text-available-1" title=".">unparsed-text-available</a>
+                </span> (
+            $href as xs:string?
+) as xs:boolean<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#unparsed-text-available-2" title=".">unparsed-text-available</a>
+                </span> (
+            $href as xs:string?,
+            $encoding as xs:string
+) as xs:boolean<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#unparsed-text-available-2" title=".">unparsed-text-available</a>
+                </span> (
+            $href as xs:string?,
+            $encoding as xs:string
+) as xs:boolean<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#unparsed-text-lines-1" title=".">unparsed-text-lines</a>
+                </span> (
+            $href as xs:string?
+) as xs:string*<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#unparsed-text-lines-2" title=".">unparsed-text-lines</a>
+                </span> (
+            $href as xs:string?,
+            $encoding as xs:string
+) as xs:string*<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#unparsed-text-lines-2" title=".">unparsed-text-lines</a>
+                </span> (
+            $href as xs:string?,
+            $encoding as xs:string
+) as xs:string*<br />
+                <span class="padding">.</span>
+              </tt>
+            </td>
+          </tr>
+          <tr>
+            <td class="type">
+              <span class="no_underline">
+                <a href="http://www.w3.org/TR/xquery-30/#dt-external-function"; title="external" target="_blank">
+                  <img src="images/External.gif" alt="External" />
+                </a>
+              </span>
+            </td>
+            <td>
+              <tt>
+                <span class="functName">
+                  <a href="#upper-case-1" title=".">upper-case</a>
+                </span> (
+            $arg as xs:string?
+) as xs:string<br />
+                <span class="padding">.</span>
+              </tt>
+        

Follow ups