(:Extraction du pratron étiquette Tree-tagger NC - P - NC - P :) { for $art in doc('sortie-slurp_3208.xml')//article for $elem in $art/element let $next1 := $elem/following-sibling::element[1] let $next2 := $elem/following-sibling::element[2] let $next3 := $elem/following-sibling::element[3] where $elem/data[1][contains(text(),'NOM')] and $next1/data[1][contains(text(),'PRP')] and $next2/data[1]='NOM' and $next3/data[1][contains(text(),'PRP')] return {$elem/data[3]/text(),' ',$next1/data[3]/text(),' ',$next2/data[3]/text(),' ',$next3/data[3]/text()} }