Changes

Jump to navigation Jump to search
236 bytes removed ,  21:43, 9 August 2014
no edit summary
|-
| '''Summary'''
| Returns the number of members in the supplied {{Code|$array}}. Note that because an array is an item, the {{Code|fn:count}} function when applied to an array always returns {{Code|1}}.
|-
| '''Examples'''
|-
| '''Summary'''
| Adds one member at the end value of the array. The result is an array whose size is {{Code|array:size($array) + 1insert}}, in which all members in positions {{Code|1}} to {{Code|array:size($array)}} are at the same as the members in the corresponding position end of $array, and the member in position {{Code|array:size($array) + 1}} is {{Code|$insert}}.
|-
| '''Examples'''
|-
| '''Summary'''
| Gets an Constructs a new array containing all with with {{Code|$length}} members of {{Code|$array}} beginning from a supplied array starting at a supplied position, up to a specified lengththe {{Code|$start}} index.<br/>The two-argument version of the function returns the same result as the three-argument version when called with {{Code|$length}} equal to the value of {{Code|array:size($array) - $start + 1}}.
|-
| '''Errors'''
|-
| '''Summary'''
| Constructs Returns a new copy of {{Code|$array }} without the member at the specified {{Code|$index}}.
|-
| '''Errors'''
{| width='100%'
| width='120' | '''Signatures'''
|{{Func|array:insert-before|$array as array(*), $index as xs:integer, $insert member as item()*|array(*)}}
|-
| '''Summary'''
| Constructs Returns a new copy of {{Code|$array by adding }} with one new {{Code|$member }} at a the specified position{{Code|$index}}. Setting {{Code|$index}} to the value {{Code|array:size($array) + 1}} delivers the same result as {{Code|array:append($array, $insert)}}.
|-
| '''Errors'''
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu