Sign in
eclipse
/
sourceediting
/
webtools.sourceediting.xpath.tests
/
59e1b2bb09bf041229370edf54afbaf3d2cb743e
/
.
/
tests
/
org.w3c.xqts.testsuite
/
Queries
/
XQuery
/
Functions
/
ContextFunc
/
ContextLastFunc
/
last-4.xq
blob: 32a68c05eec13e45bac813c8b3e4526366395bc8 [
file
] [
log
] [
blame
]
(: Name: last-4 :)
(: Description: Evaluation of "fn:last" together with "fn:position". :)
(: insert-start :)
declare
variable
$input-context1
external
;
(: insert-end :)
for
$h
in
(
$input-context1
/works)
return
$h
/employee[
position
() =
last
()]