Hi,
In the GUI, I couldn't see if all the //al/text() elements were really
displayed as one (1) concatenated objected or just repeated.
Only after importing the result to an R-dataframe, I saw that
//al/text() was displayed as separate elements.
Adding 'fn:string-join($Beurt//al/text(), "")'
Hi
for $Debat at $CountOuter in collection("Parl_Test")
(: where $CountOuter <= 3:)
let $debate-id := fn:analyze-string(
$Debat/officiele-publicatie/metadata/meta/@content,
"(\d{8}-\d*-\d*)")//fn:match/*:group[@nr="1"]/text()
order by $debate-id
for $Beurt at $CountInner in
Are you simply counting the wrong items?
It seems to me you wanted to count:
for $Beurt at $CountInner in $Debat//spreekbeurt
Daniel
-Ursprüngliche Nachricht-
Von: BaseX-Talk Im Auftrag von Ben
Engbers
Gesendet: Mittwoch, 9. März 2022 13:11
An: Basex Mail-lijst
Betreff:
Hi,
I have a collection of 740 documents with the following structure:
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
xsi:noNamespaceSchemaLocation="http://technische-documentatie.oep.overheid.nl/schema/op-xsd-2012-1;>
4 matches
Mail list logo