System.Xml.XmlTextReader
#1
Scooby Regular
Thread Starter
Join Date: Nov 2001
Location: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Posts: 15,239
Likes: 0
Received 1 Like
on
1 Post
System.Xml.XmlTextReader
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
#3
Scooby Regular
iTrader: (1)
Join Date: Oct 2001
Location: Bristol
Posts: 508
Likes: 0
Received 0 Likes
on
0 Posts
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...