Sign in
eclipse
/
sourceediting
/
webtools.sourceediting.xpath.tests
/
59e1b2bb09bf041229370edf54afbaf3d2cb743e
/
.
/
tests
/
org.w3c.xqts.testsuite
/
Queries
/
XQuery
/
Functions
/
NodeSeqFunc
/
SeqCollectionFunc
/
fn-collection-9.xq
blob: 49da2fa7392a91d07c56cdca05a55015290f92e8 [
file
] [
log
] [
blame
]
(: Name: fn-collection-9 :)
(: Description: Count the title elements in each document.:)
(: insert-start :)
(: insert-end :)
for
$d
in
fn:collection
()
order
by
count
(
$d
//title)
return
count
(
$d
//title)