bonjour
voila je voudrais parcourir un fichier xml mais le problème c'est que une ligne bleu apparait sous XPathDocument,XPathNavigator, XPathNodeIterator (type is not defined)
voici une partie du code
j essayé avec un autre méthode mais c'est encore pire:aie:Code:
1
2
3
4 Dim document As XPathDocument = New XPathDocument(XmlSource) Dim navigator As XPathNavigator = document.CreateNavigator() Dim nodesoperation As XPathNodeIterator = navigator.Select("/charg/liv/libel") Dim nodesId As XPathNodeIterator = navigator.Select("/charg/liv/qte")
la il m'afficheCode:
1
2
3 For Each personneElement In xmlDoc.selectNodes("/charg/liv") nom = personneElement.selectSingleNode("libel").text
surCitation:
The targeted version of the .net compact framework does not support latebinding
c'est quoi le probleme parce que la je suis totalement perdu :cry:Code:personneElement.selectSingleNode("libel").text
et merci d'avance