Bonjour a tous, j'ai un fichier xml de ce type :
je veux juste recuperer ---> profile id="25" dans une listbox
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9 <setting> <profiler id="1" /> - <profile id="25" xmlns=""> <Promote Enable="False" /> <Split ID="Bottom" Height="154" Width="800" /> <Split ID="Left" Height="196" Width="266" /> <Split ID="Right" Height="430" Width="518" /> </profile> </setting>
j'utilise pour cela un xpath mais il me selectionne tout le noeud.
mon XPath="/setting/profiler[@id]/profile[@id]"
ma listebox affiche system.web.ui.webcontrols.xmldatasourcenodedescriptor
Pourriez vous m'aider?
Partager