R
rob willaar
Hi all.
The following xpath select returns three nodes but i want to select only the
node where the 'appupdate' has attribute 'version=01'
There is lotsof info and samples but i can't find the right solution.
Dim Doc As XPathDocument = New XPathDocument(DataUrl)
Dim Nav As XPathNavigator = Doc.CreateNavigator()
Dim Iterator As XPathNodeIterator = Nav.Select("/root/appupdate/srcfile")
While Iterator.MoveNext()
MsgBox(Iterator.Current.Value)
End While
The following xpath select returns three nodes but i want to select only the
node where the 'appupdate' has attribute 'version=01'
There is lotsof info and samples but i can't find the right solution.
Dim Doc As XPathDocument = New XPathDocument(DataUrl)
Dim Nav As XPathNavigator = Doc.CreateNavigator()
Dim Iterator As XPathNodeIterator = Nav.Select("/root/appupdate/srcfile")
While Iterator.MoveNext()
MsgBox(Iterator.Current.Value)
End While