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

Contenu supprimé Contenu ajouté
Ligne 74 :
 
=== Abréviations ===
* Sélection 1 : toutes les <feuille> d'une <brindille> contenue dans une <branche>, enfantdescendant du <tronc>, issu de la racine.
*# Abrégé : /tronc/branche/brindille/feuille
*# Non abrégé : /child::trunktronc/child::bigBranchbranche/child::smallBranchbrindille/child::feuille
* Sélection 2 : Thela <bigBranchbranche> elementsdont withl'attribut ‘name’"nom" attributeest equal to ‘bb3"branche3", thatenfant aredu children of the trunk elementtronc, which is a childinclue ofdans thela rootracine.
*# Abrégé : /trunktronc/bigBranchbranche[@nom=’bb3’’branche3’]
*# Non abrégé : /child::trunktronc/child::bigBranchbranche[attribute::nom=’bb3’’branche3’]
 
[[en:XML - Managing Data Exchange/XPath]]