Bonjour

je souhaiterai savoir si il est possible de ne pas sélectionner certain noeud via XPATH

Par exemple, j'ai un fichier avec cette structure:
Code xml : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<progs>
<prog name="prog1">
        <total>
            <tache name="Test" raf="8" conso="0"/>
            <tache name="Conception" raf="10" conso="20"/>
        </total>
        <proj name="proj0001">
            <tache name="Test" raf="3" conso="0"/>
            <tache name="Conception" raf="10" conso="20"/>
        </proj>
        <proj name="proj0002">
            <tache name="test" raf="5" conso="0"/>
            <tache name="Conception" raf="19.1" conso="148.95"/
        </proj>
</prog>
<prog name="prog2">
        <total>
            <tache name="Test" raf="8" conso="0"/>
            <tache name="Conception" raf="10" conso="20"/>
        </total>
        <proj name="proj0001">
            <tache name="Test" raf="3" conso="0"/>
            <tache name="Conception" raf="10" conso="20"/>
        </proj>
        <proj name="proj0002">
            <tache name="test" raf="5" conso="0"/>
            <tache name="Conception" raf="19.1" conso="148.95"/
        </proj>
</prog>
</progs>
Et je voudrai récupérer tout sauf les noeuds proj et leurs contenu