Sign in
eclipse
/
sourceediting
/
webtools.sourceediting.xpath.tests
/
59e1b2bb09bf041229370edf54afbaf3d2cb743e
/
.
/
tests
/
org.w3c.xqts.testsuite
/
Queries
/
XQuery
/
UseCase
/
UseCaseXMP
/
xmp-queries-results-q8.xq
blob: afc79f4f928a1e355822ec624d5212bdc16f0f37 [
file
] [
log
] [
blame
]
(: insert-start :)
declare
variable
$input-context
external
;
(: insert-end :)
for
$b
in
$input-context
//book
let
$e
:=
$b
/*[
contains
(
string
(.),
"Suciu"
)
and
ends-with
(
local-name
(.),
"or"
)]
where
exists
(
$e
)
return
<book>
{
$b
/title }
{
$e
}
</book>