partie/(chapitre|annexe)/paragraphe |
document("truc.xml")/key("...", "...") |
Expression for/return |
for $a in distinct-values(//author) return ( $a, for $b in //book[$b/author = $a] return $b/title ) |
Expression if |
if (@pseudonyme) then @pseudonyme else @nom |
Assertion quantifiée |
some $emp in //employee satisfies ($emp/bonus > 0.25 * $emp/salary) |
Test d'identité |
//book[@isbn = '12345'] == //author[@name='dudule']/book[1] |
Test d'antériorité (ordre de lecture du document) |
//book[@isbn = '12345'] << //book[@isbn = '54321'] |
preceding-sibling::*[1] | Table | following-sibling::*[1] |