(: This script will return documents by searching one keyword in their title :)
(: We can assign a Regular Expression to the variable $name :) (: For example, $name := '^NF29_HdocEtherpad$', to search for an exact name:) (: For example, $name := 'NF29', to search for documents whose name contains 'NF29':)
<documents>{ let $name := '^NF29_HdocEtherpad$' for $doc in //document where matches($doc/titre, $name, "i") return $doc }</documents>