Changes

Jump to navigation Jump to search
124 bytes added ,  21:15, 20 November 2018
no edit summary
=Positional Access=
==util:item== {{Mark|Updated with Version 9.2}}: Renamed (before: {{Code|util:item-at==}}).
{| width='100%'
|-
| width='120' | '''Signatures'''
|{{Func|util:item-at|$sequence as item()*, $position as xs:double|item()?}}<br/>
|-
| '''Summary'''
| '''Examples'''
|
* <code>util:item-at(reverse(1 to 5), 1)</code> returns <code>5</code>.* <code>util:item-at(('a','b'), 0)</code> returns an empty sequence.
|}
==util:sub== {{Mark|Updated with Version 9.2}}: Renamed (before: {{Code|util:item-range==}}).
{| width='100%'
|-
| width='120' | '''Signatures'''
|{{Func|util:item-rangesub|$sequence as item()*, $first as xs:double, $last as xs:double|item()*}}<br/>
|-
| '''Summary'''
| '''Examples'''
|
* <code>util:item-rangesub(//item, 11, 20)</code> returns all path results from (if available) position 11 to 20.
|}
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu