(:Extraction du pratron étiquette Talismane V - DET - NCP :) { for $art in doc('sortietalismane-slurp_3246.txt.xml')//p for $item in $art/item let $pos := $item/a[4]/text() let $next1:= $item/following-sibling::item[1] let $next2:= $item/following-sibling::item[2] where $pos = 'V' and $next1/a[4] = 'DET' and $next2/a[4] = 'NC' return {$item/a[2]/text(),' ',$next1/a[2]/text(),' ',$next2/a[2]/text()} }