Hi Liam,
this is unusual; for the referenced document, Using .//text(), I get..
Paris: 2485
Cambridge: 1136
London: 2444
Oxford: 1865
boy: 180
…and using ., I get…
Paris: 2484
Cambridge: 1130
London: 2442
Oxford: 1860
boy: 179
I get similar results for CHOP = true and false. Have you tried to
The following query gives me no results:
for $city as xs:string in (Paris, Cambridge, London, Oxford)
return (
$city,
count(/dictionary/letter/entry[.//p//text() contains text {$city}]),
#xa;
)
However, BaseX rewrites it to
for $city as xs:string in (Paris, Cambridge, London, Oxford,
Hi Liam,
The following query gives me no results:
could you pass me on a document for testing? Your query seemed to do
the right thing for the following document:
dictionaryletterentrypParis/p/entry/letter/dictionary
for $city as xs:string in (Paris, Cambridge, London, Oxford, ...)
return
3 matches
Mail list logo