System.Xml.XmlTextReader
Thread Starter
Scooby Regular
Joined: Nov 2001
Posts: 15,239
Likes: 1
From: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Is there a way of counting elements within this??
Or a for each element in..
Im currently doing:
What I then want to do is see if there are anymore a:href elements in the repsonse stream..
If that makes sense, which I suspect it doesnt..
Im sure its easy but I'm feeling like **** this morning with flu like problems
David
Or a for each element in..
Im currently doing:
Code:
Dim reader As New System.Xml.XmlTextReader(ResponseStream)
With reader
.ReadToFollowing("a:href")
Blah blah..
If that makes sense, which I suspect it doesnt..
Im sure its easy but I'm feeling like **** this morning with flu like problems

David
Suppose you could have created an XPathDocument from the stream , called CreateNavigator on that and call the "Select" method on the navidator to filter the nodes you want.
Then you can do a "While(iter.MoveNext())" over the result set...
Then you can do a "While(iter.MoveNext())" over the result set...


