« Programmation XML/XPath » : différence entre les versions

Contenu supprimé Contenu ajouté
Ligne 96 :
! Prédicats !! Notes
|-
|<code>last()</code> || renvoie le dernier nœud de la sélection
|-
|<code>position()</code> || positionrenvoie dule nœud testésitué à la position précisée
|-
|<code>count(ensemble de noeudsnœuds)</code> || renvoie le nombre de noeuds dans l'ensemblenœuds en paramètre
|-
|<code>starts-with(stringchaine1, stringchaine2)</code> || returnsrenvoie "true" ifsi theles firstpremier argument startscommence withavec thele second
|-
|<code>contains(stringchaine1, stringchaine2)</code> || returnsrenvoie "true" ifsi theles firstpremier argument containscontient thele second
|-
|<code>sum(node-setnœuds)</code> || therenvoie sumla ofsomme thedes numericvaleurs valuesnumériques ofdes thenœuds nodesen in the node-setparamètre
|-
|<code>floor(numbernombre)</code> || therenvoie number,le roundednombre downarrondi toà thel'entier nearest integerinférieur
|-
|<code>ceiling(numbernombre)</code> || therenvoie number,le roundednombre uparrondi toà thel'entier nearest integersupérieur
|-
|<code>round(numbernombre)</code> || therenvoie number,le roundednombre toarrondi theà nearestl'entier integerle plus proche
|}